Difference between revisions of "Template:NPCMap"

Line 1: Line 1:
<div style="position: relative; width: {{{base_width|550px}}};{{#switch:{{{align|}}}|left=float:left; clear:left;|right=float:right; clear:right;|center=margin-left:auto; margin-right:auto;|#default=}}">{{
+
<noinclude>{{/Documentation}}</noinclude><includeonly><div style="position: relative; width: {{{base_width|550px}}};{{#switch:{{{align|}}}|left=float:left; clear:left;|right=float:right; clear:right;|center=margin-left:auto; margin-right:auto;|#default=}}">{{
 
#if: {{{x|}}}  
 
#if: {{{x|}}}  
 
   | <div style="position: absolute; left: {{{x|0}}}px; top: {{{y|0}}}px; padding: 0;"><!--
 
   | <div style="position: absolute; left: {{{x|0}}}px; top: {{{y|0}}}px; padding: 0;"><!--
 
       -->[[Image:{{{float|Player1_Icon.png}}}|{{{float_width|16px}}}{{#ifeq:{{{float_link|}}}|file:||{{!}}link={{{float_link|}}}}}|alt={{{float_alt|}}}|{{{float_caption|}}}]]</div>
 
       -->[[Image:{{{float|Player1_Icon.png}}}|{{{float_width|16px}}}{{#ifeq:{{{float_link|}}}|file:||{{!}}link={{{float_link|}}}}}|alt={{{float_alt|}}}|{{{float_caption|}}}]]</div>
}}[[Image:{{{base}}}|{{{base_width|550px}}}{{#ifeq:{{{base_link|file:}}}|file:||{{!}}link={{{base_link|file:}}}}}|alt={{{base_alt|}}}|{{{base_caption|}}}]]</div><noinclude>[[Category:NPC Maps]][[Category:Templates|{{PAGENAME}}]]</noinclude>
+
}}[[Image:{{{base}}}|{{{base_width|550px}}}{{#ifeq:{{{base_link|file:}}}|file:||{{!}}link={{{base_link|file:}}}}}|alt={{{base_alt|}}}|{{{base_caption|}}}]]</div></includeonly>[[Category:NPC Maps]]<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 14:46, 11 September 2019