Template:Scrolling Map: Difference between revisions
From Drunkapedia
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 20:14, 18 July 2009
Related topics: Wiki Templates
Syntax
{{Scrolling Map|<Image.jpg>|<width>|<height>}}
Usage
- Image name (don't include the "Image:" or "File:", just the name)
- Height constraint (in pixels, without the "px") — optional
- 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: