Template:Npc: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
m 2nd attempt
ROWiki>Onteron
m fixed "race" not being passed to subtemplates
Line 43: Line 43:
         | x =    {{{x}}}    | z =    {{{z}}}
         | x =    {{{x}}}    | z =    {{{z}}}
         | profession = {{{profession}}}  
         | profession = {{{profession}}}  
         | race =             | class = {{{class|}}}
         | race = {{{race|}}} | class = {{{class|}}}
         | sex =  {{{sex|}}}  | level = {{{level|}}}
         | sex =  {{{sex|}}}  | level = {{{level|}}}
       }}  
       }}  
   }}<!--
   }}<!--
--></includeonly></onlyinclude>
--></includeonly></onlyinclude>

Revision as of 12:44, 3 December 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>