Template:Scrolling Map: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
(Created page with '<includeonly><div style="{{#if:{{{2|}}}|height:{{{2}}}px;}}{{#if:{{{3|}}}|width:{{{3}}}px;}}overflow:auto">[[File:{{{1}}}]]</div></includeonly><noinclude> {{Related|Wiki Template…')
 
imported>Tlosk
(Created page with '<includeonly><div style="{{#if:{{{2|}}}|height:{{{2}}}px;}}{{#if:{{{3|}}}|width:{{{3}}}px;}}overflow:auto">[[File:{{{1}}}]]</div></includeonly><noinclude> {{Related|Wiki Template…')
 
(No difference)

Latest revision as of 21:14, 18 July 2009

Related topics: Wiki Templates

Syntax

{{Scrolling Map|<Image.jpg>|<width>|<height>}}

Usage

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

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.

For example:

{{Scrolling Map|Dereth High.png|300|300}}

displays as: