Template:GameClass Scrollbox: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
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|100%}}} | <div style="overflow: auto; height: {{{height|200px}}}; {{{width|100%}}}; border: 1px solid black; background-color: #D2DDE3; padding: 5px; overflow-{{{dir|y}}}: scroll;"> | ||
{{{content|{{{1}}}}}} | {{{content|{{{1}}}}}} | ||
</div> | </div> | ||
Line 10: | Line 10: | ||
==Usage instructions== | ==Usage instructions== | ||
<pre><nowiki> | <pre><nowiki> | ||
{{ | {{GameClass Scrollbox | ||
|content= | | content = | ||
}} | }} | ||
</nowiki></pre> | </nowiki></pre> | ||
NOTE: An optional '''width''' variable can be used to control the width of the | NOTE: An optional '''width''' variable can be used to control the width of the GameClass Scrollbox: | ||
<pre><nowiki> | <pre><nowiki> | ||
{{ | {{GameClass Scrollbox | ||
|width=75% | | width = 75% | ||
|content= | | content = | ||
}} | }} | ||
Line 28: | Line 27: | ||
===Code=== | ===Code=== | ||
<pre><nowiki> | <pre><nowiki> | ||
{{ | {{GameClass Scrollbox | ||
|content= | |content= | ||
* blah | * blah | ||
Line 49: | Line 48: | ||
===Result=== | ===Result=== | ||
{{ | {{GameClass Scrollbox | ||
|content= | |content= | ||
* blah | * blah | ||
Line 70: | Line 69: | ||
===Alternative code=== | ===Alternative code=== | ||
<pre><nowiki> | <pre><nowiki> | ||
{{ | {{GameClass Scrollbox| | ||
* blah | * blah | ||
* blah | * blah | ||
Line 90: | Line 89: | ||
===Result=== | ===Result=== | ||
{{ | {{GameClass Scrollbox| | ||
* blah | * blah | ||
* blah | * blah |
Revision as of 07:53, 9 September 2023
{{{1}}} |
Usage instructions
{{GameClass Scrollbox | content = }}
NOTE: An optional width variable can be used to control the width of the GameClass Scrollbox:
{{GameClass Scrollbox | width = 75% | content = }}
Example
Code
{{GameClass Scrollbox |content= * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah }}
Result
|
Alternative code
{{GameClass Scrollbox| * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah * blah }}
Result
|