Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Template:Map/Image
(view source)
Revision as of 06:58, 17 August 2018
37 bytes added
,
6 years ago
no edit summary
Line 1:
Line 1:
−
<includeonly>{{#vardefine:map|{{#ifeq:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}|Sandbox|{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|2}}_Map.png|{{#ifeq:{{#sub:{{{page|{{PAGENAME}}}}}|0|5}}|World|{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png|{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png}}}}}}{{#if:{{{1|}}}|<div style="position:relative;" data-map="{{#var:map}}">{{#ifexist:File:{{#var:map}}|[[File:{{#var:map}}|{{{size|700}}}px|link={{{link|}}}]]|[[File:Catbomb.png|link=]]}}{{{1}}}</div>|<div data-map="{{#var:map}}">{{#ifexist:File:{{#var:map}}|[[File:{{#var:map}}|{{{size|700}}}px|link={{{link|}}}]]|[[File:Catbomb.png|link=]]}}</div>}}</includeonly><noinclude>
+
<includeonly>{{#vardefine:map
|{{#if:{{{map|}}}|{{{map}}}_Map.png
|{{#ifeq:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}|Sandbox|{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|2}}_Map.png|{{#ifeq:{{#sub:{{{page|{{PAGENAME}}}}}|0|5}}|World|{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png|{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png
}}
}}}}}}{{#if:{{{1|}}}|<div style="position:relative;" data-map="{{#var:map}}">{{#ifexist:File:{{#var:map}}|[[File:{{#var:map}}|{{{size|700}}}px|link={{{link|}}}]]|[[File:Catbomb.png|link=]]}}{{{1}}}</div>|<div data-map="{{#var:map}}">{{#ifexist:File:{{#var:map}}|[[File:{{#var:map}}|{{{size|700}}}px|link={{{link|}}}]]|[[File:Catbomb.png|link=]]}}</div>}}</includeonly><noinclude>
Puts an [[event]] map on the page, used on enemy pattern pages.
Puts an [[event]] map on the page, used on enemy pattern pages.
==Parameters==
==Parameters==
がか
cssedit, gkautomate
7,064
edits