Template:Scrolling map/Documentation

Template page
Revision as of 18:27, 28 October 2023 by Gelthor (talk | contribs) (2 revisions imported: Imported from https://strategywiki.org/)
(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
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.