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>}}
 
{{!}}-
 
{{!}}-
{{#if:{{{Zones|}}}|
 
 
{{!}}colspan="3" style="padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}Zones:  
 
{{!}}colspan="3" style="padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}Zones:  
 
{{!}}colspan="6" style="padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 40%;"{{!}}{{#arraydefine:zones|{{{Zones}}}}}{{#arrayprint:zones|<br/>|@@@@|[[@@@@]]}}
 
{{!}}colspan="6" style="padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 40%;"{{!}}{{#arraydefine:zones|{{{Zones}}}}}{{#arrayprint:zones|<br/>|@@@@|[[@@@@]]}}
{{!}}colspan="1" style="padding:0em 0.3em 0em 0.3em;font-weight:bold;"{{!}}{{#arraydefine:Coordinates|{{{Coordinates|}}}}}{{#arrayprint:Coordinates|<br/>|@@@@|(@@@@)}}
+
{{!}}colspan="1" style="padding:0em 0.3em 0em 0.3em;font-weight:bold;"{{!}}{{#arraydefine:coordinates|{{{Coordinates|}}}}}{{#arrayprint:coordinates|<br/>|@@@@|(@@@@)}}
 
{{!}}-
 
{{!}}-
}}
+
{{!}}colspan="3" style="padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}Affiliation:
{{!}}colspan="3" style="font-size:14px; font-weight: bold; font-family:Lucida Sans Unicode; color:white; padding:0em .6em 0em 0em; text-align:left;"{{!}}{{{Cast}}}{{#ifeq:{{{Cast|00}}}|Instant||s}}
+
{{!}}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="3" style="font-size:14px; font-weight: bold;font-family:Lucida Sans Unicode; color:white; padding:0em .6em 0em 0em; text-align:left;"{{!}}{{{Recast}}}{{#ifeq:{{{Recast|11}}}|Instant||s}}
 
{{!}}colspan="4" style="font-size:14px; font-weight: bold; font-family:Lucida Sans Unicode; color:white; padding:0em .6em 0em 0em; text-align:left;"{{!}}{{{MP|}}}{{{TP|}}}
 
 
{{!}}-
 
{{!}}-
{{!}}colspan="10" {{!}}<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #969696;" ></div>
+
{{!}}colspan="3" style="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="10" valign="top" style="color:white; font-weight: bold; padding:0em .6em 0em .6em;"{{!}}{{{Description}}}
 
{{!}}-
 
{{!}}colspan="10" valign="top" style="color:#D6D6D6; padding:0em .6em 0em .6em;"{{!}}{{#if:{{{Duration|}}}|:{{colorlink|#D6D6D6|style=normal|Duration|Duration:}} {{{Duration}}}s}}
 
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="10" {{!}}<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #969696;" ></div>
 
{{!}}colspan="10" {{!}}<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #969696;" ></div>
 
{{!}}-
 
{{!}}-
{{!}}valign="top" colspan="5" style="color:#59C42F; padding:0em .6em 0em 1.6em;"{{!}}{{#if:{{{Additional Effect|}}}|'''Additional Effect:'''
+
{{{Dialogue}}}
:{{color|#ffffff|{{{Additional Effect}}}}} {{#if:{{{Additional Effect Bonus|}}}|<span style="font-weight: bold; color:#D6D6D6; font-size:10px;">({{{Additional Effect Bonus|}}})</span>}}
 
{{#if:{{{Additional Effect Potency|}}}|:{{colorlink|style=normal|#D6D6D6|Potency|Potency:}} {{color|style=normal|white|{{{Additional Effect Potency}}}}}}}{{#if:{{{Additional Effect Duration|}}}|:{{colorlink|style=normal|#D6D6D6|Duration|Duration:}} {{color|style=normal|white|{{{Additional Effect Duration}}}s}}}}}}
 
{{#if:{{{Additional Effect 2|}}}|'''Additional Effect:'''
 
:{{color|#ffffff|{{{Additional Effect 2}}}}} {{#if:{{{Additional Effect 2 Bonus|}}}|<span style="font-weight: bold; color:#D6D6D6; font-size:10px;">({{{Additional Effect 2 Bonus|}}})</span>}}
 
{{#if:{{{Additional Effect 2 Potency|}}}|:{{colorlink|style=normal|#D6D6D6|Potency|Potency:}} {{color|style=normal|white|{{{Additional Effect 2 Potency}}}}}}}{{#if:{{{Additional Effect 2 Duration|}}}|:{{colorlink|style=normal|#D6D6D6|Duration|Duration:}} {{color|style=normal|white|{{{Additional Effect 2 Duration}}}s}}}}}}
 
{{#if:{{{Additional Effect 3|}}}|'''Additional Effect:'''
 
:{{color|#ffffff|{{{Additional Effect 3}}}}} {{#if:{{{Additional Effect 3 Bonus|}}}|<span style="font-weight: bold; color:#D6D6D6; font-size:10px;">({{{Additional Effect 3 Bonus|}}})</span>}}
 
{{#if:{{{Additional Effect 3 Potency|}}}|:{{colorlink|style=normal|#D6D6D6|Potency|Potency:}} {{color|style=normal|white|{{{Additional Effect 3 Potency}}}}}}}{{#if:{{{Additional Effect 3 Duration|}}}|:{{colorlink|style=normal|#D6D6D6|Duration|Duration:}} {{color|style=normal|white|{{{Additional Effect 3 Duration}}}s}}}}}}
 
{{!}}valign="top" colspan="5" style="color:#59C42F; padding:0em .6em 0em 1.6em;"{{!}}{{#if:{{{Combo Action|}}}|'''Combo Action:'''
 
:{{color|#ffffff|{{{Combo Action}}}}}
 
{{#if:{{{Combo Potency|}}}|:{{colorlink|style=normal|#D6D6D6|Potency|Potency:}} {{color|style=normal|white|{{{Combo Potency}}}}}}}{{#if:{{{Combo Bonus|}}}|:{{colorlink|style=normal|#D6D6D6|Bonus|Bonus:}} {{color|style=normal|white|{{{Combo Bonus}}}}}}}}}{{#if:{{{Combo Bonus Potency|}}}|:{{colorlink|style=normal|#D6D6D6|Potency|Bonus Potency:}} {{color|style=normal|white|{{{Combo Bonus Potency}}}}}}}{{#if:{{{Combo Bonus Duration|}}}|:{{colorlink|style=normal|#D6D6D6|Duration|Bonus Duration:}} {{color|style=normal|white|{{{Combo Bonus Duration}}}}}}}
 
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="10" {{!}}<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #969696;" ></div>
 
{{!}}colspan="10" {{!}}<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #969696;" ></div>
{{!}}-
 
{{!}}colspan="2" style="color:#D1CFA3; padding:0em .6em 0em .6em;"{{!}}'''Acquired:'''
 
{{!}}colspan="8" style="color:#ffffff; padding:0em .6em 0em .6em; "{{!}}<table><tr><td style="padding:.5em 0em 0em 0em;" >[[File:{{{Acquired|}}} Icon.png|18px|link={{{Acquired|}}}]]</td><td>'''(Lv. {{{Acquired Level|}}})'''</td></tr></table>
 
{{!}}-
 
{{!}}colspan="2" style="color:#D1CFA3; padding:0em .6em 0em .6em;"{{!}}'''Affinity:'''
 
{{!}}colspan="8" style="color:#ffffff; padding:0em .6em 0em .6em;"{{!}}'''Requires: {{#arraydefine:affinity|{{{Affinity|}}}}}{{#arraysort:affinity|asc}}{{#arrayprint:affinity|,&nbsp;|@@@@|{{colorlink|white|@@@@}}}}'''
 
 
{{!}}-
 
{{!}}-
 
{{!}}width="7%" style="padding:.5em 0em 0em 0em;"{{!}}
 
{{!}}width="7%" style="padding:.5em 0em 0em 0em;"{{!}}

Revision as of 04:07, 25 June 2013

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

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