Template:Scrollbox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
Jump to navigation Jump to search
(Undo revision 334529 by SungHerSong (talk))
Tag: Undo
m (Text replacement - " border-radius:10px 0 0 10px" to "")
Line 2: Line 2:
<tr>
<tr>
<td style="background:transparent">
<td style="background:transparent">
<div style="overflow:auto; height:{{{height|250px}}}; width:{{{width|}}}%;-moz-border-radius:0.5em; border:1px solid #000000; border-radius:10px 0 0 10px; background-color:rgba(0,0,0,0.1); padding:5px; overflow-{{{dir|y}}}: scroll;">
<div style="overflow:auto; height:{{{height|250px}}}; width:{{{width|}}}%;-moz-border-radius:0.5em; border:1px solid #000000;; background-color:rgba(0,0,0,0.1); padding:5px; overflow-{{{dir|y}}}: scroll;">
{{{content|{{{1}}}}}}
{{{content|{{{1}}}}}}
</div>
</div>

Revision as of 16:47, 25 August 2023

{{{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