Template:Scrolling map/Documentation

Template page
Revision as of 09:31, 6 April 2010 by w:c:strategywiki>Garrett (split from Template:Scrolling map)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 "File:")
  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.