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 10:21, 13 June 2017
171 bytes added
,
7 years ago
m
Undo revision 849713 by
がか
(
talk
)
Line 1:
Line 1:
−
<includeonly>{{#vardefine:map|{{#
replace
:{{{page|{{#
titleparts
:{{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|{{#
ifeq:{{#explode
:{{{page
|{{PAGENAME}}}}}|/|0}}|Sandbox
|{{#
explode
:
{{{page|
{{PAGENAME}}
}}}|/
|1
}}_{{#explode:{{{page|{{PAGENAME
}}}}}|/|
2}}_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