Template:Npc: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Erica conjurer
m removed extra set of braces
ROWiki>Erica conjurer
No edit summary
Line 34: Line 34:
               | #default = {{#ifexpr:
               | #default = {{#ifexpr:
                               {{#ifeq: {{{name}}} | Boltar | 1 | 0}} and
                               {{#ifeq: {{{name}}} | Boltar | 1 | 0}} and
                               {{#ifeq: {{localurl: {{PAGENAME}}}} | Syrtis NPC Table | 1 | 0 }}
                               {{#ifeq: {{localurl: {{PAGENAME}}}} | {{localurl: Syrtis NPC Table }} | 1 | 0 }}
                               | tablerow | {{#explode: {{{1|listitem}}} | ; | 0 }}
                               | tablerow | {{#explode: {{{1|listitem}}} | ; | 0 }}
                             }}
                             }}

Revision as of 15:44, 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>