Template:Npc: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Erica conjurer
No edit summary
m 25 revisions imported
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{new npc box}}
<!--
1. format
2. name
3. realm
4. town
5. profession
6. x
7. z
--><onlyinclude><includeonly>{{#switch: {{{format|{{{1}}}}}} <!--
-->| list =<!--
--><span style="display: inline-block; width: 15ex"> <!--
-->    [[{{{name|{{{2}}}}}}]] </span> <!--
--> <span style="display: inline-block; width: 20ex"> <!--
-->    [[{{{profession|{{{5}}}}}}]] </span> <!--
--> ( {{{x|{{{6}}}}}}, {{{z|{{{7}}}}}}) <!--
-->|
* '''[[Realm]]''': [[{{{realm|{{{3}}}}}}]]
* '''Town''': [[{{{town|{{{4}}}}}}]]
* '''[[Profession]]''': [[{{{profession|{{{5}}}}}}]]
* '''[[Location]]''': {{{x|{{{6}}}}}}, {{{z|{{{7}}}}}} <!--
-->}} </includeonly></onlyinclude>


===Normal (full) mode===
{{NPC|name=Adilan |realm=Ignis |town=Nasraah Tej Village |profession=Weaponsmith |x=4780 |z=865 }}


Alternatively copy the following into a new article and fill in the parameters:
===List item mode===
 
{{NPC|list|Adilan|Ignis|Nasraah Tej Village|Weaponsmith|4780|865}}
<pre>
&lt;onlyinclude&gt;{{npc | {{{1|}}} | name = {{subst:PAGENAME}}
  | image      =
  | realm      =  
  | area      =
  | profession =
  | x =  | z =
  | class      =
  | race      =
  | sex        =
 
&lt;noinclude&gt;
  | info = <!-- Type the character article here -->
 
&lt;/noinclude&gt;}}&lt;/onlyinclude&gt;
</pre>
<onlyinclude><includeonly><!--
-->{{#ifexpr:
    {{qd | {{{data| {{{1|}}} }}} | 1 | {{{realm}}}      }}  and
    {{qd | {{{data| {{{1|}}} }}} | 2 | {{{area}}}      }}  and
    {{qd | {{{data| {{{1|}}} }}} | 3 | {{{profession}}} }}
 
    | {{npc/{{#switch: {{localurl: {{PAGENAME}} }}
              | {{localurl: {{{area}}} NPCs }}
              | {{localurl: {{{realm}}} NPC Table }} = tablerow
              | {{localurl: {{{name}}} }} = full
              | {{localurl: {{{area}}} }} = count
              | {{localurl: NPC List }} = listitem
              | #default = {{#ifexpr:
                              {{#ifeq: {{{name}}} | Boltar | 1 | 0}} and
                              {{#ifeq: {{localurl: {{PAGENAME}}}} | {{localurl: Syrtis NPC Table }} | 1 | 0 }}
                              | tablerow | {{#explode: {{{1|listitem}}} | ; | 0 }}
                            }}
            }}
        | {{{1| {{{data|}}} }}} |
        | data =  {{{data| {{{1|}}} }}} | name = {{{name}}}
        | image = {{{image}}}
        | realm = {{{realm}}} | area = {{{area}}}
        | x =    {{{x}}}    | z =    {{{z}}}
        | profession = {{{profession}}}
        | race =  {{{race|}}} | class = {{{class|}}}
        | sex =  {{{sex|}}}  | level = {{{level|}}}
        | info =  {{{info|}}}
      }}
  }}<!--
--></includeonly></onlyinclude>

Latest revision as of 18:28, 6 November 2020


Normal (full) mode

[edit source]

List item mode

[edit source]

Adilan Weaponsmith ( 4780, 865)