Template:GameClass Scrollbox: Difference between revisions

MDFW - The Mystery Dungeon Tree of Information.
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%}}}; -moz-border-radius: 1rem; border: 1px solid black; border-radius:1rem 0 0 1rem; background-color: #D2DDE3; padding: 5px; overflow-{{{dir|y}}}: scroll;">
<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>
{{scroll box
{{GameClass Scrollbox
|content=
  | content =  
 
}}
}}
</nowiki></pre>
</nowiki></pre>


NOTE: An optional '''width''' variable can be used to control the width of the scroll box:
NOTE: An optional '''width''' variable can be used to control the width of the GameClass Scrollbox:
<pre><nowiki>
<pre><nowiki>
{{scroll box
{{GameClass Scrollbox
|width=75%
  | width   = 75%
|content=
  | content =  


}}
}}
Line 28: Line 27:
===Code===
===Code===
<pre><nowiki>
<pre><nowiki>
{{scroll box
{{GameClass Scrollbox
|content=
|content=
* blah
* blah
Line 49: Line 48:


===Result===
===Result===
{{scroll box
{{GameClass Scrollbox
|content=
|content=
* blah
* blah
Line 70: Line 69:
===Alternative code===
===Alternative code===
<pre><nowiki>
<pre><nowiki>
{{scroll box|
{{GameClass Scrollbox|
* blah
* blah
* blah
* blah
Line 90: Line 89:


===Result===
===Result===
{{scroll box|
{{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

  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah

Alternative code

{{GameClass Scrollbox|
* blah
* blah
* blah
* blah
* blah
* blah
* blah
* blah
* blah
* blah
* blah
* blah
* blah
* blah
* blah
}}

Result

  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah
  • blah