Template:EntityClassPage: Difference between revisions
Jump to navigation
Jump to search
EntityClassPage entity class
No edit summary |
No edit summary |
||
Line 60: | Line 60: | ||
--> | --> | ||
{{#if:{{{parent|}}}|{{#var:entity_class_plural_name}} are a type of {{EntityClass|{{{parent}}}}}.}} | {{#if:{{{parent|}}}|<p>{{#var:entity_class_plural_name}} are a type of {{EntityClass|{{{parent}}}}}.</p>}} | ||
{{EntityClassPage_category_{{{type|npc}}}}}<!-- | {{EntityClassPage_category_{{{type|npc}}}}}<!-- | ||
-->{{#arraydefine:entity_subclasses|{{#ask: [[Category:Entity Classes]] [[parent class::{{{id}}}]] | ?class= | mainlabel=- | limit=1000 | format=array}}}}<!-- | -->{{#arraydefine:entity_subclasses|{{#ask: [[Category:Entity Classes]] [[parent class::{{{id}}}]] | ?class= | mainlabel=- | limit=1000 | format=array}}}}<!-- | ||
-->{{#ifeq:0|{{#arraysize:entity_subclasses}}| | -->{{#ifeq:0|{{#arraysize:entity_subclasses}}||<p> | ||
There are the following subtypes of {{#var:entity_class_plural_name}}: | There are the following subtypes of {{#var:entity_class_plural_name}}: | ||
<ul> | <ul> | ||
{{#arrayprint:entity_subclasses||@class|<li>{{EntityClass|@class}}}} | {{#arrayprint:entity_subclasses||@class|<li>{{EntityClass|@class}}}} | ||
</ul> | </ul> | ||
}} | </p> | ||
}}<!-- | |||
{{{1|}}} | -->{{{1|}}} | ||
<!-- | <!-- | ||
Line 76: | Line 77: | ||
-->{{#ifeq:0|{{#arraysize:spawining_spells}}|| | -->{{#ifeq:0|{{#arraysize:spawining_spells}}|| | ||
=== Summon spells === | === Summon spells === | ||
<p> | |||
{{#var:entity_class_plural_name}} can be created with the following spells: | {{#var:entity_class_plural_name}} can be created with the following spells: | ||
<ul> | <ul> | ||
{{#arrayprint:spawining_spells||@spell|<li>{{Spell|@spell}}}} | {{#arrayprint:spawining_spells||@spell|<li>{{Spell|@spell}}}} | ||
</ul> | </ul> | ||
}}<!-- | }}</p><!-- | ||
Revision as of 09:47, 8 March 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}}}