Template:GameClass Scrollbox: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<table class="{{GameClass}}" style="width:400px; margin:auto"> <tr> <td style="background:transparent"> <div style="overflow:auto; height:{{{height|200px}}}; {{{width|70%}}};-...") |
No edit summary |
||
Line 2: | Line 2: | ||
<tr> | <tr> | ||
<td style="background:transparent"> | <td style="background:transparent"> | ||
<div style="overflow:auto; height:{{{height|200px}}}; {{{width| | <div style="overflow:auto; height:{{{height|200px}}}; {{{width|100%}}};-moz-border-radius:0.5em; border:1px solid #000000; border-radius:10px 0 0 10px; background-color:rgba(255,255,255,0.5); padding:5px; overflow-{{{dir|y}}}: scroll;"> | ||
{{{content|{{{1}}}}}} | {{{content|{{{1}}}}}} | ||
</div> | </div> |
Revision as of 03:00, 12 October 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 }}