Template:EntityClassPage: Difference between revisions
Jump to navigation
Jump to search
EntityClassPage entity class
No edit summary |
No edit summary |
||
Line 73: | Line 73: | ||
-->{{{1|}}} | -->{{{1|}}} | ||
<!-- | <!-- | ||
-->{{#ifeq:|{{#show: {{FULLPAGENAME}} | ?entity id }}|<!-- | |||
-->{{#arraydefine:entity_class_instances|{{#ask: [[Category:Entities]] [[class::{{{class|guard}}}]] | ?# | mainlabel=- | limit=1000 | format=array}}}}<!-- | |||
-->{{#ifeq:0|{{#arraysize:entity_class_instances}}|| | |||
=== Known {{#var:entity_class_plural_name}} === | |||
<p> | |||
There are the following subtypes of {{#var:entity_class_plural_name}}: | |||
<ul> | |||
{{#arrayprint:entity_class_instances||@entity|<li>[[@entity]]}} | |||
</ul> | |||
</p> | |||
|}}|}}<!-- | |||
-->{{#arraydefine:spawining_spells|{{#ask: [[Category:Spells]] [[spawns entity class::{{{id}}}]] | ?# | mainlabel=- | limit=1000 | format=array}}}}<!-- | -->{{#arraydefine:spawining_spells|{{#ask: [[Category:Spells]] [[spawns entity class::{{{id}}}]] | ?# | mainlabel=- | limit=1000 | format=array}}}}<!-- | ||
Line 84: | Line 97: | ||
</p> | </p> | ||
}}<!-- | }}<!-- | ||
--></includeonly><noinclude> | --></includeonly><noinclude> |
Revision as of 03:08, 20 July 2013
Description | |
---|---|
Type | |
ID | chicken |
Script name | chicken_base |
Script path | npc/chicken_base |
Usage
Template for entity class pages
Parameters:
id
(required) - unique id used to find this entity classtype
(required) - entity type for this class - see Property:entity typename
(default:{{{PAGENAME}}}
) - friendly name of the entity classplural name
(default:{{{name}}}s
) - name for multiple of this classdescription
(default:description_{{{id|chicken}}}
) - key for the localised entity class descriptionscript
(default:{{{id}}}
) - script name for this entity classpath
- script path for this entity class - default depends on type:npc
:npc/{{{script}}}