Template:Scroll box: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "\[\[Category:([^\]|]+)\|{{PAGENAME}}\]\]" to "Category:$1") |
m (Text replacement - "-moz-border-radius" to "border-radius") |
||
Line 1: | Line 1: | ||
<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%}}}; | <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%}}};border-radius:0.5em; border:1px solid #AAAAAA; background:none; padding:5px; overflow-{{{dir|y}}}: scroll;"> | ||
{{{content|{{{1}}}}}} | {{{content|{{{1}}}}}} | ||
</div></td></tr></table><noinclude>__NOTOC__ | </div></td></tr></table><noinclude>__NOTOC__ |
Revision as of 13:35, May 26, 2024
{{{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
|
Alternative code
{{scroll box| *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah *blah }}
Result
|