Difference between revisions of "Template:LevelMap"

From Drawn to Life Wiki
(Added sections up to 7)
(added instructions)
Line 1: Line 1:
{{#switch: <!--
+
<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.
 +
</noinclude>{{#switch: <!--
 
-->{{#ifeq:{{{8|x}}}|{{{8|}}}| 8 | <!--
 
-->{{#ifeq:{{{8|x}}}|{{{8|}}}| 8 | <!--
 
-->{{#ifeq:{{{7|x}}}|{{{7|}}}| 7 | <!--
 
-->{{#ifeq:{{{7|x}}}|{{{7|}}}| 7 | <!--

Revision as of 13:51, 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.

Template was called, but no parameters were provided.