Difference between revisions of "Template:ARR Infobox NPC2"

(27 intermediate revisions by the same user not shown)
Line 41: Line 41:
 
{{{Biography|}}}
 
{{{Biography|}}}
 
}}
 
}}
{{#ifexist: {{PAGENAME}}/Map |
 
 
{{!}}-{{!}}
 
{{!}}-{{!}}
 
Map=  
 
Map=  
{{:{{PAGENAME}}/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:{{#if:{{{Image|}}}|{{{Image}}}|{{{Name}}}.png}}{{!}}{{{Image Width|220}}}px]]
 
|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]]
Line 139: Line 148:
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=involvedinleves{{SUBPAGENAME}}1a
+
| dplcache=involvedinleves{{SUBPAGENAME}}-2
 
| suppresserrors=true
 
| suppresserrors=true
}}}}{{CList2|Title=<span id="Involved in Quests">Involved in Quests</span>|CountCat=Quest Involving {{fixtick|{{SUBPAGENAME}}}}|dpl={{#dpl:
+
}}}}{{CList8|Title=<span id="Involved in Quests">Involved in Quests</span>|CountCat=Quest Involving {{fixtick|{{SUBPAGENAME}}}}|dpl={{#dpl:
 
| namespace=
 
| namespace=
 
| category=Quest Involving {{Fixtick|{{SUBPAGENAME}}}}
 
| category=Quest Involving {{Fixtick|{{SUBPAGENAME}}}}
 +
| includesubpages=false
 
| columns={{#ifexpr: {{PAGESINCAT:Quest Involving {{Fixtick|{{SUBPAGENAME}}}}|R}} > 8 | 3 |1}}
 
| columns={{#ifexpr: {{PAGESINCAT:Quest Involving {{Fixtick|{{SUBPAGENAME}}}}|R}} > 8 | 3 |1}}
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=involvedinquests{{SUBPAGENAME}}1a
+
| dplcache=involvedinquests{{SUBPAGENAME}}-2
 
| suppresserrors=true
 
| suppresserrors=true
 
}}}}{{CList2|Title=<span id="Involved in FATEs">Involved in FATEs</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Involved in FATE|dpl={{#dpl:
 
}}}}{{CList2|Title=<span id="Involved in FATEs">Involved in FATEs</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Involved in FATE|dpl={{#dpl:
Line 154: Line 164:
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=involvedinfates{{SUBPAGENAME}}1a
+
| dplcache=involvedinfates{{SUBPAGENAME}}-2
 
| suppresserrors=true
 
| suppresserrors=true
 
}}}}{{CList2|Title=<span id="Involved in Guildhests">Involved in Guildhests</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Involved in Guildhest|dpl={{#dpl:
 
}}}}{{CList2|Title=<span id="Involved in Guildhests">Involved in Guildhests</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Involved in Guildhest|dpl={{#dpl:
Line 161: Line 171:
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=involvedinguildhests{{SUBPAGENAME}}1a
+
| dplcache=involvedinguildhests{{SUBPAGENAME}}-2
 
| suppresserrors=true
 
| suppresserrors=true
 
}}}}{{CList2|Title=<span id="Involved in Obsolete Quests">Pre-Calamity Involvement</span>|CountCat=Obsolete Quest Involving {{fixtick|{{SUBPAGENAME}}}}|dpl={{#dpl:
 
}}}}{{CList2|Title=<span id="Involved in Obsolete Quests">Pre-Calamity Involvement</span>|CountCat=Obsolete Quest Involving {{fixtick|{{SUBPAGENAME}}}}|dpl={{#dpl:
Line 168: Line 178:
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=involvedinobsoletequest{{SUBPAGENAME}}1a
+
| 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:
 
}}}}{{CList2|Title=<span id="Member of Organization">Member of Organization(s)</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Organization Member|dpl={{#dpl:
Line 175: Line 185:
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| format  = ,\n* [[%PAGE%{{!}}%TITLE%]],,
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=involvedinorganization{{SUBPAGENAME}}1a
+
| dplcache=involvedinorganization{{SUBPAGENAME}}-2
 
| suppresserrors=true
 
| suppresserrors=true
 
}}}}
 
}}}}

Revision as of 01:08, 6 October 2019

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