Help:Scrolling list
| This page in a nutshell: A scrolling list can be inserted into project pages, and other Wikipedia pages to make some text visible while hiding other text from that same list |
A scrolling list is a series of items contained in a graphical user interface (GUI) that allows the text to be moved up, down, or across a display screen by moving a scrollbar, with new text appearing on the screen as old text disappears. Although MOS:SCROLL disfavors scrolling lists in article space because article content should be accessible on a variety of devices whereas a scrolling list hides some text, a scrolling list may be used in project namespace, such as at AfD, and other Wikipedia namespaces. For example, long lists posted at WP:AfD may be revised to be a scrolling list where it would make the AfD discussion easier to read. Tall images, wide templates, and category content tables also may be scrolled.
How to create a scrolling list
The code
- <div style="height:10em; overflow:auto; border: 2px solid #088">
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- </div>
results in the scrolling list:
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
- Page contents here
See also
- Help:Hidden text, text that is visible when editing, but not on the saved page
- MediaWiki:Categoriespagetext, category content table scrolling
- Panorama, tall, and wide image templates
- Template:Pre, wraps text that overflows the page
- Refbox, Refbox template deletion discussion
- Scrollref, Scrollref template deletion discussion
- Wide template, embeds a template in a scrollable area