Template:Scroll box: Difference between revisions

From FrathWiki
Jump to navigationJump to search
No edit summary
Line 25: Line 25:
<pre><nowiki>
<pre><nowiki>
{{scroll box
{{scroll box
|background=#A0CFEC
|content=
|content=
*blah
*blah

Revision as of 04:08, 13 February 2008

{{{1}}}

Usage instructions

{{scroll box
|content=

}}

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

{{scroll box
|width=75% <!-- Should be a relative value! -->
|height=10em <!-- Should be an absolute value! 1 line = 2em approx. -->
|background=
|content=

}}

Example

Code

{{scroll box
|background=#A0CFEC
|content=
*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

Alternative code

{{scroll box|
*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