Difference between revisions of "Template:ARR Infobox NPC2"

(53 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
{{!}}-
 
{{!}}-
 
|height="12px" width="69%" valign="top" colspan="1"|
 
|height="12px" width="69%" valign="top" colspan="1"|
 +
{{#tag:tabber|
 +
Details=
 
{{{!}} 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):}}
Line 39: Line 41:
 
{{{Biography|}}}
 
{{{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:{{#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 135: 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 150: 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 157: 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 164: 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 171: 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
 
}}}}
 
}}}}
Line 184: Line 198:
 
}}{{#if:{{{TabbedSells|}}}|[[Category:Tabbedsells]][[Category:Merchant named {{fixand|{{fixtick|{{PAGENAME}}}}}}]]{{CList2|Title=Sells|dpl=
 
}}{{#if:{{{TabbedSells|}}}|[[Category:Tabbedsells]][[Category:Merchant named {{fixand|{{fixtick|{{PAGENAME}}}}}}]]{{CList2|Title=Sells|dpl=
 
{{{TabbedSells}}}
 
{{{TabbedSells}}}
}}}}{{#if:{{{Tab1|}}}|[[Category:Tabbedsellssub]][[Category:Merchant named {{fixand|{{fixtick|{{PAGENAME}}}}}}]]{{CList2|Title=Sells|dpl={{TabbedSellsSub|Name={{{Name}}}|Tab1={{{Tab1|}}}{{#if:{{{Tab2|}}}|Tab2={{{Tab2}}}}}}}}}}}{{#if:{{{Tabs|}}}|{{{Tabs}}}}}{{ARR Infobox Bottom
+
}}}}{{#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}}}}}
 +
{{ARR Infobox Bottom
 
|Additional Dialogue={{{Additional Dialogue|}}}
 
|Additional Dialogue={{{Additional Dialogue|}}}
 
|Pre-Calamity Dialogue={{{Pre-Calamity Dialogue|}}}
 
|Pre-Calamity Dialogue={{{Pre-Calamity Dialogue|}}}

Revision as of 01:08, 6 October 2019

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