• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1: −
<includeonly>{{#if:{{{1|}}}|<div style="position:relative;">{{#ifexist:File:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png|[[File:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png|{{{size|700}}}px|link={{{link|}}}]]|[[File:Map_placeholder_branch.png|{{{size|700}}}px|link={{{link|}}}]]}}{{{1}}}</div>|{{#ifexist:File:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png|[[File:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png|{{{size|700}}}px|link={{{link|}}}]]|[[File:Map_placeholder_branch.png|{{{size|700}}}px|link={{{link|}}}]]}}}}</includeonly><noinclude>
+
<includeonly>{{#if:{{{1|}}}|<div style="position:relative;">{{#ifexist:File:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png|[[File:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png|{{{size|700}}}px|link={{{link|}}}]]|[[File:Map_placeholder_branch.png]]}}{{{1}}}</div>|{{#ifexist:File:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png|[[File:{{#explode:{{{page|{{PAGENAME}}}}}|/|0}}_{{#explode:{{{page|{{PAGENAME}}}}}|/|1}}_Map.png|{{{size|700}}}px|link={{{link|}}}]]|[[File:Map_placeholder_branch.png]]}}}}</includeonly><noinclude>
Puts an event map on the page, based on <code><nowiki>{{PAGENAME}}</nowiki></code> or <code>page</code> parameter (first and second parts of it; used on enemy pattern pages).
+
Puts an [[event]] map on the page, used on enemy pattern pages.
 
+
==Parameters==
Usage:
+
===page===
 +
Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>, if <code>page</code> is <code><event>/<map>/...</code>, then <code><event> <map> Map.png</code> is the file used for map image, or [http://kancolle.wikia.com/wiki/File:Map_placeholder_branch.png Map placeholder branch.png] if doesn't exists.
 +
===size===
 +
Optional, size of the map image, defaults to 700.
 +
===link===
 +
Optional, link for the map image, no link by default.
 +
===[1]===
 +
Use to overlay clickable nodes, see [[Template:Event/MapNode]].
 +
==Examples==
 +
===Just a map===
 
<pre>{{Event/Map}}</pre>
 
<pre>{{Event/Map}}</pre>
(has optional '''size''' and '''link''' parameters) or
+
===With clickable nodes===
 
<pre>{{Event/Map|
 
<pre>{{Event/Map|
 
{{Event/MapNode|...}}
 
{{Event/MapNode|...}}
cssedit, gkautomate
7,064

edits

Navigation menu