Difference between revisions of "Template:ARR Infobox NPC2"
Line 1: | Line 1: | ||
<noinclude>{{/Documentation}}</noinclude><includeonly> | <noinclude>{{/Documentation}}</noinclude><includeonly> | ||
− | {{XIVboxHeader|Patch={{{Patch|}}}|Title={{#if:{{{Full Name|}}}|{{{Full Name}}}|{{{Name}}}}}|Icon={{{Icon|NPC_Icon.png}}}|Iconsize={{{Iconsize|48px}}}|Type=[[:Category:NPC|NPC]]|Subtitle=<div style="padding:0em 0em 0em .5em; font-size:12px"> '''''{{#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}}|padjal=[[Padjal]]|#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={{NPC Involvement Icons | Name={{PAGENAME}} }}{{#if:{{{Level|}}}| <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> {{color|white|Lv.}} {{color|white|{{{Level|}}}}}</span>}}}} | + | {{XIVboxHeader|Patch={{{Patch|}}}|Title={{#if:{{{Full Name|}}}|{{{Full Name}}}|{{{Name}}}}}|Icon={{{Icon|NPC_Icon.png}}}|Iconsize={{{Iconsize|48px}}}|Type=[[:Category:NPC|NPC]]|Subtitle=<div style="padding:0em 0em 0em .5em; font-size:12px"> '''''{{#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]]|au ra|aura|a|auri= [[Au Ra]]|qiqirn = [[:Category:Qiqirn|Qiqirn]]|monster={{color|white|Monster}}|object={{color|white|Object}}|padjal=[[Padjal]]|#default = {{color|white|{{{Race}}}}}}}|}} {{#if:{{{Clan|}}}|{{color|white|style=normal|/}} {{#switch:{{lc:{{{Clan}}}}}|midlander|midlanders = [[Midlander]]|dunesfolk= [[Dunesfolk]]|hellsguard|hellsguards= [[Hellsguard]]|raen= [[Raen]]|xaela= [[Xaela]]|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={{NPC Involvement Icons | Name={{PAGENAME}} }}{{#if:{{{Level|}}}| <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> {{color|white|Lv.}} {{color|white|{{{Level|}}}}}</span>}}}} |
{{!}}- | {{!}}- | ||
|height="12px" width="69%" valign="top" colspan="1"| | |height="12px" width="69%" valign="top" colspan="1"| | ||
Line 7: | Line 7: | ||
{{#if:{{{Location 5|}}}| | {{#if:{{{Location 5|}}}| | ||
{{!}}{{CList7|Title=This NPC is found in many locations, usually depending on advancement of various questlines. Click to see all locations.|dpl= | {{!}}{{CList7|Title=This NPC is found in many locations, usually depending on advancement of various questlines. Click to see all locations.|dpl= | ||
− | {{#forargs:Location| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{SetGeoVars2|{{{Location {{#var:ik}}|nosuch}}}}}{{#if:{{{Location {{#var:ik}} FATE|}}}|[[File:Mob18 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} FATE}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in FATE|#default = {{{Location {{#var:ik}} FATE|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Levequest|}}}|[[File:Mob16 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Levequest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Levequests|#default = {{{Location {{#var:ik}} Levequest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Guildhest|}}}|[[File:Mob17 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Guildhest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Guildhets|#default = {{{Location {{#var:ik}} Guildhest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Event|}}}|[[File:Seasonalachievementicon.png|12px|link={{#switch:{{{Location {{#var:ik}} Event}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Event|#default = {{{Location {{#var:ik}} Event|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Quest|}}}|[[File:Mob14_Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Quest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Quests|#default = {{#arraydefine:questrow|{{{Location {{#var:ik}} Quest|}}}}}{{#ifexpr: {{#arraysize:questrow}} = 1 | {{#arrayprint:questrow}} | {{PAGENAME}}#Involved in Quests }}}}]]|}}{{#if:{{{Location {{#var:ik}} Cutscene|}}}|[[File:Player7_Icon.png|12px|link=Cutscene NPC]]|}}{{ | + | {{#forargs:Location| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{SetGeoVars2|{{{Location {{#var:ik}}|nosuch}}}}}{{#if:{{{Location {{#var:ik}} FATE|}}}|[[File:Mob18 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} FATE}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in FATE|#default = {{{Location {{#var:ik}} FATE|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Levequest|}}}|[[File:Mob16 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Levequest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Levequests|#default = {{{Location {{#var:ik}} Levequest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Guildhest|}}}|[[File:Mob17 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Guildhest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Guildhets|#default = {{{Location {{#var:ik}} Guildhest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Event|}}}|[[File:Seasonalachievementicon.png|12px|link={{#switch:{{{Location {{#var:ik}} Event}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Event|#default = {{{Location {{#var:ik}} Event|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Quest|}}}|[[File:Mob14_Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Quest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Quests|#default = {{#arraydefine:questrow|{{{Location {{#var:ik}} Quest|}}}}}{{#ifexpr: {{#arraysize:questrow}} = 1 | {{#arrayprint:questrow}} | {{PAGENAME}}#Involved in Quests }}}}]]|}}{{#if:{{{Location {{#var:ik}} Cutscene|}}}|[[File:Player7_Icon.png|12px|link=Cutscene NPC]]|}}{{ZONELink|{{#var:zone}}}} {{#if:{{#var:area|}}|- {{GEOLink|{{#var:area}}}}}} {{#if:{{#var:landmark|}}|- {{GEOLink|{{#var:landmark}}}}}}{{#if:{{{Location {{#var:ik}} Coordinates|}}}| {{color|white|style=normal|({{{Location {{#var:ik}} Coordinates|}}})}}|}}{{#if:{{{Location {{#var:ik}} Level|}}}| {{color|white|style=normal|(Lv. {{{Location {{#var:ik}} Level|}}})}}{{spc}}|{{spc}}}}}}}}}}}} |
| | | | ||
{{!}}valign="top" colspan="6" style="width: 90%;"{{!}}{{#forargs:Location| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{SetGeoVars2|{{{Location {{#var:ik}}|nosuch}}}}}{{#if:{{{Location {{#var:ik}} FATE|}}}|[[File:Mob18 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} FATE}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in FATE|#default = {{{Location {{#var:ik}} FATE|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Levequest|}}}|[[File:Mob16 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Levequest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Levequests|#default = {{{Location {{#var:ik}} Levequest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Guildhest|}}}|[[File:Mob17 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Guildhest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Guildhets|#default = {{{Location {{#var:ik}} Guildhest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Event|}}}|[[File:Seasonalachievementicon.png|12px|link={{#switch:{{{Location {{#var:ik}} Event}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Event|#default = {{{Location {{#var:ik}} Event|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Quest|}}}|[[File:Mob14_Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Quest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Quests|#default = {{#arraydefine:questrow|{{{Location {{#var:ik}} Quest|}}}}}{{#ifexpr: {{#arraysize:questrow}} = 1 | {{#arrayprint:questrow}} | {{PAGENAME}}#Involved in Quests }}}}]]|}}{{#if:{{{Location {{#var:ik}} Cutscene|}}}|[[File:Player7_Icon.png|12px|link=Cutscene NPC]]|}}{{GEOLink|{{#var:zone}}}} {{#if:{{#var:area|}}|- {{GEOLink|{{#var:area}}}}}} {{#if:{{#var:landmark|}}|- {{GEOLink|{{#var:landmark}}}}}}{{#if:{{{Location {{#var:ik}} Coordinates|}}}| {{color|white|style=normal|({{{Location {{#var:ik}} Coordinates|}}})}}|}}{{#if:{{{Location {{#var:ik}} Level|}}}| {{color|white|style=normal|(Lv. {{{Location {{#var:ik}} Level|}}})}}{{spc}}|{{spc}}}}}}}}}} | {{!}}valign="top" colspan="6" style="width: 90%;"{{!}}{{#forargs:Location| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{SetGeoVars2|{{{Location {{#var:ik}}|nosuch}}}}}{{#if:{{{Location {{#var:ik}} FATE|}}}|[[File:Mob18 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} FATE}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in FATE|#default = {{{Location {{#var:ik}} FATE|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Levequest|}}}|[[File:Mob16 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Levequest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Levequests|#default = {{{Location {{#var:ik}} Levequest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Guildhest|}}}|[[File:Mob17 Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Guildhest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Guildhets|#default = {{{Location {{#var:ik}} Guildhest|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Event|}}}|[[File:Seasonalachievementicon.png|12px|link={{#switch:{{{Location {{#var:ik}} Event}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Event|#default = {{{Location {{#var:ik}} Event|}}}}}]]|}}{{#if:{{{Location {{#var:ik}} Quest|}}}|[[File:Mob14_Icon.png|12px|link={{#switch:{{{Location {{#var:ik}} Quest}}}|x|X|yes|Yes= {{PAGENAME}}#Involved in Quests|#default = {{#arraydefine:questrow|{{{Location {{#var:ik}} Quest|}}}}}{{#ifexpr: {{#arraysize:questrow}} = 1 | {{#arrayprint:questrow}} | {{PAGENAME}}#Involved in Quests }}}}]]|}}{{#if:{{{Location {{#var:ik}} Cutscene|}}}|[[File:Player7_Icon.png|12px|link=Cutscene NPC]]|}}{{GEOLink|{{#var:zone}}}} {{#if:{{#var:area|}}|- {{GEOLink|{{#var:area}}}}}} {{#if:{{#var:landmark|}}|- {{GEOLink|{{#var:landmark}}}}}}{{#if:{{{Location {{#var:ik}} Coordinates|}}}| {{color|white|style=normal|({{{Location {{#var:ik}} Coordinates|}}})}}|}}{{#if:{{{Location {{#var:ik}} Level|}}}| {{color|white|style=normal|(Lv. {{{Location {{#var:ik}} Level|}}})}}{{spc}}|{{spc}}}}}}}}}} |