Template:Scroll box: Difference between revisions

Jump to navigation Jump to search
 
(7 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 66: Line 57:




===Alternative code===
===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
|height=230px
|width=??px
|height=??px
|content=
*AltTest
*AltTest
*AltTest
*AltTest
Line 88: Line 82:
</pre>
</pre>


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

edits

Navigation menu