Template:Scrolling map

Template page
Revision as of 18:11, 27 February 2010 by w:c:strategywiki>Najzere (adding imagewidth parameter)

For displaying large side-scrolling maps in a useful fashion.

Usage

{{Scrolling map|imagename.jpg|300|500}}

Parameters

  1. Image name (don't include the "Image:")
  2. Height constraint (in pixels, without the "px") — optional
  3. Width constraint (in pixels, without the "px") — optional

There is also an optional parameter: imagewidth 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.