w:c:strategywiki>Notmyhandle (semi colon) |
w:c:strategywiki>Notmyhandle (trying float a different way) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if:{{{float|}}}|<div style="float={{{float}}};"|}}<div style="{{#if:{{{2|}}}|height:{{{2}}}px;}}{{#if:{{{3|}}}|width:{{{3}}}px;}}overflow:auto;">[[File:{{{1}}}|{{{imagewidth|{{{1}}}}}}]]</div>{{#if:{{{float|}}}|</div>|}}</includeonly><noinclude>{{Documentation}} | ||
[[Category:Templates|S]]</noinclude> | [[Category:Templates|S]]</noinclude> |
Revision as of 17:05, 31 July 2012
This page has been transcluded from Template:Scrolling map/Documentation.
For displaying large side-scrolling maps in a useful fashion.
Usage
{{Scrolling map|imagename.jpg|300|500}}
Parameters
- Image name (don't include the "File:")
- Height constraint (in pixels, without the "px") — optional
- Width constraint (in pixels, without the "px") — optional
- Optional
- imagewidth to modify the size of the image itself, rather than the boundaries of the scrollbox.
- float: specify left or right.
If width/height aren't specified, the image will expand to either its full width/height, or the width of the page (whichever comes first). Height can't be constrained by the page.