Template:Scrollable

From HandWiki
Revision as of 21:49, 1 December 2016 by imported>Jworkorg (1 revision imported: Boxes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view] [edit] [history] [purge]

Documentation

This template allows the ability to create a scrollable portion on a page. The second pararmeter "2" allows setting of the height. The first parameter "1" is the content of the scrollable pane.

Example 1
{{scrollable
|height=40
|content=

This is the content of the pane <br/>
It is scrollable from the sidescroll <br/>
The height setting for this box is 40px <br/>

}}

produces:

This is the content of the pane
It is scrollable from the sidescroll
The height setting for this box is 40px

Example 2
{{scrollable
| <!-- this is the content area -->
This is the content of the pane
<!-- this is the height parameter: -->
|20
}}

produces:

This is the content of the pane

See also