Difference between revisions of "Template:ARR Infobox NPC2"

Line 41: Line 41:
 
{{{Biography|}}}
 
{{{Biography|}}}
 
}}
 
}}
{{#ifexist: {{PAGENAME}}/Map |
 
 
{{!}}-{{!}}
 
{{!}}-{{!}}
 
Map=  
 
Map=  
 
{{#if:{{{Location 2|}}}|This NPC is found in many locations.  The map below shows where the NPC is ''first'' encountered.}}
 
{{#if:{{{Location 2|}}}|This NPC is found in many locations.  The map below shows where the NPC is ''first'' encountered.}}
{{:{{PAGENAME}}/Map}}
+
{{#vardefine:map|
}}}}
+
{{#dpl:
 +
|  titlematch= {{PAGENAME}}/Map/%
 +
|  distinct = strict
 +
|  format  = ,\n%TITLE%,,
 +
|  mode=userformat
 +
| count=1
 +
}}}}{{:{{#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]]

Revision as of 17:13, 11 September 2019

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