Difference between revisions of "Template:ARR Infobox NPC"

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="3" 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%;" {{!}}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;({{{Zone {{#var:ik}} Location|}}})|}}{{#if:{{{Zone {{#var:ik}} Coordinates|}}}|&nbsp;({{{Zone {{#var:ik}} Coordinates|}}})<br>|<br>}}}}}}}}
+
{{!}}valign="top" colspan="8" 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;({{{Zone {{#var:ik}} Location|}}})|}}{{#if:{{{Zone {{#var:ik}} Coordinates|}}}|&nbsp;({{{Zone {{#var:ik}} Coordinates|}}})<br>|<br>}}}}}}}}
 
{{!}}colspan="1" style="padding:0em 0.3em 0em 0.3em;font-weight:bold;"{{!}}
 
{{!}}colspan="1" style="padding:0em 0.3em 0em 0.3em;font-weight:bold;"{{!}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="3" 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:
{{!}}colspan="7" 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 = [[Limsa Lominsa]]|ishgard|i|I|Ishgard= [[Ishgard]]|gridania|g|G|Gridania = [[Gridania]]|ul'dah|Uldah|u|U|uldah| Ul'dah = [[Ul'dah]]|Ala Mhigo|ala mhigo = [[Ala Mhigo]]|Garlemald|garlemald = [[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 = [[Limsa Lominsa]]|ishgard|i|I|Ishgard= [[Ishgard]]|gridania|g|G|Gridania = [[Gridania]]|ul'dah|Uldah|u|U|uldah| Ul'dah = [[Ul'dah]]|Ala Mhigo|ala mhigo = [[Ala Mhigo]]|Garlemald|garlemald = [[Garlemald]]|#default = {{{Affiliation}}}}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="3" 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%;" {{!}}Occupation:
{{!}}colspan="7" 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 = [[{{{Occupation}}}]]}}
 
{{!}}-
 
{{!}}-
 
{{!}}style="height: 1ex;" colspan="10" {{!}}<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #969696;" ></div>
 
{{!}}style="height: 1ex;" colspan="10" {{!}}<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #969696;" ></div>

Revision as of 03:28, 26 June 2013

'Lv.'
{{{Name}}}
  
1
[[File:{{{Image}}}]]
Zones:
Affiliation: {{{Affiliation}}}
Occupation: [[{{{Occupation}}}]]
{{{Dialogue}}}

[[Category:{{{Acquired}}} Actions]] [[Category:{{{Type}}}]]</includeonly>