Template:SMW map: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Porplemontage moved page Template:SMWmap to Template:SMW map without leaving a redirect) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#tag:imagemap| | {{#tag:imagemap| | ||
File:Dinosaur Land SMW map.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 (location)]] | circle 60 370 70 [[Yoshi's Island (location)]] | ||
circle 120 220 90 [[Donut Plains]] | circle 120 220 90 [[Donut Plains]] | ||
Line 11: | Line 11: | ||
}}<noinclude> | }}<noinclude> | ||
==Usage== | ==Usage== | ||
<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>{{ | <pre>{{SMW map|align=center|size=x300px}}</pre> | ||
outputs: | outputs: | ||
{{ | {{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
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: