Difference between revisions of "Template:LevelMap"

From Drawn to Life Wiki
(Reduced caption calls to one)
(Hidden behind reveal button)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
This template is used to place map images on article pages. It automatically derives the number of Tabber tabs to used based on user input, up to 7 positions. Example usage: <pre><nowiki>{{LevelMap|[[File:MapPart1.png|center]]|[[File:MapPart2.png|center]]}}</nowiki></pre> would produce a Tabber array with two tabs. Images placed within this template should always have the "center" parameter.
 
This template is used to place map images on article pages. It automatically derives the number of Tabber tabs to used based on user input, up to 7 positions. Example usage: <pre><nowiki>{{LevelMap|[[File:MapPart1.png|center]]|[[File:MapPart2.png|center]]}}</nowiki></pre> would produce a Tabber array with two tabs. Images placed within this template should always have the "center" parameter.
</noinclude>{{#switch: <!--
+
</noinclude>
 +
{{HiddenToggle/Button|ID=LevelMap|Title=Click to reveal map|boxcolor={{{boxcolor|#5aa7e2}}}}}
 +
{{HiddenToggle|ID=LevelMap|
 +
{{#switch: <!--
 
-->{{#ifeq:{{{8|x}}}|{{{8|}}}| 8 | <!--
 
-->{{#ifeq:{{{8|x}}}|{{{8|}}}| 8 | <!--
 
-->{{#ifeq:{{{7|x}}}|{{{7|}}}| 7 | <!--
 
-->{{#ifeq:{{{7|x}}}|{{{7|}}}| 7 | <!--
Line 109: Line 112:
 
|8=This template does not yet support values this high. Contact [[User:BakiDance]].
 
|8=This template does not yet support values this high. Contact [[User:BakiDance]].
 
|0=Template was called, but no parameters were provided.
 
|0=Template was called, but no parameters were provided.
 +
}}
 
}}
 
}}
 
<center>{{LevelMap/Caption}}</center>
 
<center>{{LevelMap/Caption}}</center>

Revision as of 14:57, 26 May 2021

This template is used to place map images on article pages. It automatically derives the number of Tabber tabs to used based on user input, up to 7 positions. Example usage:

{{LevelMap|[[File:MapPart1.png|center]]|[[File:MapPart2.png|center]]}}

would produce a Tabber array with two tabs. Images placed within this template should always have the "center" parameter.

Click to reveal map

Template was called, but no parameters were provided.

A full map of this level, including markers for Raposa, creations, enemies, and more. You can pan this map by clicking and dragging. To view the full image, right click and open it within a new tab.