Template:SMW map: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#tag:imagemap|
{{#tag:imagemap|
File:Dinosaur Land.PNG{{!}}{{{align|right}}}{{!}}{{{class|thumb}}}{{!}}{{{size|x230px}}}{{!}}Click an area to open the relevant article.
File:Dinosaur Land SMW map.png{{!}}{{{align|right}}}{{!}}{{{class|thumb}}}{{!}}{{{size|x230px}}}{{!}}class=notpageimage{{!}}Click an area to open the relevant article.
circle 60 370 70 [[Yoshi's Island (place)]]
circle 60 370 70 [[Yoshi's Island (location)]]
circle 120 220 90 [[Donut Plains]]
circle 120 220 90 [[Donut Plains]]
circle 210 100 60 [[Vanilla Dome]]
circle 210 100 60 [[Vanilla Dome]]
Line 11: Line 11:
}}<noinclude>
}}<noinclude>
==Usage==
==Usage==
<pre>{{SMWmap|size=x230px|align=right|class=thumb}}</pre>
<pre>{{SMW map|size=x230px|align=right|class=thumb}}</pre>
*Change <code>x230px</code> to the size in pixels (use an 'x' before the size to adjust the height instead)
*Change <code>x230px</code> to the size in pixels (use an 'x' before the size to adjust the height instead)
*Change <code>right</code> to where you want to align the templates (right, center or left)
*Change <code>right</code> to where you want to align the templates (right, center or left)
Line 18: Line 18:
If an option is omitted, the mentioned options are used as default.
If an option is omitted, the mentioned options are used as default.
==Example==
==Example==
<pre>{{SMWmap|align=center|size=x300px}}</pre>
<pre>{{SMW map|align=center|size=x300px}}</pre>
outputs:
outputs:
{{SMWmap|align=center|size=x300px}}
{{SMW map|align=center|size=x300px}}
[[Category:Image map templates]]</noinclude>
[[Category:Image map templates]]</noinclude>

Latest revision as of 13:32, February 12, 2023

Yoshi's Island (location)Donut PlainsVanilla DomeTwin BridgesForest of IllusionChocolate IslandValley of BowserStar WorldDinosaur Land world map, as seen in Super Mario World.
Click an area to open the relevant article.

Usage

{{SMW map|size=x230px|align=right|class=thumb}}
  • Change x230px to the size in pixels (use an 'x' before the size to adjust the height instead)
  • Change right to where you want to align the templates (right, center or left)
  • Change frame to adjust how the map is rendered.

If an option is omitted, the mentioned options are used as default.

Example

{{SMW map|align=center|size=x300px}}

outputs:

Yoshi's Island (location)Donut PlainsVanilla DomeTwin BridgesForest of IllusionChocolate IslandValley of BowserStar WorldDinosaur Land world map, as seen in Super Mario World.
Click an area to open the relevant article.