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 04:20, 15 August 2016
236 bytes added
,
8 years ago
no edit summary
Line 1:
Line 1:
+
{{#if:{{{1|}}}|<div style="position:relative;">
[[File:{{#explode:{{PAGENAME}}|/|0}} {{#explode:{{PAGENAME}}|/|1}} Map.png|{{{size|700}}}px|link={{{link|}}}]]
[[File:{{#explode:{{PAGENAME}}|/|0}} {{#explode:{{PAGENAME}}|/|1}} Map.png|{{{size|700}}}px|link={{{link|}}}]]
+
{{{1}}}
+
</div>|[[File:{{#explode:{{PAGENAME}}|/|0}} {{#explode:{{PAGENAME}}|/|1}} Map.png|{{{size|700}}}px|link={{{link|}}}]]}}
<noinclude>
<noinclude>
Puts an event map on the page, based on PAGENAME (first and second parts of it; used on enemy patterns pages).
Puts an event map on the page, based on PAGENAME (first and second parts of it; used on enemy patterns pages).
Line 8:
Line 11:
</pre>
</pre>
(has optional '''size''' and '''link''' parameters)
(has optional '''size''' and '''link''' parameters)
+
+
or
+
+
<pre>
+
{{Event/Map|
+
{{Event/MapNode|...}}
+
...
+
}}
+
</pre>
TODO: use #ifexist and have a non-existing map banner.
TODO: use #ifexist and have a non-existing map banner.
</noinclude>
</noinclude>
がか
cssedit, gkautomate
7,064
edits