Template:Scroll Box/doc

From TBATE Wiki
Revision as of 15:08, 9 January 2025 by Toby (talk | contribs) (Created page with "== Description == 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: <nowiki>{{Scroll Box|<references/>}}</nowiki>. == Usage == <pre> {{Scroll Box |content= }} </pre> NOTE: An optional '''width''' variable can be used to control the width of the scroll box: <pre> {{Scroll Box |width=75% |height=250px |content= }} </pre> == Example == === Code === <pre> {{Scroll Box |content= *blah *blah...")
(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