Template:Scroll box
- Description
- This template will create a box to contain informations. The box will grow up to a certain threshold, after which a scroll bar will appear on the side.
- Syntax
- Type
{{scroll box}}
at any part of the article. - Example
{{scroll box |content=Some text }}
Results in...
With more text added, the box would look like this:
Nunc euismod aliquet lectus nec fermentum. Suspendisse blandit venenatis porttitor. Donec auctor egestas magna, ut congue risus scelerisque quis. Maecenas nibh justo, vehicula et pretium semper, rhoncus vel turpis. Vestibulum at mollis lorem. Fusce sapien orci, dapibus non feugiat in, facilisis vel justo. Cras placerat diam faucibus lacus consectetur condimentum. Suspendisse potenti. Quisque mattis elit sed lectus auctor a porttitor lectus convallis. Maecenas pharetra erat at justo cursus dictum. Praesent nulla enim, bibendum non placerat id, vestibulum eget ipsum. Ut sit amet arcu neque, non facilisis ipsum. Vivamus blandit tristique interdum. Fusce in augue eget erat vehicula tempor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
An optional width variable can be used to control the width of the scroll box:
{{scroll box |width=50% |content=This is a narrow box }}
Results in...
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:Scroll box/doc. (View all subpages of this page.)