Template:EntityClassPage: Difference between revisions

From Arx Libertatis Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 56: Line 56:
<tr>
<tr>
<th scope="row" style="text-align: left">Script £type</th>
<th scope="row" style="text-align: left">Script £type</th>
<td><center><code>[[script type::{{{scripttype}}}]]</code></center></td>
<td><center><code>[[script type::{{{scripttype}}}| ]]{{{scripttype}}}</code></center></td>
</tr>
</tr>
}}
}}
Line 140: Line 140:
* <code>path</code> - script path for this entity class - default depends on type:
* <code>path</code> - script path for this entity class - default depends on type:
** <code>npc</code>: <code><nowiki>npc/{{{script}}}</nowiki></code>
** <code>npc</code>: <code><nowiki>npc/{{{script}}}</nowiki></code>
* <code>scripttype</code> script £type for this entity class

Revision as of 05:31, 18 January 2018

EntityClassPage entity class
Description
A chicken. [e]
Type
NPC
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 class
  • type (required) - entity type for this class - see Property:entity type
  • name (default: {{{PAGENAME}}}) - friendly name of the entity class
  • 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: {{{id}}}) - script name for this entity class
  • path - script path for this entity class - default depends on type:
    • npc: npc/{{{script}}}
  • scripttype script £type for this entity class