Difference between revisions of "Template:HV Infobox NPC"

Line 5: Line 5:
 
{{{!}} style="color:white; width:100%; cellpadding=0; cellspacing=0;" border=0
 
{{{!}} style="color:white; width:100%; cellpadding=0; cellspacing=0;" border=0
 
{{!}}valign="top" colspan="2" style="font-weight:bold; width: 10%;" {{!}}{{color|white|style=normal|Zone(s):}}
 
{{!}}valign="top" colspan="2" style="font-weight:bold; width: 10%;" {{!}}{{color|white|style=normal|Zone(s):}}
{{#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="2" style="height: 1ex; padding:0em 0.3em 0em 0.3em;font-weight:bold;" {{!}}{{#if:{{{Affiliation|}}}|{{color|white|style=normal|Affiliation:}}}}
Line 45: Line 39:
 
|-
 
|-
 
{{HVboxFooter}}
 
{{HVboxFooter}}
{{#if:{{{TT|}}}|[[Category:{{{Name}}} Involved in Triple Triad]]<span id="Triple Triad Player Card"></span>{{{TT}}}}}{{Refreshlink}}
+
 
 +
 
 +
 
 
{{{!}} style="border:none; width:100%; float:left;"
 
{{{!}} style="border:none; width:100%; float:left;"
 
! align="left" {{!}}<div style="font-size:18px;">Activities</div>[[File:Divider3.png{{!}}left{{!}}link=]]
 
! align="left" {{!}}<div style="font-size:18px;">Activities</div>[[File:Divider3.png{{!}}left{{!}}link=]]
Line 52: Line 48:
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"
 
{{{!}} cellpadding="0" width="100%" cellspacing="0" border="0"
 
{{!}}-
 
{{!}}-
{{!}}{{CList2|Title=<span id="Starts Quests">Starts Quests</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Started Quest|dpl={{#dpl:
+
{{!}}{{CList2|Title=<span id="Starts Levequests">Starts Levequests</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Started Levequest|dpl=<tabber>
|  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=
 
  Battlecraft=
 
{{#tag:tabber|
 
{{#tag:tabber|
Line 199: Line 182:
 
|Images={{{Images|}}}
 
|Images={{{Images|}}}
 
}}
 
}}
[[Category:NPC]]{{#if:{{{Patch|}}}||[[Category:Unknown Patch]]}}
+
[[Category:Characters]]
<!-- Spacer -->
 
{{#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]]}}
 
<!-- 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]]}}|}}
 
<!-- 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 -->
 
{{#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:{{{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 -->
 
<!-- 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 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/>
 
<br><references/>

Revision as of 02:08, 21 April 2019

{{HV Infobox NPC
|Name= 
|No Image= x
|Current Home= 
|Birthplace= 
|Quote= 
|Biography= 
|Additional Info= 
}}