From The Mana World
(Added documentation) |
(Updated documentation) |
||
Line 14: | Line 14: | ||
Copy the following code into your page. | Copy the following code into your page. | ||
== Normal NPC == | |||
<pre>{{NPC | |||
|Name = EJlol | |||
|Image = [[Image:Image.png]] | |||
|Gender = Male | |||
|Race = [[Human]] | |||
|Location = Earth | |||
}} | |||
</pre> | |||
By adding <code>Shop = yes</code> the NPC will get the Shop category. | |||
< | == Object NPC == | ||
<pre>{{NPC | |||
|Name = EJlol's bag | |||
|Image = [[Image:Image.png]] | |||
|Object = Yes | |||
|Location = Earth | |||
|Owner = EJlol | |||
}} | |||
</pre> | |||
By adding <code>Shop = yes</code> the NPC will get the Shop category. | |||
== Lore NPC == | |||
<pre>{{NPC | |||
|Name = EJlol | |Name = EJlol | ||
|Image = [[Image:Image.png]] | |Image = [[Image:Image.png]] | ||
|Gender = Male | |Gender = Male | ||
|Race = [[Human]] | |Race = [[Human]] | ||
| | |Lore = Yes | ||
}} | }} | ||
</ | </pre> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 07:01, 9 July 2020
This is the main template that is to be used for NPCs documentation.
Translated templates are named .Xy:NPC where Xy is the standard abbreviation of language.
example: Template:.De:NPC
Note: {{I18n}} Template does not direct to translated template.
Usage:
Copy the following code into your page.
Normal NPC
{{NPC |Name = EJlol |Image = [[Image:Image.png]] |Gender = Male |Race = [[Human]] |Location = Earth }}
By adding Shop = yes
the NPC will get the Shop category.
Object NPC
{{NPC |Name = EJlol's bag |Image = [[Image:Image.png]] |Object = Yes |Location = Earth |Owner = EJlol }}
By adding Shop = yes
the NPC will get the Shop category.
Lore NPC
{{NPC |Name = EJlol |Image = [[Image:Image.png]] |Gender = Male |Race = [[Human]] |Lore = Yes }}