Difference between revisions of "Template:ARR Infobox NPC2"

(24 intermediate revisions by 2 users not shown)
Line 43: Line 43:
 
{{!}}-{{!}}
 
{{!}}-{{!}}
 
Map=  
 
Map=  
test
+
{{#if:{{{Location 2|}}}|This NPC is found in multiple locations.  The map below shows where the NPC is ''first'' encountered.}}
 +
{{#vardefine:map|
 +
{{#dpl:
 +
|  titlematch= {{BASEPAGENAME}}/Map/%
 +
|  distinct = strict
 +
|  format  = ,\n%TITLE%,,
 +
|  mode=userformat
 +
| count=1
 +
|  noresultsheader = [[Category:NPC Map Needed]]
 +
}}}}{{:{{#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 23:34, 11 September 2019

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