Template:Npc: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
modified
ROWiki>Onteron
modified parameters
Line 1: Line 1:
<pre>
<pre>
{{npc | name = {{subst:PAGENAME}} | data = {{{1|}}}
&lt;onlyinclude&gt;{{npc | {{{1|}}} | name = {{subst:PAGENAME}}
 
   | realm =  
   | realm =  
   | area =  
   | area =  
   | x =    | z =  
   | x =    | z =  
   | profession =  
   | profession =  
   | class =
   | class =  
   | race =
   | race =  
   | sex =
   | sex =  
   | level =
   | level =  
}}
 
&lt;noinclude&gt;
 
  | info = <!-- Type the character article here -->
 
&lt;/noinclude&gt;}}&lt;/onlyinclude&gt;
</pre>
</pre>
<onlyinclude><includeonly><!--
<onlyinclude><includeonly><!--
-->{{#ifexpr:  
-->{{#ifexpr:  
     {{qd | {{{data|}}} | 1 | {{{realm}}}      }}  and  
     {{qd | {{{data| {{{1|}}} }}} | 1 | {{{realm}}}      }}  and  
     {{qd | {{{data|}}} | 2 | {{{area}}}      }}  and  
     {{qd | {{{data| {{{1|}}} }}} | 2 | {{{area}}}      }}  and  
     {{qd | {{{data|}}} | 3 | {{{profession}}} }}
     {{qd | {{{data| {{{1|}}} }}} | 3 | {{{profession}}} }}


     | {{#ifeq: {{#explode:{{{data|full}}}|;|0}} | field
     | {{#ifeq: {{#explode:{{{data| {{{1|full}}} }}}|;|0}} | field


         | <!-- To be implemented: returning a single field value -->  
         | <!-- To be implemented: returning a single field value -->  
Line 30: Line 36:
                   | #default = listitem
                   | #default = listitem
                 }}
                 }}
             | data =  {{{data|}}} | name = {{{name}}}
            | {{{1| {{{data|}}} }}} |
             | data =  {{{data| {{{1|}}} }}} | name = {{{name}}}
             | realm = {{{realm}}} | area = {{{area}}}  
             | realm = {{{realm}}} | area = {{{area}}}  
             | x =    {{{x}}}    | z =    {{{z}}}
             | x =    {{{x}}}    | z =    {{{z}}}

Revision as of 19:52, 3 November 2008

<onlyinclude>{{npc | {{{1|}}} | name = {{subst:PAGENAME}}

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

<noinclude>

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

</noinclude>}}</onlyinclude>