Template:Scrollable/doc
From HandWiki
< Template:Scrollable
Revision as of 21:51, 1 December 2016 by imported>Jworkorg (1 revision imported: Boxes)
This is a documentation subpage for Template:Scrollable It may contain usage information, categories and other content that is not part of the original template page. |
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
- Template:hidden - produces a page portion that can be hidden or displayed
- Template:Wide template
- Template:Wide image