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) |
m (Text replacement - "SMWmap" to "SMW map") |
||
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> |
Revision as of 10:29, April 22, 2022
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: