Difference between revisions of "Template:ARR Infobox NPC"

Line 1: Line 1:
{{{!}} class="itembox" cellpadding="0" width="100%" cellspacing="0" border="0"  
+
{{{!}} class="itembox" cellpadding="0" width="100%" cellspacing="0" border="1"  
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="1" rowspan="1" {{!}}<div style="text-align:center; font-size:{{#ifexpr: {{#len:{{{Level}}}}} > 3|9px|12px}}; width:40px; height:40px; padding: 1px; float:center; background-color:#000000; border:1px solid #000000; -moz-border-radius: 100px; -webkit-border-radius: 100px; -khtml-border-radius: 100px; border-radius: 100px;" ><div style="height: {{#ifexpr: {{#len:{{{Level}}}}} > 3|2ex|1.5ex}};"></div>&thinsp;{{color|white|Lv.}}&thinsp;{{color|white|{{{Level|}}}}}</div>
 
{{!}}colspan="1" rowspan="1" {{!}}<div style="text-align:center; font-size:{{#ifexpr: {{#len:{{{Level}}}}} > 3|9px|12px}}; width:40px; height:40px; padding: 1px; float:center; background-color:#000000; border:1px solid #000000; -moz-border-radius: 100px; -webkit-border-radius: 100px; -khtml-border-radius: 100px; border-radius: 100px;" ><div style="height: {{#ifexpr: {{#len:{{{Level}}}}} > 3|2ex|1.5ex}};"></div>&thinsp;{{color|white|Lv.}}&thinsp;{{color|white|{{{Level|}}}}}</div>
Line 13: Line 13:
 
{{#if:{{{Patch|}}}|<div style="float:right;font-size:9px;"><sup>[[Patch {{{Patch}}}]][[Category:Patch {{{Patch}}}]]</sup></div>}}
 
{{#if:{{{Patch|}}}|<div style="float:right;font-size:9px;"><sup>[[Patch {{{Patch}}}]][[Category:Patch {{{Patch}}}]]</sup></div>}}
 
{{!}}-
 
{{!}}-
{{!}}valign="top" colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}Zones:  
+
{{!}}valign="top" colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}{{color|white|style=normal|Zones:}}
{{!}}valign="top" colspan="6" style="padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 40%;"{{!}}{{#forargs:Zone| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{dl|{{{Zone {{#var:ik}}|}}}}} [[Category:{{{Zone {{#var:ik}} Location|}}} NPC]][[Category:{{{Zone {{#var:ik}}|}}} NPC]]{{#if:{{{Zone {{#var:ik}} Location|}}}|&nbsp;-&nbsp;{{dl|{{{Zone {{#var:ik}} Location|}}}}}|}}{{#if:{{{Zone {{#var:ik}} Coordinates|}}}|&nbsp;({{{Zone {{#var:ik}} Coordinates|}}})|}}{{#if:{{{Zone {{#var:ik}} Level|}}}|&nbsp;(Lv. {{{Zone {{#var:ik}} Level|}}})<br>|<br>}}}}}}}}
+
{{!}}valign="top" colspan="6" style="padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 40%;"{{!}}{{#forargs:Zone| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{dl|{{{Zone {{#var:ik}}|}}}}} [[Category:{{{Zone {{#var:ik}} Location|}}} NPC]][[Category:{{{Zone {{#var:ik}}|}}} NPC]]{{#if:{{{Zone {{#var:ik}} Location|}}}|&nbsp;-&nbsp;{{dl|{{{Zone {{#var:ik}} Location|}}}}}|}}{{#if:{{{Zone {{#var:ik}} Coordinates|}}}|&nbsp;{{color|white|style=normal|({{{Zone {{#var:ik}} Coordinates|}}})}}|}}{{#if:{{{Zone {{#var:ik}} Level|}}}|&nbsp;{{color|white|style=normal|(Lv. {{{Zone {{#var:ik}} Level|}}})}}<br>|<br>}}}}}}}}
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}Affiliation:
 
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}Affiliation:

Revision as of 20:59, 26 June 2013

'Lv.'
{{{Name}}}
  
Shopicon.png
[[File:{{{Image}}}]]
Zones:
Affiliation: {{{Affiliation}}}
Occupation: [[{{{Occupation}}}]]

below the box

  • merchant sales
  • dialogue
  • etymology
  • notes

</includeonly>