Template:Scroll box

From Hetalia Archives
Revision as of 20:56, 26 November 2017 by FH14 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
{{{2}}}

Usage instructions

{{Scroll_box|content=
}}

NOTE: Optional height and width variables can be used to control the width of the scroll box (height defaults to 400 pixels; the former "scroll box" template was 230 pixels):

{{Scroll_box|height=300px|content=
}}
{{Scroll_box|width=100%|content=
}}
{{Scroll_box|height=230px|width=100%|content=
}}

Example

Code

{{Scroll_box|15|
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
}}

Result

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

Alternative code

If no width or height are defined, the content= variable is not required either.

{{Scroll_box|
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
}}

Result

{{{2}}}