Difference between revisions of "Template:Scroll box"

From TheHolo.Net Forums Wiki

Jump to:navigation, search
(New page: <table cellpadding="0" cellspacing="0" border="0" style="clear:both; width:{{{width|100%}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflo...)
 
Line 1: Line 1:
<table cellpadding="0" cellspacing="0" border="0" style="clear:both; width:{{{width|100%}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflow:auto; height:230px; width:100%;  -moz-border-radius-topleft:1em; border:1px solid #AAAAAA; padding-left:0.5em; background:transparent;">
+
<table cellpadding="0" cellspacing="0" border="0" style="clear:both; width:{{{width|100%}}}; height:{{{height|230px}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflow:auto; height:230px; width:100%;  -moz-border-radius-topleft:1em; border:1px solid #AAAAAA; padding-left:0.5em; background:transparent;">
 
{{{content|{{{1}}}}}}
 
{{{content|{{{1}}}}}}
 
</div></td><td style="width:8px;"></td></tr></table><noinclude>__NOTOC__
 
</div></td><td style="width:8px;"></td></tr></table><noinclude>__NOTOC__
Line 10: Line 10:
 
</nowiki></pre>
 
</nowiki></pre>
  
NOTE: An optional '''width''' variable can be used to control the width of the scroll box:
+
NOTE: Optional '''width''' and '''height''' variables can be used to control the size of the scroll box:
 
<pre><nowiki>
 
<pre><nowiki>
 
{{scroll box
 
{{scroll box
 
|width=75%
 
|width=75%
 +
|height=230px
 
|content=
 
|content=
  

Revision as of 00:37, 10 May 2016

{{{1}}}

Usage instructions

{{scroll box
|content=

}}

NOTE: Optional width and height variables can be used to control the size of the scroll box:

{{scroll box
|width=75%
|height=230px
|content=

}}

Example

Code

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

{{scroll box|
*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