Template:Scrollbox: Difference between revisions
Jump to navigation
Jump to search
m (24 revisions imported) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<table | <table style="width:{{{width|100%}}}"> | ||
<tr> | |||
<td style="background:transparent"> | |||
<div style="overflow:auto; height:{{{height|250px}}}; width:{{{width|100%}}};-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;"> | |||
{{{content|{{{1}}}}}} | {{{content|{{{1}}}}}} | ||
</div></td></tr></table><noinclude>__NOTOC__ | </div> | ||
</td> | |||
</tr> | |||
</table><noinclude>__NOTOC__ | |||
==Usage instructions== | ==Usage instructions== | ||
<pre><nowiki> | <pre><nowiki> |
Revision as of 15:59, 28 August 2022
{{{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 }}