Template:Scroll box: Difference between revisions

Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
}}
}}
</nowiki></pre>
</nowiki></pre>
NOTE: An optional '''width''' variable can be used to control the width of the scroll box:
<pre>
{{scroll box
|width=75%
|content=
}}
</pre>


==Example==
==Example==
Line 67: Line 58:


===Alternative code to manipulate size of box (Necessary for making scrolling galleries)===
===Alternative code to manipulate size of box (Necessary for making scrolling galleries)===
'''NOTE:''' If you want the box to automatically adjust to whatever content is in there, simply remove the height and width sections.
<pre>
<pre>
{{scroll box
{{scroll box
Line 90: Line 82:
</pre>
</pre>


===Result===
{{scroll box
{{scroll box
|width=600px
|height=235px
|height=235px
|content=
|content=
ninja
1,229

edits

Navigation menu