Template:EntitySubclassPage: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
m (Fix SMW syntax)
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
   page of the parent
   page of the parent
   -->{{#vardefine:entity_subclass_parentpage|{{#ask: [[Category:Entity Classes]] [[class::{{{parent|human}}}]]
   -->{{#vardefine:entity_subclass_parentpage|{{#ask: [[Category:Entity Classes]] [[class::{{{parent|human}}}]]
| ?#
| ?=#
| mainlabel=-
| mainlabel=-
| limit=1
| limit=1
Line 32: Line 32:
|script={{{path|{{#show: {{#var:entity_subclass_parentpage}} | ?script name }}}}}
|script={{{path|{{#show: {{#var:entity_subclass_parentpage}} | ?script name }}}}}
|path={{{path|{{#show: {{#var:entity_subclass_parentpage}} | ?script path }}}}}
|path={{{path|{{#show: {{#var:entity_subclass_parentpage}} | ?script path }}}}}
|scripttype={{#var:entity_subclass_scripttype}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>



Latest revision as of 11:49, 27 October 2019


Usage

Template for entity subclass pages

See Template:EntityClassPage.

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
  • scripttype (default: script type of parent class) - script £type for this entity class