Difference between revisions of "Template:ARR Infobox NPC2"

(218 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{XIVboxHeader|Title={{{Name}}}|Icon={{#if:{{{Level|}}}|<div style="text-align:center; font-size:{{#ifexpr: {{#len:{{{Level}}}}} > 3|8px|10px}}; 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>}}|Iconsize={{{Iconsize|48px}}}|Type=NPC|Subtitle={{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>|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 Quests}}}} >0 | [[File:File:Queststartericon.png|18px|link={{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} Started Quests}}}} =1 |{{#dpl:|category={{SUBPAGENAME}} Started Quests|namespace    = |format  = ,,|includepage ={ARR Infobox Quest} linkdpl| tablerow = %%|suppresserrors=true}}|Starts Quests}}]]}}
+
<noinclude>{{/Documentation}}</noinclude><includeonly>
 +
{{XIVboxHeader|Patch={{{Patch|}}}|Title={{Newpatch|Patch={{{Patch}}}}}{{#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;font-style: italic; font-weight: bold;">&nbsp;&nbsp;{{#if:{{{Race|}}}|[[{{Raceswitch|Race={{{Race}}}}}]]{{#if:{{{Clan|}}}|{{color|white|style=normal|&nbsp;/&nbsp;}}}}}}{{#if:{{{Clan|}}}|[[{{Clanswitch|Clan={{{Clan}}}}}]]{{#if:{{{Gender|}}}|{{color|white|style=normal|&nbsp;/&nbsp;}}}}}}{{#if:{{{Clan|}}}||{{#if:{{{Gender|}}}|{{color|white|style=normal|&nbsp;/&nbsp;}}}}}}{{#if:{{{Gender|}}}|[[{{Genderswitch|Gender={{{Gender}}}}}]]}}</div>|Icons={{NPC Involvement Icons | Name={{PAGENAME}} }}{{#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"|
 
+
{{#tag:tabber|
{{{!}} style="color:white; width:100%; cellpadding=0; cellspacing=1;" border=0
+
Details=
{{!}}valign="top" colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}
+
{{{!}} style="color:white; width:100%; cellpadding=0; cellspacing=0;" border=0
{{color|white|style=normal|Zone(s):}}  
+
{{!}}valign="top" colspan="2" style="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: 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>}}}}}}}}
+
{{#if:{{{Location 11|}}}|
 +
{{!}}{{CList2|Title=This NPC is found in many locations, usually depending on advancement of various questlines.  Click to see all locations.|collapse=mw-collapsed|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]]|}}{{ZONELink|{{#var:zone}}}} {{#if:{{#var:duty|}}|- {{GEOLink|{{#var:duty}}}}}} {{#if:{{#var:area|}}|- {{GEOLink|{{#var:area}}}}}} {{#if:{{#var:landmark|}}|- {{GEOLink|{{#var:landmark}}}}}}{{#if:{{{Location {{#var:ik}} Coordinates|}}}|&nbsp;{{color|white|style=normal|({{{Location {{#var:ik}} Coordinates|}}})}}|}}{{#if:{{{Location {{#var:ik}} Level|}}}|&nbsp;{{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:duty|}}|- {{GEOLink|{{#var:duty}}}}}} {{#if:{{#var:area|}}|- {{GEOLink|{{#var:area}}}}}} {{#if:{{#var:landmark|}}|- {{GEOLink|{{#var:landmark}}}}}}{{#if:{{{Location {{#var:ik}} Coordinates|}}}|&nbsp;{{color|white|style=normal|({{{Location {{#var:ik}} Coordinates|}}})}}|}}{{#if:{{{Location {{#var:ik}} Level|}}}|&nbsp;{{color|white|style=normal|(Lv. {{{Location {{#var:ik}} Level|}}})}}{{spc}}|{{spc}}}}}}}}}}
 +
}}
 +
{{!}}-
 +
{{!}}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 = [[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 = {{#ifeq:{{{Affiliation Link}}}|No|{{{Affiliation|}}}|[[{{{Affiliation|}}}]]}}}}}}
 +
{{!}}-
 +
{{#if:{{{Occupation|}}}|
 +
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em; font-weight:bold;" {{!}}{{color|white|style=normal|Occupation:}}
 +
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em; font-weight:bold;"{{!}}{{#ifeq:{{{Occupation Link|}}}|No|{{{Occupation|}}}|{{#arraydefine:occupation|{{{Occupation}}}}}{{#arraysort:occupation|asc}}{{#arrayprint:occupation|,&nbsp;|@@@@|[[:Category:@@@@|@@@@]][[Category:@@@@]]}}}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold; width: 20%;" {{!}}{{#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|}}}}}}}}}
+
{{#if:{{{Employer|}}}|
 +
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em; font-weight:bold;" {{!}}{{color|white|style=normal|Employer:}}
 +
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em; font-weight:bold;"{{!}}{{#arraydefine:employer|{{{Employer}}}}}{{#arraysort:employer|asc}}{{#arrayprint:employer|,&nbsp;|@@@@|@@@@}}
 
{{!}}-
 
{{!}}-
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em; font-weight:bold; width: 20%;" {{!}}{{#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}}}}}}}}}
+
{{#if:{{{Title|}}}|
 +
{{!}}colspan="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em; font-weight:bold;" {{!}}{{color|white|style=normal|Title:}}
 +
{{!}}colspan="8" style="padding:0em 0.3em 0em 0.3em; font-weight:bold;"{{!}}{{{Title}}}
 
{{!}}-
 
{{!}}-
 +
}}
 
{{!}}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>
 
{{!}}-
 
{{!}}-
{{!}}valign="top" colspan="10" style="height: 35ex; color:white;font-weight:bold;" {{!}}{{{Dialogue}}}
+
{{!}}valign="top" colspan="10" style="height: 35ex; color:white;" {{!}}
|-
+
{{{Dialogue|}}}
|}
+
{{#if:{{{Biography|}}}|
 +
<br>
 +
<div style="height: 1ex;"></div><div style="padding: 0px; width:99%; background-color:#D6D6D6; border:1px solid #474747;" ></div>
 +
{{{Biography|}}}
 +
}}
 +
{{!}}-{{!}}
 +
Map=
 +
{{#if:{{{Location 2|}}}|This NPC is found in multiple locations.  The map below shows where the NPC is ''first'' encountered.}}
 +
{{#vardefine:map|
 +
{{#dpl:
 +
|  titlematch= {{fixtick|{{#urldecode:{{BASEPAGENAMEE}}}}}}/Map/%
 +
| distinct = strict
 +
|  format  = ,\n%TITLE%,,
 +
|  mode=userformat
 +
|  count=1
 +
|  noresultsheader = [[Category:NPC Map Needed]]
 +
}}}}{{#ifeq:{{:{{#var:map}}}}|{{:}}|{{:{{#var:map}}}}|}}
 +
}}
 
|height="12px" width="1%" valign="top" colspan="1" style="border-right: 2px solid #969696;" |
 
|height="12px" width="1%" valign="top" colspan="1" style="border-right: 2px solid #969696;" |
|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}}}]]
+
|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:{{#if:{{{Image|}}}|{{{Image}}}|{{{Name}}}.png}}{{!}}{{{Image Width|220}}}px]]
 
|-
 
|-
{{XIVboxFooter}}{{Refreshlink}}
+
{{XIVboxFooter}}
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"  
+
{{#if:{{{TT|}}}|[[Category:{{{Name}}} Involved in Triple Triad]]<span id="Triple Triad Player Card"></span>{{{TT}}}}}{{Refreshlink}}
 +
{{{!}} style="border:none; width:100%; float:left;"
 +
! align="left" {{!}}<div style="font-size:18px;">Activities</div>[[File:Divider3.png{{!}}left{{!}}link=]]
 
{{!}}-
 
{{!}}-
 
{{!}}
 
{{!}}
{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} Started Levequest}} > 0 |
+
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"
{{{!}} class="collapsible" style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
 
! align="left" {{!}}<div style="font-size:18px;">Starts Levequests</div>[[File:Divider3.png|link=]]
 
 
{{!}}-
 
{{!}}-
{{!}}style="font-size:10px;"{{!}}
+
{{!}}{{CList2|Title=<span id="Starts Quests">Starts Quests</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Started Quest|dpl={{#dpl:
 +
|  uses=Template:ARR Infobox Quest
 +
|  category={{fixtick|{{SUBPAGENAME}}}} Started Quest
 +
|  namespace    =
 +
|  includepage = {ARR Infobox Quest} npcdpl
 +
|  format      =,,\n
 +
|  table      =class="GEtable sortable" width=100%,-,width=25%{{!}}Name,Lvl,class="unsortable" {{!}}XP,Gil,style="padding-right:50px;"{{!}}Type
 +
|  tablerow =%%
 +
|  tablesortcol=2
 +
|  suppresserrors=true
 +
|  allowcachedresults=true
 +
|  dplcache={{fixtick|{{FULLPAGENAME}}}}6x2
 +
|  noresultsheader = None.
 +
}}}}{{CList2|Title=<span id="Starts Levequests">Starts Levequests</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Started Levequest|dpl=<tabber>
 +
Battlecraft=
 +
{{#tag:tabber|
 +
Battlecraft =
 
{{#dpl:
 
{{#dpl:
| category={{Fixtick|{{SUBPAGENAME}}}} Started Levequest
+
| category={{Fixtick|{{SUBPAGENAME}}}} Started Levequest
| notcategory=Archived
+
| category=Battlecraft Levequest
| notcategory=Outdated 1.x Articles
+
| namespace    =
| columns=3
+
| includepage = {ARR Infobox Levequest} listdpl
| format   = ,\n* [[%PAGE%{{!}}%TITLE%]],,
+
| format     =,,\n
| suppresserrors=true
+
|  table      =class="GEtable sortable" width=100%,-,width=25%{{!}}Name,width=5%{{!}}Level,width=20%{{!}}Location,width=30%{{!}}Classes,width=20%{{!}}Items Needed
 +
| tablerow =%%
 +
|  tablesortcol=2
 +
suppresserrors=true
 +
|  allowcachedresults=true
 +
|  dplcache={{fixtick|{{FULLPAGENAME}}}}{{#var:class}}4
 +
|  noresultsheader = None.
 
}}
 
}}
{{!}}}
+
{{!}}-{{!}}
}}{{#ifexpr: {{PAGESINCAT:Levequest Involving {{Fixtick|{{SUBPAGENAME}}}}}} > 0 |
+
Grand Company=
{{{!}} class="collapsible" style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
 
! align="left" {{!}}<div style="font-size:18px;">Involved in Levequests</div>[[File:Divider3.png|link=]]
 
{{!}}-
 
{{!}}style="font-size:12px;"{{!}}
 
 
{{#dpl:
 
{{#dpl:
 +
|  category={{Fixtick|{{SUBPAGENAME}}}} Started Levequest
 +
|  category=Grand Company Levequest
 +
|  namespace    =
 +
|  includepage = {ARR Infobox Levequest} listdpl
 +
|  format      =,,\n
 +
|  table      =class="GEtable sortable" width=100%,-,width=25%{{!}}Name,width=5%{{!}}Level,width=20%{{!}}Location,width=30%{{!}}Classes,width=20%{{!}}Items Needed
 +
|  tablerow =%%
 +
|  tablesortcol=2
 +
|  suppresserrors=true
 +
|  allowcachedresults=true
 +
|  dplcache={{fixtick|{{FULLPAGENAME}}}}{{#var:class}}2b1
 +
|  noresultsheader = None.
 +
}}
 +
}}
 +
|-|
 +
Tradescraft=
 +
{{#tag:tabber|
 +
Alchemist={{NPC Levequest DPL|Alchemist}}
 +
{{!}}-{{!}}
 +
Armorsmith={{NPC Levequest DPL|Armorer}}
 +
{{!}}-{{!}}
 +
Blacksmith={{NPC Levequest DPL|Blacksmith}}
 +
{{!}}-{{!}}
 +
Carpenter={{NPC Levequest DPL|Carpenter}}
 +
{{!}}-{{!}}
 +
Culinarian={{NPC Levequest DPL|Culinarian}}
 +
{{!}}-{{!}}
 +
Goldsmith={{NPC Levequest DPL|Goldsmith}}
 +
{{!}}-{{!}}
 +
Leatherworker={{NPC Levequest DPL|Leatherworker}}
 +
{{!}}-{{!}}
 +
Weaver ={{NPC Levequest DPL|Weaver}}
 +
}}
 +
|-|
 +
Fieldcraft=
 +
{{#tag:tabber|
 +
{{!}}-{{!}}
 +
Botanist ={{NPC Levequest DPL|Botanist}}
 +
{{!}}-{{!}}
 +
Fisher ={{NPC Levequest DPL|Fisher}}
 +
{{!}}-{{!}}
 +
Miner ={{NPC Levequest DPL|Miner}}
 +
}}
 +
</tabber>
 +
}}{{CList2|Title=<span id="Involved in Levequests">Involved in Levequests</span>|CountCat=Levequest Involving {{fixtick|{{SUBPAGENAME}}}}|dpl={{#dpl:
 
| category=Levequest Involving {{Fixtick|{{SUBPAGENAME}}}}
 
| category=Levequest Involving {{Fixtick|{{SUBPAGENAME}}}}
| notcategory=Archived
+
| columns={{#ifexpr: {{PAGESINCAT:Levequest Involving {{Fixtick|{{SUBPAGENAME}}}}|R}} > 8 | 3 |1}}
| notcategory=Outdated 1.x Articles
 
| columns={{#ifexpr: {{PAGESINCAT:Levequest Involving {{Fixtick|{{SUBPAGENAME}}}}}} > 8 | 3 |1}}
 
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 +
| allowcachedresults=true
 +
| dplcache=involvedinleves{{SUBPAGENAME}}-2
 
| suppresserrors=true
 
| suppresserrors=true
}}
+
}}}}{{CList8|Title=<span id="Involved in Quests">Involved in Quests</span>|CountCat=Quest Involving {{fixtick|{{SUBPAGENAME}}}}|dpl={{#dpl:
{{!}}}
+
| namespace=
}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} Started Quest}} > 0 |  
+
| category=Quest Involving {{Fixtick|{{SUBPAGENAME}}}}
{{{!}} class="collapsible" style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
+
| includesubpages=false
! align="left" {{!}}<div style="font-size:18px;">Starts Quests</div>[[File:Divider3.png|link=]]
+
| columns={{#ifexpr: {{PAGESINCAT:Quest Involving {{Fixtick|{{SUBPAGENAME}}}}|R}} > 8 | 3 |1}}
{{!}}-
+
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
{{!}}style="font-size:12px;"{{!}}
+
| allowcachedresults=true
{{#dpl:
+
| dplcache=involvedinquests{{SUBPAGENAME}}-2
| category={{Fixtick|{{SUBPAGENAME}}}} Started Quest
+
| suppresserrors=true
| notcategory=Archived
+
}}}}{{CList2|Title=<span id="Involved in FATEs">Involved in FATEs</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Involved in FATE|dpl={{#dpl:
| notcategory=Outdated 1.x Articles
+
| category={{Fixtick|{{SUBPAGENAME}}}} Involved in FATE
| columns={{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} Started Quest}} > 8 | 3 |1}}
+
| columns={{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} Involved in FATE|R}} > 8 | 3 |1}}
 +
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 +
| allowcachedresults=true
 +
| dplcache=involvedinfates{{SUBPAGENAME}}-2
 +
| suppresserrors=true
 +
}}}}{{CList2|Title=<span id="Involved in Guildhests">Involved in Guildhests</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Involved in Guildhest|dpl={{#dpl:
 +
| category={{Fixtick|{{SUBPAGENAME}}}} Involved in Guildhest
 +
| columns={{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}}}} Involved in Guildhest|R}} > 8 | 3 |1}}
 +
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 +
| allowcachedresults=true
 +
| dplcache=involvedinguildhests{{SUBPAGENAME}}-2
 +
| suppresserrors=true
 +
}}}}{{CList2|Title=<span id="Involved in Obsolete Quests">Pre-Calamity Involvement</span>|CountCat=Obsolete Quest Involving {{fixtick|{{SUBPAGENAME}}}}|dpl={{#dpl:
 +
| category=Obsolete Quest Involving {{Fixtick|{{SUBPAGENAME}}}}
 +
| columns={{#ifexpr: {{PAGESINCAT:Obsolete Quest Involving {{Fixtick|{{SUBPAGENAME}}}}|R}} > 8 | 3 |1}}
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 +
| allowcachedresults=true
 +
| dplcache=involvedinobsoletequest{{SUBPAGENAME}}-2
 
| suppresserrors=true
 
| suppresserrors=true
}}
+
}}}}{{CList2|Title=<span id="Member of Organization">Member of Organization(s)</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Organization Member|dpl={{#dpl:
{{!}}}
+
| category={{fixtick|{{SUBPAGENAME}}}} Organization Member
}}{{#ifexpr: {{PAGESINCAT:Quest Involving {{Fixtick|{{SUBPAGENAME}}}}}} > 0 |  
+
| columns={{#ifexpr: {{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Organization Member|R}} > 8 | 3 |1}}
{{{!}} class="collapsible" style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
 
! align="left" {{!}}<div style="font-size:18px;">Involved in Quests</div>[[File:Divider3.png|link=]]
 
{{!}}-
 
{{!}}style="font-size:12px;"{{!}}
 
{{#dpl:
 
| category=Quest Involving {{Fixtick|{{SUBPAGENAME}}}}
 
| notcategory=Archived
 
| notcategory=Outdated 1.x Articles
 
| columns={{#ifexpr: {{PAGESINCAT:Quest Involving {{Fixtick|{{SUBPAGENAME}}}}}} > 8 | 3 |1}}
 
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 +
| allowcachedresults=true
 +
| dplcache=involvedinorganization{{SUBPAGENAME}}-2
 
| suppresserrors=true
 
| suppresserrors=true
}}
+
}}}}
{{!}}}
+
{{!}}}{{#if:{{{Trades|}}}|{{CList2|Title=Trades|dpl= {{Header|columns=7|width1=5%|width2=20%|width3=5%|width4=10%|width5=30%|width6=5%|width7=5%|tablecolor=GEtable||Item|Level|Requires|Stats|Set|Cost&nbsp;&nbsp;&nbsp;&nbsp;}}
}}{{#if:{{{Sells|}}}|
+
{{{Trades}}}
{{{!}} style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
+
{{XIVboxFooter}}}}  <!-- slight cheat here, should be it's own template -->
! align="left" {{!}}<div style="font-size:18px;">Sells</div>[[File:Divider3.png|link=]]
+
}}{{#if:{{{TabbedTrades|}}}|{{CList2|Title=Trades|dpl=
{{!}}-
+
{{{TabbedTrades}}}
{{Header|columns=2|tablecolor=GEtable|Item|Price}}
+
}}}}{{#if:{{{Sells|}}}|[[Category:Merchant named {{fixand|{{fixtick|{{PAGENAME}}}}}}]]{{CList2|Title=Sells|dpl= {{Header|columns=7|width1=5%|width2=20%|width3=5%|width4=10%|width5=30%|width6=5%|width7=5%|tablecolor=GEtable||Item|Level|Requires|Stats|Set|Cost&nbsp;&nbsp;&nbsp;&nbsp;}}
 
{{{Sells}}}
 
{{{Sells}}}
{{!}}}
+
{{XIVboxFooter}}}} <!-- slight cheat here, should be it's own template -->
}}{{#if:{{{Additional Dialogue|}}}|
+
}}{{#if:{{{TabbedSells|}}}|[[Category:Tabbedsells]][[Category:Merchant named {{fixand|{{fixtick|{{PAGENAME}}}}}}]]{{CList2|Title=Sells|dpl=
{{{!}} style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
+
{{{TabbedSells}}}
! align="left" {{!}}<div style="font-size:18px;">Additional Dialogue</div>[[File:Divider3.png|left|link=]]
+
}}}}{{#if:{{{Tab1|}}}|[[Category:Tabbedsellssub]][[Category:Merchant named {{fixand|{{fixtick|{{PAGENAME}}}}}}]]{{CList2|Title=Sells|dpl=
{{!}}-
+
{{TabbedSellsSub|Name={{{Name}}}|Tab1={{{Tab1|}}}|Tab2={{{Tab2|}}}|Tab3={{{Tab3|}}}|Tab4={{{Tab4|}}}|Tab5={{{Tab5|}}}|Tab6={{{Tab6|}}}|Tab7={{{Tab7|}}}|Tab8={{{Tab8|}}}|Tab9={{{Tab9|}}}|Tab10={{{Tab10|}}}|Tab11={{{Tab11|}}}|Tab12={{{Tab12|}}}|Tab13={{{Tab13|}}}|Tab14={{{Tab14|}}}|Tab15={{{Tab15|}}}|Tab16={{{Tab16|}}}|Tab17={{{Tab17|}}}|Tab18={{{Tab18|}}}|Tab19={{{Tab19|}}}|Tab20={{{Tab20|}}}|Tab21={{{Tab21|}}}|Tab22={{{Tab22|}}}|Tab23={{{Tab23|}}}|Tab24={{{Tab24|}}}|Tab25={{{Tab25|}}}|Tab26={{{Tab26|}}}|Tab27={{{Tab27|}}}|Tab28={{{Tab28|}}}|Tab29={{{Tab29|}}}|Tab30={{{Tab30|}}}|Tab31={{{Tab31|}}}|Tab32={{{Tab32|}}}|Tab33={{{Tab33|}}}|Tab34={{{Tab34|}}}|Tab35={{{Tab35|}}}|Tab36={{{Tab36|}}}|Tab37={{{Tab37|}}}|Tab38={{{Tab38|}}}|Tab39={{{Tab39|}}}|Tab40={{{Tab40|}}}}}}}}}
{{!}}
+
{{#if:{{{Tabs|}}}|{{{Tabs}}}}}
{{{Pre-Calamity Dialogue}}}
+
{{ARR Infobox Bottom
{{!}}}
+
|Additional Dialogue={{{Additional Dialogue|}}}
}}{{#if:{{{Pre-Calamity Dialogue|}}}|
+
|Pre-Calamity Dialogue={{{Pre-Calamity Dialogue|}}}
{{{!}} style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
+
|Lore={{{Lore|}}}
! align="left" {{!}}<div style="font-size:18px;">Pre-Calamity Dialogue</div>[[File:Divider3.png|left|link=]]
+
|Full Biography={{{Full Biography|}}}
{{!}}-
+
|Etymology={{{Etymology|}}}
{{!}}
+
|Walkthrough={{{Walkthrough|}}}
{{{Pre-Calamity Dialogue}}}
+
|Journal={{{Journal|}}}
{{!}}}
+
|Strategy={{{Strategy|}}}
}}{{#if:{{{Biography|}}}|
+
|Notes={{{Notes|}}}
{{{!}} class="collapsible" style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
+
|Images={{{Images|}}}
! align="left" {{!}}<div style="font-size:18px;">Biography</div>[[File:Divider3.png|left|link=]]
 
{{!}}-
 
{{!}}{{{Biography}}}
 
{{!}}}
 
}}{{#if:{{{Etymology|}}}|
 
{{{!}} class="collapsible" style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
 
! align="left" {{!}}<div style="font-size:18px;">Etymology</div>[[File:Divider3.png|left|link=]]
 
{{!}}-
 
{{!}}{{{Etymology}}}
 
{{!}}}
 
}}{{#if:{{{Images|}}}|
 
{{{!}} class="collapsible" style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
 
! align="left" {{!}}<div style="font-size:18px;">Screen Shots</div>[[File:Divider3.png|left|link=]]
 
{{!}}-
 
{{!}}
 
{{#tag:gallery|
 
{{#arraydefine:Images|{{{Images}}}}}{{#arraysort:Images|asc}}{{#arrayslice:Image1|Images|0|1}}{{#arrayslice:Image2|Images|1|1}}{{#arrayslice:Image3|Images|2|1}}{{#arrayslice:Image4|Images|3|1}}{{#arrayslice:Image5|Images|4|1}}{{#arrayslice:Image6|Images|5|1}}{{#arrayslice:Image7|Images|6|1}}{{#arrayslice:Image8|Images|7|1}}{{#arrayslice:Image9|Images|8|1}}{{#arrayslice:Image10|Images|9|1}}
 
{{#arrayprint:Image1||@@@@|File:@@@@}}
 
{{#arrayprint:Image2||@@@@|File:@@@@}}
 
{{#arrayprint:Image3||@@@@|File:@@@@}}
 
{{#arrayprint:Image4||@@@@|File:@@@@}}
 
{{#arrayprint:Image5||@@@@|File:@@@@}}
 
{{#arrayprint:Image6||@@@@|File:@@@@}}
 
{{#arrayprint:Image7||@@@@|File:@@@@}}
 
{{#arrayprint:Image8||@@@@|File:@@@@}}
 
{{#arrayprint:Image9||@@@@|File:@@@@}}
 
{{#arrayprint:Image10||@@@@|File:@@@@}}
 
 
}}
 
}}
{{!}}}
+
[[Category:NPC]]{{#if:{{{Patch|}}}||[[Category:Unknown Patch]]}}
}}
+
<!-- Spacer -->
{| style="padding:1em 0.3em 0em 0.3em; border:none; width:100%; float:left;"
+
{{#forargs:Location| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{SetGeoVars2|{{{Location {{#var:ik}}|nosuch}}}}}{{#if:{{#var:world}}|[[Category:World:{{#var:world}}]][[Category:{{#var:world}} NPC]]}}{{#if:{{#var:landmass}}|[[Category:Landmass:{{#var:landmass}}]][[Category:{{#var:landmass}} NPC]]}}{{#if:{{#var:region}}|[[Category:Region:{{#var:region}}]][[Category:{{#var:region}} NPC]]}}{{#if:{{#var:subregion}}|[[Category:Subregion:{{#var:subregion}}]][[Category:{{#var:subregion}} NPC]]}}{{#if:{{#var:zone}}|[[Category:Zone:{{#var:zone}}]][[Category:{{#var:zone}} NPC]]}}{{#if:{{#var:area}}|[[Category:Area:{{#var:area}}]][[Category:{{Fixand|{{#var:area}}}} NPC]][[Category:{{#var:area}} NPC]]}}{{#if:{{#var:landmark}}|[[Category:Landmark:{{#var:landmark}}]][[Category:{{#var:landmark}} NPC]][[Category:{{Fixand|{{#var:landmark}}}} NPC]]}}
! align="left" |<div style="font-size:18px;">Notes</div>[[File:Divider3.png|left|link=]]
+
<!-- Spacer -->
|-
+
{{#if:{{{Location {{#var:ik}} FATE|}}}|[[Category:FATE NPC]][[Category:{{{FATE|}}} NPC]][[Category:{{#var:zone}} FATE NPC]]{{#if:{{#var:area|}}|[[Category:{{#var:area}} FATE NPC]]}}{{#if:{{#var:landmark|}}|[[Category:{{#var:landmark}} FATE NPC]]}}|}}
|{{{Notes|}}}
+
<!-- Spacer -->
|}
+
{{#if:{{{Location {{#var:ik}} Quest|}}}|[[Category:Quest NPC]][[Category:{{{Quest|}}} NPC]][[Category:{{#var:zone}} Quest NPC]]{{#if:{{#var:area|}}|[[Category:{{#var:area}} Quest NPC]]}}{{#if:{{#var:landmark|}}|[[Category:{{#var:landmark}} Quest NPC]]}}|}}
{{!}}}
+
<!-- Spacer -->
[[Category:NPC]]{{#forargs:Zone| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>{{#if:{{{Zone {{#var:ik}} Location|}}}|[[Category:Landmark:{{{Zone {{#var:ik}} Location|}}}]][[Category:{{{Zone {{#var:ik}} Location|}}} NPC]]}}{{#if:{{{Zone {{#var:ik}} SubLocaton|}}}|[[Category:Landmark:{{{Zone {{#var:ik}} Sublocation|}}}]][[Category:{{{Zone {{#var:ik}} Sublocation|}}} NPC]]}}{{#if:{{{Zone {{#var:ik}}|}}}|[[Category:Zone:{{{Zone {{#var:ik}}|}}}]][[Category:{{{Zone {{#var:ik}}|}}} NPC]][[Category:Region:{{Zone2Region|Zone={{{Zone {{#var:ik}}|}}}}}]][[Category:{{Zone2Region|Zone={{{Zone {{#var:ik}}|}}}}} NPC]]}}}}}}}}</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>__NOEDITSECTION__ __NOTOC__
+
{{#if:{{{Location {{#var:ik}} Event|}}}|[[Category:Event NPC]][[Category:{{{Location {{#var:ik}} Event|}}} NPC]][[Category:{{#var:zone}} Event NPC]][[Category:{{PAGENAME}} Involved in Event]]{{#if:{{#var:area|}}|[[Category:{{#var:area}} Event NPC]]}}{{#if:{{#var:landmark|}}|[[Category:{{#var:landmark}} Event NPC]]}}|}}
 
+
<!-- Spacer -->
{{#if:{{{Affiliation|}}}|{{Nation Switch|iconsize=50px|Nation={{{Affiliation}}}}}}}
+
{{#if:{{{Location {{#var:ik}} Levequest|}}}|[[Category:Levequest NPC]][[Category:{{{Levequest|}}} NPC]][[Category:{{#var:zone}} Levequest NPC]]{{#if:{{#var:area|}}|[[Category:{{#var:area}} Levequest NPC]]}}{{#if:{{#var:landmark|}}|[[Category:{{#var:landmark}} Levequest NPC]]}}|}}
 +
<!-- Spacer -->
 +
{{#if:{{{Location {{#var:ik}} Guildhest|}}}|[[Category:Guildhest NPC]][[Category:{{{Guildhest|}}} NPC]][[Category:{{#var:zone}} Guildhest NPC]]{{#if:{{#var:area|}}|[[Category:{{#var:area}} Guildhest NPC]]}}{{#if:{{#var:landmark|}}|[[Category:{{#var:landmark}} Guildhest NPC]]}}|}}
 +
<!-- Spacer -->
 +
{{#if:{{{Location {{#var:ik}} Cutscene|}}}|[[Category:Cutscene NPC]][[Category:{{{Cutscene|}}} NPC]][[Category:{{#var:zone}} Cutscene NPC]]{{#if:{{#var:area|}}|[[Category:{{#var:area}} Cutscene NPC]]}}{{#if:{{#var:landmark|}}|[[Category:{{#var:landmark}} Cutscene NPC]]}}|}}
 +
<!-- Spacer -->
 +
}}}}}}
 +
{{!}}}<br clear="all" />[[Category:Demographics:{{Raceswitch|Race={{{Race}}}}} NPC]][[Category:Demographics:{{Genderswitch|Gender={{{Gender}}}}} NPC]][[Category:Demographics:{{Clanswitch|Clan={{{Clan}}}}} NPC]][[Category:Demographics:{{Raceswitch|Race={{{Race}}}}} {{Clanswitch|Clan={{{Clan}}}}} NPC]][[Category:Demographics:{{Raceswitch|Race={{{Race}}}}} {{Genderswitch|Gender={{{Gender}}}}} NPC]][[Category:Demographics:{{Clanswitch|Clan={{{Clan}}}}} {{Genderswitch|Gender={{{Gender}}}}} NPC]][[Category:Demographics:{{Raceswitch|Race={{{Race}}}}} {{Clanswitch|Clan={{{Clan}}}}} {{Genderswitch|Gender={{{Gender}}}}} NPC]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>__NOEDITSECTION__ __NOTOC__
 +
<br><references/>

Revision as of 01:08, 6 October 2019

Qmark.gif
This template is in need of documentation, please document the template with relevant details.