Template:Npc: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
No edit summary
ROWiki>Onteron
fixing for areas with ' in their names
Line 28: Line 28:
     {{qd | {{{data| {{{1|}}} }}} | 3 | {{{profession}}} }}
     {{qd | {{{data| {{{1|}}} }}} | 3 | {{{profession}}} }}


     | {{npc/{{#switch:{{PAGENAME}}
     | {{npc/{{#switch:{{PAGENAMEE}}
               | {{{area}}} NPCs
               | {{urlencode:{{{area}}} NPCs}}
               | {{{realm}}} NPC table = tablerow
               | {{{realm}}}_NPC_table = tablerow
               | {{{name}}} = full
               | {{urlencode:{{{name}}}}} = full
               | {{{area}}} = count
               | {{urlencode:{{{area}}}}} = count
               | NPC list = listitem
               | NPC_list = listitem
               | {{{area}}} map = map
               | {{urlencode:{{{area}}} map}} = map
               | {{{area}}} map svg = svg
               | {{urlencode:{{{area}}} map svg}} = svg
               | #default = {{#explode: {{{1|listitem}}} | ; | 0 }}
               | #default = {{#explode: {{{1|listitem}}} | ; | 0 }}
             }}
             }}

Revision as of 00:38, 25 November 2008

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}}

  | realm = 
  | area = 
  | x =     | z = 
  | profession = 
  | class = 
  | race = 
  | sex = 
  | level = 

<noinclude>

  | info = <!-- Type the character article here -->

</noinclude>}}</onlyinclude>