Template:Scroll box: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
(Created page with '<includeonly><table cellpadding="0" cellspacing="0" border="0" style="width:{{{width|100%}}}; margin-bottom:3px; margin-top:3px;"><tr><td style="background:transparent;"><div sty…')
 
(erry you probably thought I ditched this project since its been about two days. Well I was just busy since that breakfast. Anyway this how you want it?)
Line 1: Line 1:
<includeonly><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:{{{height|230px}}}; width:{{{width|100%}}}; -moz-border-radius-topleft:0.5em; border:1px solid #AAAAAA; padding-left:0.5em; background:transparent;">
<includeonly><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:{{{height|230px}}}; width:{{{width|100%}}}; border-top-left-radius:0.5em; border:1px solid #AAAAAA; padding-left:0.5em; background:transparent;">
{{{content|{{{1}}}}}}
{{{content|{{{1}}}}}}
</div></td><td style="width:8px;"></td></tr></table></includeonly><noinclude>__NOTOC__
</div></td><td style="width:8px;"></td></tr></table></includeonly><noinclude>__NOTOC__

Revision as of 18:40, 3 July 2012

Code

Code to include in article:

{{Scroll box
|content=

}}
NOTE: An optional width and height variable can be used to control the dimensions of the scroll box:
{{Scroll box
|width=75%
|height=500px
|content=

}}