Difference between revisions of "Template:ARR Infobox NPC"

Line 49: Line 49:
 
| Notes =
 
| Notes =
  
}}</pre></noinclude><includeonly>{{{!}} class="itembox" cellpadding="0" width="100%" cellspacing="0" border="0"
+
}}</pre></noinclude><includeonly>{{XIVboxHeader|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>}}}}
{{!}}-
 
{{!}}colspan="1" rowspan="1" {{!}}{{#if:{{{Level|}}}|<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="5" align="left" style="height: 1ex; font-weight: bold; padding:0em 0.3em 0em 0.6em; font-size:18px;font-family:Lucida Sans Unicode;"{{!}}{{color|white|{{{Name}}}}}<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>
 
{{!}}colspan="2" valign="top" style="color:white;font-weight: bold; text-align:right;"{{!}}{{#if:{{{Sells|}}}|[[File:Shopicon.png|link=Merchant]]}}{{#ifexpr: {{PAGESINCAT:Quests Involving {{Fixtick|{{SUBPAGENAME}}}}}} > 0 | [[File:Questinvolvementicon.png|link={{{Name}}}|Involved in Quest]]}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} Started Quests}} > 0 | [[File:Queststartericon.png|link={{{Name}}}|Starts Quest]]}}
 
{{!}}colspan="2" rowspan="2" valign="top" style="color:white;font-weight: bold; text-align:right;"{{!}}{{#if:{{{Affiliation|}}}|{{Nation Switch|iconsize=50px|Nation={{{Affiliation}}}}}}}
 
{{!}}colspan="1" rowspan="6" valign="top" style="border-right: 2px solid #969696;" cellpadding{{!}}
 
{{!}}colspan="1" rowspan="6" valign="top" {{!}}
 
{{{!}} style="color:white;padding:0em 0.3em 0em 0.6em;" cellpadding="0" width="100%" cellspacing="0" border="0"
 
{{!}}-
 
{{!}}class="npcimage{{#if:{{{Move Image Up|}}}|up{{{Move Image Up|0}}}}}{{#if:{{{Move Image Left|}}}|left{{{Move Image Left|0}}}}}" {{!}}[[File:{{{Image}}}]]
 
{{!}}}
 
{{#if:{{{Patch|}}}|<div style="float:right;font-size:9px;"><sup>[[Patch {{{Patch}}}]][[Category:Patch {{{Patch}}}]]</sup></div>}}
 
 
{{!}}-
 
{{!}}-
 +
|height="12px" width="69%" valign="top" colspan="1"|
 +
{{{!}} 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: 20%;" {{!}}{{color|white|style=normal|Zone(s):}}  
 
{{!}}valign="top" colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}{{color|white|style=normal|Zone(s):}}  
 
{{!}}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/>{{#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: 40%;"{{!}}{{#forargs:Zone| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{#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>}}}}}}}}
Line 75: Line 65:
 
{{!}}-
 
{{!}}-
 
{{!}}valign="top" colspan="10" style="height: 35ex; color:white;font-weight:bold;" {{!}}{{{Dialogue}}}
 
{{!}}valign="top" colspan="10" style="height: 35ex; color:white;font-weight:bold;" {{!}}{{{Dialogue}}}
{{!}}-
+
|-
{{!}}width="7%" style="padding:.5em 0em 0em 0em;"{{!}}
+
|}
{{!}}width="7%" {{!}}
+
|height="12px" width="1%" valign="top" colspan="1" style="border-right: 2px solid #969696;" |
{{!}}width="7%" {{!}}
+
|height="12px" width="30%" valign="top" colspan="1" class="npcimage{{#if:{{{Move Image Up|}}}|up{{{Move Image Up|0}}}}}{{#if:{{{Move Image Left|}}}|left{{{Move Image Left|0}}}}}" |[[File:{{{Image}}}]]
{{!}}width="7%" {{!}}
+
|-
{{!}}width="7%" {{!}}
+
{{XIVboxFooter}}{{Refreshlink}}
{{!}}width="7%" {{!}}
 
{{!}}width="7%" {{!}}
 
{{!}}width="7%" {{!}}
 
{{!}}width="7%" {{!}}
 
{{!}}width="7%" {{!}}
 
{{!}}width="1%" {{!}}
 
{{!}}width="29%" {{!}}
 
{{!}}}
 
<div class="plainlinks" style="float:right;"><sup>[[File:Refresh Icon.png|20px|link={{fullurl:{{PAGENAME}}}}?action=purge&DPL_refresh=yes]][{{fullurl:{{PAGENAME}}}}?action=purge&DPL_refresh=yes Rebuild Lists]</sup></div>
 
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"  
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"  
 
{{!}}-
 
{{!}}-

Revision as of 16:07, 12 July 2013

{{ARR Infobox NPC
| 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 2 = 
| Zone 2 Coordinates = 
| Zone 2 Location = 
| Zone 2 Sublocation = 
| Zone 2 Level = 
| Zone 2 Cutscene = 
| Zone 2 FATE = 
<!-- Add more if needed -->

| Dialogue = 

| Additional Dialogue = 

| Pre-Calamity Dialogue = 

| Sells =  

| Biography = 

| Images = 

| Etymology = 

| Notes =

}}