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

Difference between revisions of "Template:Map/Image"

From Kancolle Wiki
Jump to navigation Jump to search
m
Line 3: Line 3:
 
==Parameters==
 
==Parameters==
 
===page===
 
===page===
Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>, if <code>page</code> is <code><area>/<map>/...</code>, then <code><area> <map> Map.png</code> is the file used for map image.
+
Defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>, if <code>page</code> is <code><area>/<map>/...</code>, then <code><area> <map> Map.png</code> is the file used for map image. <code><area></code> is event name for event maps or world name for regular maps.
 
 
<code><area></code> is event name for event maps or world name for regular maps.
 
 
===size===
 
===size===
 
Optional, size of the map image, defaults to 700.
 
Optional, size of the map image, defaults to 700.
Line 11: Line 9:
 
Optional, link for the map image, no link by default.
 
Optional, link for the map image, no link by default.
 
===[1]===
 
===[1]===
Use to overlay clickable nodes, see [[Template:Map/ImageNode]].
+
Use to overlay clickable nodes with [[Template:Map/ImageNode]].
 
==Examples==
 
==Examples==
 
===Just a map===
 
===Just a map===
Line 23: Line 21:
 
<pre>{{Map/Image|page=Fall 2020 Event/E-1}}</pre>
 
<pre>{{Map/Image|page=Fall 2020 Event/E-1}}</pre>
 
{{Map/Image|page=Fall 2020 Event/E-1}}
 
{{Map/Image|page=Fall 2020 Event/E-1}}
 +
==Tests==
 +
* [[Template:Map/Image/Test]]
 
</noinclude>
 
</noinclude>

Revision as of 21:13, 28 November 2020

Puts a map on the page, used on enemy pattern pages.

Parameters

page

Defaults to {{PAGENAME}}, if page is <area>/<map>/..., then <area> <map> Map.png is the file used for map image. <area> is event name for event maps or world name for regular maps.

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 with Template:Map/ImageNode.

Examples

Just a map

{{Map/Image}}

With clickable nodes

{{Map/Image|
{{Map/ImageNode|...}}
...
}}

Specifying a page

{{Map/Image|page=Fall 2020 Event/E-1}}
Fall 2020 Event E-1 Map.png

Tests