Template:Scroll box: Difference between revisions
(→Result) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
}} | }} | ||
</nowiki></pre> | </nowiki></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= | |width=??px | ||
|height=??px | |||
|content= | |||
*AltTest | *AltTest | ||
*AltTest | *AltTest | ||
Line 88: | Line 82: | ||
</pre> | </pre> | ||
{{scroll box | {{scroll box | ||
|height= | |width=600px | ||
|height=235px | |||
|content= | |||
*AltTest | *AltTest | ||
*AltTest | *AltTest |
Latest revision as of 09:24, 1 December 2014
{{{1}}} |
Usage instructions
{{scroll box |content= }}
Example
Code
{{scroll box |content= *Test *Test *Test *Test *Test *Test *Test *Test *Test *Test *Test *Test *Test *Test *Test *Test }}
Result
|
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.
{{scroll box |width=??px |height=??px |content= *AltTest *AltTest *AltTest *AltTest *AltTest *AltTest *AltTest *AltTest *AltTest *AltTest *AltTest *AltTest *AltTest *AltTest *AltTest }}
|