Template:Scroll box: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 67: | Line 67: | ||
===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 |
Revision as of 09:23, 1 December 2014
{{{1}}} |
Usage instructions
{{scroll box |content= }}
NOTE: An optional width variable can be used to control the width of the scroll box:
{{scroll box |width=75% |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 }}
Result
|