Difference between revisions of "Template:NPCMap2"

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}}}|link={{#ifeq:{{#titleparts: {{PAGENAME}} | -1 | -2 }}|Map|{{{zone}}}|{{PAGENAME}}/Map/{{{npc_id}}}}}|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}}}|link={{#ifeq:{{#titleparts: {{PAGENAME}} | -1 | -2 }}|Map|{{{zone}}}|{{PAGENAME}}/Map/{{{npc_id}}}}}|alt={{{base_alt|}}}|{{{base_caption|}}}]]</div>{{#ifeq:{{SUBPAGENAME}}|Map|[[Category:NPC Maps]]}}{{#ifeq:{{#titleparts: {{PAGENAME}} | -1 | -2 }}|Map|[[Category:NPC Maps]]}}{{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}||[[Category:Orphaned subpages]]}}<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 20:05, 11 September 2019

[[Image:{{{base}}}|550px|link=NPCMap2/Map/{{{npc_id}}}|alt=|]]