Template:EntitySubclassPage: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
(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
   --><!-- TODO {{#vardefineecho:entity_subclass_parentpage|{{#ask: [[Category:Entity Classes]] [[class::{{{parent|human}}}]]
   -->{{#vardefine:entity_subclass_parentpage|{{#ask: [[Category:Entity Classes]] [[class::{{{parent|human}}}]]
|?#=page
| ?#
|?Name=text
| mainlabel=-
|?Description=message
| limit=1
|offset=0
| format=array
|limit=1
}}}}<!--
}}}}--><!--


-->{{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}}
|id={{{id|ylside}}}
|parent={{{parent|human}}}
|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>| ]]

EntitySubclassPage entity class
Description
An Ylside. [e]
Parent class
Human
Type
[[entity type::<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>| ]]{{EntityClassPage_type_<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>}}
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:

Usage

Template for entity subclass pages

Parameters:

  • id (required) - unique id used to find this entity subclass
  • parent (required) - id of the parent entity (sub)class
  • name (default: {{{PAGENAME}}}) - friendly name of the entity subclass
  • plural name (default: {{{name}}}s) - name for multiple of this class
  • description (default: description_{{{id|chicken}}}) - key for the localised entity class description
  • script (default: script name of parent class) - script name for this entity class
  • path (default: script path of parent class) - script path for this entity class