Template:Npc: Difference between revisions

From Regnum Online Wiki
Jump to navigation Jump to search
ROWiki>Onteron
New page: <onlyinclude><includeonly>{{#ifexpr: {{qd | {{{data|}}} | 1 | {{{realm}}} }} and {{qd | {{{data|}}} | 2 | {{{area}}} }} and {{qd | {{{data|}}} | 3 | {{{professi...
 
m 25 revisions imported
 
(27 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{{#ifexpr:  
<!--
    {{qd | {{{data|}}} | 1 | {{{realm}}}     }} and
1. format
    {{qd | {{{data|}}} | 2 | {{{area}}}       }} and
2. name
    {{qd | {{{data|}}} | 3 | {{{profession}}} }}
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 }}


    | {{#ifeq: {{#explode:{{{data|full}}}|;|0}} | field
===List item mode===
 
{{NPC|list|Adilan|Ignis|Nasraah Tej Village|Weaponsmith|4780|865}}
        | <!-- To be implemented: returning a single field value -->
 
        | {{npc/{{#explode:{{{data|full}}}|;|0}}
            | data =  {{{data}}}  | name = {{{name}}}
            | realm = {{{realm}}} | area = {{{area}}}
            | profession = {{{profession}}}
            | x =    {{{x}}}    | z =    {{{z}}}
          }}
      }}
 
}}</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)