Template:EntitySubclassPage: Difference between revisions
(Created page with "<!-- define some porperties name for one entity of this class -->{{#vardefine:entity_subclass_name|{{{name|{{PAGENAME}}}}}}}<!-- name for multiple entities of this cl...") |
No edit summary |
||
Line 13: | Line 13: | ||
page of the parent | page of the parent | ||
--> | -->{{#vardefine:entity_subclass_parentpage|{{#ask: [[Category:Entity Classes]] [[class::{{{parent|human}}}]] | ||
|?# | | ?# | ||
| | | mainlabel=- | ||
| | | limit=1 | ||
| | | format=array | ||
}}}}<!-- | |||
}}}} | |||
-->{{EntityClassPage | -->{{EntityClassPage | ||
|id={{{id|ylside}}} | |||
|parent={{{parent|human}}} | |||
|type={{#show: {{#var:entity_subclass_parentpage}} | ?entity type }} | |||
|name={{#var:entity_subclass_name}} | |name={{#var:entity_subclass_name}} | ||
|plural name={{#var:entity_subclass_plural_name}} | |plural name={{#var:entity_subclass_plural_name}} | ||
|description={{#var:entity_subclass_description}} | |description={{#var:entity_subclass_description}} | ||
}} | |script={{{path|{{#show: {{#var:entity_subclass_parentpage}} | ?script name }}}}} | ||
|path={{{path|{{#show: {{#var:entity_subclass_parentpage}} | ?script path }}}}} | |||
}}<noinclude> | |||
== Usage == | |||
Template for entity subclass pages | |||
Parameters: | |||
* <code>id</code> (required) - unique id used to find this entity subclass | |||
* <code>parent</code> (required) - id of the parent entity (sub)class | |||
* <code>name</code> (default: <code><nowiki>{{{PAGENAME}}}</nowiki></code>) - friendly name of the entity subclass | |||
* <code>plural name</code> (default: <code><nowiki>{{{name}}}s</nowiki></code>) - name for multiple of this class | |||
* <code>description</code> (default: <code><nowiki>description_{{{id|chicken}}}</nowiki></code>) - key for the localised entity class description | |||
* <code>script</code> (default: script name of parent class) - script name for this entity class | |||
* <code>path</code> (default: script path of parent class) - script path for this entity class |
Revision as of 06:03, 8 March 2013
[[script name::<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>| ]][[script path::<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>| ]]
Description | |
---|---|
Parent class | |
Type | |
ID | ylside |
Script name | <ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul> |
Script path | <ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul> |
EntitySubclassPage are a type of Human.
{{EntityClassPage_category_<ul><li>The symbol "[[" was used in a place where it is not useful.</li> <!--br--><li>The part "]]" of the query was not understood.Results might not be as expected.</li></ul>}}
There are the following subtypes of EntitySubclassPage:
Notable EntitySubclassPage
The following EntitySubclassPage entities exist:
- Ylside Guard -
human_base_0069
Usage
Template for entity subclass pages
Parameters:
id
(required) - unique id used to find this entity subclassparent
(required) - id of the parent entity (sub)classname
(default:{{{PAGENAME}}}
) - friendly name of the entity subclassplural name
(default:{{{name}}}s
) - name for multiple of this classdescription
(default:description_{{{id|chicken}}}
) - key for the localised entity class descriptionscript
(default: script name of parent class) - script name for this entity classpath
(default: script path of parent class) - script path for this entity class