Difference between revisions of "Template:ARR Infobox NPC"

Line 16: Line 16:
 
{{!}}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>}}}}}}}}
 
{{!}}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%;" {{!}}{{color|white|Affiliation:}}
 
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em;font-weight:bold;"{{!}}{{#switch:{{{Affiliation|}}}|Limsa-Lominsa|l|L|Limsa-lominsa|limsa-lominsa|limsa lominsa|Limsa lominsa|Limsa-Lominsa|Limsa Lominsa = {{dl|Limsa Lominsa}}|ishgard|i|I|Ishgard= {{dl|Ishgard}}|gridania|g|G|Gridania = {{dl|Gridania}}|ul'dah|Uldah|u|U|uldah| Ul'dah = {{dl|Ul'dah}}|Ala Mhigo|ala mhigo = {{dl|Ala Mhigo}}|Garlemald|garlemald = {{dl|Garlemald}}|#default = {{{Affiliation}}}}}
 
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em;font-weight:bold;"{{!}}{{#switch:{{{Affiliation|}}}|Limsa-Lominsa|l|L|Limsa-lominsa|limsa-lominsa|limsa lominsa|Limsa lominsa|Limsa-Lominsa|Limsa Lominsa = {{dl|Limsa Lominsa}}|ishgard|i|I|Ishgard= {{dl|Ishgard}}|gridania|g|G|Gridania = {{dl|Gridania}}|ul'dah|Uldah|u|U|uldah| Ul'dah = {{dl|Ul'dah}}|Ala Mhigo|ala mhigo = {{dl|Ala Mhigo}}|Garlemald|garlemald = {{dl|Garlemald}}|#default = {{{Affiliation}}}}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em; font-weight:bold; width: 20%;" {{!}}Occupation:
+
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em; font-weight:bold; width: 20%;" {{!}}{{color|white|Occupation:}}
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em; font-weight:bold;"{{!}}{{#switch:{{{Occupation|}}}|merchant|shopkeeper|shopkeeper|Merchant = [[:Category:Merchants|Merchant]]|Guild Merchant = [[:Category:Guild Merchants|Guild Merchant]]|Guardian|guardian = [[:Category:{{{Occupation}}}s|{{{Occupation}}}]]|#default = [[{{{Occupation}}}]]}}
+
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em; font-weight:bold;"{{!}}{{#switch:{{{Occupation|}}}|merchant|shopkeeper|shopkeeper|Merchant = [[:Category:Merchants|Merchant]]|Guild Merchant = [[:Category:Guild Merchants|Guild Merchant]]|Guardian|guardian = [[:Category:{{{Occupation}}}s|{{{Occupation}}}]]|#default = {{dl|{{{Occupation}}}}}}}
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="10" style="height: 1ex;" {{!}}<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #969696;" ></div>
 
{{!}}colspan="10" style="height: 1ex;" {{!}}<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #969696;" ></div>

Revision as of 21:41, 26 June 2013

{{{Name}}}
  
Shopicon.png
[[File:{{{Image}}}]]
Zones:
Affiliation: {{{Affiliation}}}
Occupation: Template:Dl
{{{Dialogue}}}



Notes
Divider3.png

</includeonly>