Template:Npc: Difference between revisions
Jump to navigation
Jump to search
ROWiki>Erica conjurer m testing conditional, evaluating true, just to see if it works |
ROWiki>Erica conjurer m adding in conditional for boltar |
||
Line 32: | Line 32: | ||
| {{localurl: {{{area}}} }} = count | | {{localurl: {{{area}}} }} = count | ||
| {{localurl: NPC List }} = listitem | | {{localurl: NPC List }} = listitem | ||
| #default = {{#ifexpr: 1 | tablerow | {{#explode: {{{1|listitem}}} | ; | 0 }} }} | | #default = {{#ifexpr: {{#ifeq: {{{name}}} | Boltar | 1 | 0}} and {{#ifeq: {{PAGENAME}} | Syrtis NPC Table | 1 | 0}} | ||
| tablerow | {{#explode: {{{1|listitem}}} | ; | 0 }} }} | |||
}} | }} |
Revision as of 15:51, 28 December 2010
To add a NPC article, just type the name of the NPC in the box and press create:
<createbox>
preload=Project:Preload Templates/NPC/Content editintro=Project:Preload Templates/NPC/Intro buttonlabel=Create width=50 break=no </createbox> |
Alternatively copy the following into a new article and fill in the parameters:
<onlyinclude>{{npc | {{{1|}}} | name = {{subst:PAGENAME}} | image = | realm = | area = | profession = | x = | z = | class = | race = | sex = <noinclude> | info = <!-- Type the character article here --> </noinclude>}}</onlyinclude>