Template:Scrollbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<table style=" | <table style="{{GameClass}}"> | ||
<tr> | <tr> | ||
<td style="background:transparent"> | <td style="background:transparent"> | ||
<div style="overflow:auto; height:{{{height|250px}}}; width:{{{width|}}} | <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;"> | ||
{{{content|{{{1}}}}}} | {{{content|{{{1}}}}}} | ||
</div> | </div> |
Revision as of 03:38, 14 September 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 }}