Difference between revisions of "Template:NPCMap"

Line 3: Line 3:
 
   | <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>{{#ifeq:{{SUBPAGENAME}}|Map|[[Category:NPC Maps]]}}{{#ifeq:{{#titleparts: {{PAGENAME}} | -1 | -2 }}|Map|[[Category:NPC Maps]]}}<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
}}[[Image:{{{base}}}|{{{base_width|550px}}}{{#ifeq:{{{base_link|{{PAGENAME}}}}}|file:||{{!}}link={{{base_link|{{PAGENAME}}}}}}}|alt={{{base_alt|}}}|{{{base_caption|}}}]]</div>{{#ifeq:{{SUBPAGENAME}}|Map|[[Category:NPC Maps]]}}{{#ifeq:{{#titleparts: {{PAGENAME}} | -1 | -2 }}|Map|[[Category:NPC Maps]]}}<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 19:19, 11 September 2019

[[Image:{{{base}}}|550px|link=NPCMap|alt=|]]