Difference between revisions of "Template:ARR Infobox NPC"

Line 53: Line 53:
  
 
}}</pre></noinclude><includeonly>
 
}}</pre></noinclude><includeonly>
{{XIVboxHeader|Patch={{{Patch|}}}|Title={{{Name}}}|Icon={{{Icon|NPC_Icon.png}}}|Iconsize={{{Iconsize|48px}}}|Type={{dl|:Category:NPC|NPC}}|Subtitle=<div style="padding:0em 0em 0em .5em; font-size:12px">&nbsp;&nbsp;'''''{{#if:{{{Gender|}}}|{{#switch:{{lc:{{{Gender}}}}}|male|m|{{male}}= {{dl|Male}}|female|f|{{female}}= {{dl|Female}}|#default = ??}} {{color|white|style=normal|/}}|}} {{#if:{{{Race|}}}|{{#switch:{{lc:{{{Race}}}}}|hyur|h|hume= {{dl|Hyur}}|elezen|e|elvaan= {{dl|Elezen}}|lalafell|l|tarutaru= {{dl|Lalafell}}|miqo'te|miqote|m|mithra= {{dl|Miqo'te}}|roegadyn|r|galka= {{dl|Roegadyn}}|qiqirn = [[:Category:Qiqirn|Qiqirn]]|monster={{color|white|Monster}}|object={{color|white|Object}}|#default = {{color|white|{{{Race}}}}}}}|}} {{#if:{{{Clan|}}}|{{color|white|style=normal|/}} {{#switch:{{lc:{{{Clan}}}}}|midlander|midlanders = {{dl|Midlander}}|dunesfolk= {{dl|Dunesfolk}}|hellsguard|hellsguards= {{dl|Hellsguard}}|highlander|highlanders= {{dl|Highlander}}|keepers of the moon|keeper of the moon= {{dl|Keepers of the Moon}}|seekers of the sun|seeker of the sun= {{dl|Seekers of the Sun}}|plainsfolk= {{dl|Plainsfolk}}|wildwood elezen|wildwood elezens= {{dl|Wildwood Elezen}}|duskwight elezen|duskwight elezens= {{dl|Duskwight Elezen}}|sea wolves|sea wolf= {{dl|Sea Wolves}}|#default = {{color|white|{{{Clan}}}}}}} |}}'''''</div>|Icons={{#ifexpr: {{PAGESINCAT:{{Fixtick|Quest Involving {{SUBPAGENAME}}}}}} >0 | [[File:Questinvolvementicon.png|18px|link={{#ifexpr: {{PAGESINCAT:{{Fixtick|Quest Involving {{SUBPAGENAME}}}}}} =1 |{{#dpl:|category=Quest Involving {{SUBPAGENAME}}|namespace    = |format  = ,,|includepage ={ARR Infobox Quest} linkdpl| tablerow = %%|suppresserrors=true}}|Involved in Quests}}]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} Involved in FATE}}}} >0 | [[File:FATE_icon.png|18px|link={{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} Involved in FATE}}}} =1 |{{#dpl:|category={{SUBPAGENAME}} Involved in FATE|namespace    = |format  = ,,|includepage ={ARR Infobox FATE} linkdpl| tablerow = %%|suppresserrors=true}}|Involved in FATEs}}]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} Started Quest}}}} >0 | [[File:Queststartericon.png|18px|link={{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} Started Quest}}}} =1 |{{#dpl:|category={{SUBPAGENAME}} Started Quest|namespace    = |format  = ,,|includepage ={ARR Infobox Quest} linkdpl| tablerow = %%|suppresserrors=true}}|Starts Quests}}]]}}{{#if:{{{Affiliation|}}}|{{Nation Switch|iconsize=20px|Nation={{{Affiliation}}}}}}}{{#if:{{{Level|}}}|&nbsp;<span style="text-align:center; font-size:12px; width:100px; height:20px; 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;" ><span style="height: .25ex;"></span>&nbsp;{{color|white|Lv.}}&nbsp;{{color|white|{{{Level|}}}}}</span>}}}}
+
{{XIVboxHeader|Patch={{{Patch|}}}|Title={{{Name}}}|Icon={{{Icon|NPC_Icon.png}}}|Iconsize={{{Iconsize|48px}}}|Type=[[:Category:NPC|NPC]]|Subtitle=<div style="padding:0em 0em 0em .5em; font-size:12px">&nbsp;&nbsp;'''''{{#if:{{{Gender|}}}|{{#switch:{{lc:{{{Gender}}}}}|male|m|{{male}}= [[Male]]|female|f|{{female}}= [[Female]]|#default = ??}} {{color|white|style=normal|/}}|}} {{#if:{{{Race|}}}|{{#switch:{{lc:{{{Race}}}}}|hyur|h|hume= [[Hyur]]|elezen|e|elvaan= [[Elezen]]|lalafell|l|tarutaru= [[Lalafell]]|miqo'te|miqote|m|mithra= [[Miqo'te]]|roegadyn|r|galka= [[Roegadyn]]|qiqirn = [[:Category:Qiqirn|Qiqirn]]|monster={{color|white|Monster}}|object={{color|white|Object}}|#default = {{color|white|{{{Race}}}}}}}|}} {{#if:{{{Clan|}}}|{{color|white|style=normal|/}} {{#switch:{{lc:{{{Clan}}}}}|midlander|midlanders = [[Midlander]]|dunesfolk= [[Dunesfolk]]|hellsguard|hellsguards= [[Hellsguard]]|highlander|highlanders= [[Highlander]]|keepers of the moon|keeper of the moon= [[Keepers of the Moon]]|seekers of the sun|seeker of the sun= [[Seekers of the Sun]]|plainsfolk= [[Plainsfolk]]|wildwood elezen|wildwood elezens= [[Wildwood Elezen]]|duskwight elezen|duskwight elezens= [[Duskwight Elezen]]|sea wolves|sea wolf= [[Sea Wolves]]|#default = {{color|white|{{{Clan}}}}}}} |}}'''''</div>|Icons={{#ifexpr: {{PAGESINCAT:{{Fixtick|Quest Involving {{SUBPAGENAME}}}}}} >0 | [[File:Questinvolvementicon.png|18px|link={{#ifexpr: {{PAGESINCAT:{{Fixtick|Quest Involving {{SUBPAGENAME}}}}}} =1 |{{#dpl:|category=Quest Involving {{SUBPAGENAME}}|namespace    = |format  = ,,|includepage ={ARR Infobox Quest} linkdpl| tablerow = %%|suppresserrors=true}}|Involved in Quests}}]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} Involved in FATE}}}} >0 | [[File:FATE_icon.png|18px|link={{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} Involved in FATE}}}} =1 |{{#dpl:|category={{SUBPAGENAME}} Involved in FATE|namespace    = |format  = ,,|includepage ={ARR Infobox FATE} linkdpl| tablerow = %%|suppresserrors=true}}|Involved in FATEs}}]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} Started Quest}}}} >0 | [[File:Queststartericon.png|18px|link={{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} Started Quest}}}} =1 |{{#dpl:|category={{SUBPAGENAME}} Started Quest|namespace    = |format  = ,,|includepage ={ARR Infobox Quest} linkdpl| tablerow = %%|suppresserrors=true}}|Starts Quests}}]]}}{{#if:{{{Affiliation|}}}|{{Nation Switch|iconsize=20px|Nation={{{Affiliation}}}}}}}{{#if:{{{Level|}}}|&nbsp;<span style="text-align:center; font-size:12px; width:100px; height:20px; 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;" ><span style="height: .25ex;"></span>&nbsp;{{color|white|Lv.}}&nbsp;{{color|white|{{{Level|}}}}}</span>}}}}
 
{{!}}-
 
{{!}}-
 
|height="12px" width="69%" valign="top" colspan="1"|
 
|height="12px" width="69%" valign="top" colspan="1"|
 
{{{!}} style="color:white; width:100%; cellpadding=0; cellspacing=1;" border=0
 
{{{!}} style="color:white; width:100%; cellpadding=0; cellspacing=1;" border=0
 
{{!}}valign="top" colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 10%;" {{!}}{{color|white|style=normal|Zone(s):}}  
 
{{!}}valign="top" colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 10%;" {{!}}{{color|white|style=normal|Zone(s):}}  
{{!}}valign="top" colspan="6" style="padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 90%;"{{!}}{{#forargs:Zone| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{#if:{{{Zone {{#var:ik}} FATE|}}}|[[File:FATE icon.png|18px|link=FATE NPC]]|}}{{#if:{{{Zone {{#var:ik}} Event/Quest|}}}|[[File:Questinvolvementicon.png|18px|link=Quest NPC]]|}}{{#if:{{{Zone {{#var:ik}} Cutscene|}}}|[[File:Cutscene Icon.png|18px|link=Cutscene NPC]]|}}{{dl|{{{Zone {{#var:ik}}|}}}}}{{#if:{{{Zone {{#var:ik}} Location|}}}|&nbsp;{{color|white|style=normal|-}}&nbsp;{{dl|{{{Zone {{#var:ik}} Location|}}}}}|}}{{#if:{{{Zone {{#var:ik}} Sublocation|}}}|&nbsp;{{color|white|style=normal|-}}&nbsp;{{dl|{{{Zone {{#var:ik}} Sublocation|}}}}}|}}{{#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: 90%;"{{!}}{{#forargs:Zone| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{#if:{{{Zone {{#var:ik}} FATE|}}}|[[File:FATE icon.png|18px|link=FATE NPC]]|}}{{#if:{{{Zone {{#var:ik}} Event/Quest|}}}|[[File:Questinvolvementicon.png|18px|link=Quest NPC]]|}}{{#if:{{{Zone {{#var:ik}} Cutscene|}}}|[[File:Cutscene Icon.png|18px|link=Cutscene NPC]]|}}[[{{{Zone {{#var:ik}}|}}}]]{{#if:{{{Zone {{#var:ik}} Location|}}}|&nbsp;{{color|white|style=normal|-}}&nbsp;[[{{{Zone {{#var:ik}} Location|}}}]]|}}{{#if:{{{Zone {{#var:ik}} Sublocation|}}}|&nbsp;{{color|white|style=normal|-}}&nbsp;{{{Zone {{#var:ik}} Sublocation|}}}]]|}}{{#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;" {{!}}{{#if:{{{Affiliation|}}}|{{color|white|style=normal|Affiliation:}}}}
 
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold;" {{!}}{{#if:{{{Affiliation|}}}|{{color|white|style=normal|Affiliation:}}}}
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em;font-weight:bold;"{{!}}{{#if:{{{Affiliation|}}}|{{#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 = {{dl|{{{Affiliation|}}}}}}}}}
+
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em;font-weight:bold;"{{!}}{{#if:{{{Affiliation|}}}|{{#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="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em; font-weight:bold;" {{!}}{{#if:{{{Occupation|}}}|{{color|white|style=normal|Occupation:}}}}
 
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em; font-weight:bold;" {{!}}{{#if:{{{Occupation|}}}|{{color|white|style=normal|Occupation:}}}}
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em; font-weight:bold;"{{!}}{{#if:{{{Occupation|}}}|{{#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="8" style="padding:0em 0.3em 0em 0.3em; font-weight:bold;"{{!}}{{#if:{{{Occupation|}}}|{{#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" 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 02:26, 23 July 2013

{{ARR Infobox NPC
| Patch = 2.0
| Image = 

| Move Image Left =     <!-- Value between 0 and 5-->
| Move Image Up   =     <!-- Value between 0 and 5-->

| Name = {{subst:SUBPAGENAME}}

| Level = 

| Gender      = 
| Race        = 
| Clan        = 

| Affiliation = 
| Occupation  = 

| Zone 1 = 
| Zone 1 Coordinates = 
| Zone 1 Location = 
| Zone 1 Sublocation = 
| Zone 1 Level = 
| Zone 1 Cutscene = 
| Zone 1 FATE = 
| Zone 1 Event/Quest = 

| Zone 2 = 
| Zone 2 Coordinates = 
| Zone 2 Location = 
| Zone 2 Sublocation = 
| Zone 2 Level = 
| Zone 2 Cutscene = 
| Zone 2 FATE = 
| Zone 2 Event/Quest = 
<!-- Add more if needed -->

| Dialogue = 

| Additional Dialogue = 

| Pre-Calamity Dialogue = 

| Sells =  

| Biography = 

| Images = 

| Etymology = 

| Notes =

}}