Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
# Height constraint (in pixels, without the "px") — ''optional'' | # Height constraint (in pixels, without the "px") — ''optional'' | ||
# Width constraint (in pixels, without the "px") — ''optional'' | # Width constraint (in pixels, without the "px") — ''optional'' | ||
There is also an optional parameter: <tt>imagewidth</tt> to modify the size of the image itself, rather than the boundaries of the scrollbox. | |||
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. | 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. | ||
<noinclude>[[Category:Template documentation|S]]</noinclude> | <noinclude>[[Category:Template documentation|S]]</noinclude> |