- 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"
Jump to navigation
Jump to search
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> |
Revision as of 04:20, 15 August 2016
Puts an event map on the page, based on PAGENAME (first and second parts of it; used on enemy patterns pages).
Usage:
{{Event/Map}}
(has optional size and link parameters)
or
{{Event/Map| {{Event/MapNode|...}} ... }}
TODO: use #ifexist and have a non-existing map banner.