Template:Scrollbox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
Super Mario Wiki>PikaSamus
mNo edit summary
Super Mario Wiki>Walkazo
(It's just not allowed in Proposal archives, but it's still in use on user and user talk pages, and deleting it wasn't the ultimate goal of updating the proposals anyway.)
Line 1: Line 1:
<noinclude>{{Delete|No longer allowed}}</noinclude>
<table cellpadding="0" cellspacing="0" border="0" style="width:{{{width|95%}}}"><tr><td style="background:transparent;"><div style="overflow:auto; height:{{{height|230px}}}; width:{{{width|100%}}};-moz-border-radius:0.5em; border:1px solid #AAAAAA; background:none; padding:5px; overflow-{{{dir|y}}}: scroll;">
<table cellpadding="0" cellspacing="0" border="0" style="width:{{{width|95%}}}"><tr><td style="background:transparent;"><div style="overflow:auto; height:{{{height|230px}}}; width:{{{width|100%}}};-moz-border-radius:0.5em; border:1px solid #AAAAAA; background:none; padding:5px; overflow-{{{dir|y}}}: scroll;">
{{{content|{{{1}}}}}}
{{{content|{{{1}}}}}}

Revision as of 18:46, 5 January 2012

{{{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%
|content=

}}

Example

Code

{{scroll box
|content=
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
}}

Result

Template:Scroll box

Alternative code

{{scroll box|
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
}}

Result

Template:Scroll box