Open main menu

Changes

Template:Scroll box

1,138 bytes added, 21:29, 22 January 2011
If we're going to use it, then it needs to be serious.
<table cellpadding="0" cellspacing="0" border="0" style="width:{{{width|100%}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div style="overflow:auto; height:230px; width:{{{width|100%}}}; -moz-border-radius-topleft:0.5em; border:1px solid #AAAAAA; padding-left:0.5em; background:transparent;">
{{{content|{{{1}}}}}}
</div></td><td style="width:8px;"></td></tr></table><noinclude>

==Usage instructions==
<pre><nowiki>
{{scroll box
|content=

}}
</nowiki></pre>

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

}}
</nowiki></pre>

==Example==
===Code===
<pre><nowiki>
{{scroll box
|content=
*Lync
*Altair
*Aluze
*Skyress
*Wilda
*Ingram
*Harpus
}}
</nowiki></pre>

===Result===
{{scroll box
|content=
*Lync
*Altair
*Aluze
*Skyress
*Wilda
*Ingram
*Harpus
}}

===Alternative code===
<pre><nowiki>
{{scroll box|
*Lync
*Altair
*Aluze
*Skyress
*Wilda
*Ingram
*Harpus
}}
</nowiki></pre>

===Result===
{{scroll box|
*Lync
*Altair
*Aluze
*Skyress
*Wilda
*Ingram
*Harpus
}}
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
Anonymous user