Template:Npc: Difference between revisions
Jump to navigation
Jump to search
ROWiki>G.Slack No edit summary |
ROWiki>Erica conjurer m Testing different conditional for boltar |
||
Line 32: | Line 32: | ||
| {{localurl: {{{area}}} }} = count | | {{localurl: {{{area}}} }} = count | ||
| {{localurl: NPC List }} = listitem | | {{localurl: NPC List }} = listitem | ||
| #default = {{#explode: {{{1|listitem}}} | ; | 0 }} | | #default = {{#ifexpr: | ||
{{#ifeq: {{{name}}} | Boltar | 1 | 0}} and | |||
{{#ifeq: {{localurl: {{PAGENAME}}}} | Syrtis NPC Table | 1 | 0 }} }} | |||
| tablerow | {{#explode: {{{1|listitem}}} | ; | 0 }} | |||
}} | |||
}} | }} | ||
| {{{1| {{{data|}}} }}} | | | {{{1| {{{data|}}} }}} | |
Revision as of 15:40, 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>