Template:Scroll Box

From TBATE Wiki
Revision as of 15:08, 9 January 2025 by Toby (talk | contribs) (Created page with "<includeonly><div style="width:{{{width|auto}}}; height:{{{height|190px}}}; overflow:auto; margin-bottom:3px; padding-left:0.5em; border:1px solid #AAAAAA; -moz-border-radius-topleft:0.5em; -webkit-border-top-left-radius:0.5em; border-top-left-radius:0.5em;"> {{{content|{{{1|}}}}}} </div></includeonly> <noinclude> {{Documentation}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


Description[edit source]

This template can be used to add a scroll box for lists that are too long.

To insert the references inside the scroll box, input: {{Scroll Box|<references/>}}.

Usage[edit source]

{{Scroll Box
|content=

}}

NOTE: An optional width variable can be used to control the width of the scroll box:

{{Scroll Box
|width=75%
|height=250px
|content=

}}

Example[edit source]

Code[edit source]

{{Scroll Box
|content=
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
}}

Result[edit source]

  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah


Alternative code[edit source]

{{Scroll Box
|width=75%
|content=
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
}}

Result[edit source]

  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah