Template:Scroll box

From Philosophical Vegan Wiki
Revision as of 00:50, 11 December 2017 by DrSinger (talk | contribs) (Created page with "== Usage == <div style="border: 1px #ccc solid; padding:1em;"> <code> '''{{scroll box'''<br /> '''|width='''''<span style="color:blue">width (in pixel or in percent)...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

{{scroll box
|width=width (in pixel or in percent)
|height=height (in pixel)
|text=contents
}}

The colored text should be properly replaced as here described:

width

The width of the box, expressed in pixel or in percent. (default=100%)

height

The height of the box, you should express this value exclusively in pixel. (default=230px)

contents

The text that should be displayed inside this frame. Note that the scroll bar will appear only if the text is long enough to overflow the given height. (required field, no default value)