Template:Scroll: Difference between revisions
Template page
More actions
No edit summary |
mNo edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 165: | Line 165: | ||
*blah | *blah | ||
}} | }} | ||
[[Category: | [[Category:Templates]]</noinclude> | ||
Latest revision as of 18:36, 26 January 2026
{{{1}}} |
Usage instructions
{{Scroll|content=
}}
NOTE: Optional height and width variables can be used to control the width of the scroll box (height defaults to 400 pixels; the former "scroll box" template was 230 pixels):
{{Scroll|height=300px|content=
}}
{{Scroll|width=100%|content=
}}
{{Scroll|height=230px|width=100%|content=
}}
Example
Code
{{Scroll|content=
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
}}
Result
|
Alternative code
If no width or height are defined, the content= variable is not required either.
{{Scroll|
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
*blah
}}
Result
|