File:Edit-copy green.svg |
This is a documentation subpage for Template:Plainlist. |
Description
This template creates a unordered list without bullets. This should be used instead of separating items using <br/>
because this template creates an unordered list in the HTML structure, allowing screen-readers and other things to recognize that this is indeed an unordered list and correctly treats it as such. For more information, see extended documentation at Wikipedia:Template:Plainlist and Wikipedia:Manual of Style/Unbulleted lists.
When space is narrow, such as in an infobox, this template automatically indents wrapped text. The indent is automatically set to 1em, but it can adjusted using indent=
or in=
. The indent can be set in em or px.
Dependencies
- Uses CSS in Template:Plainlist/styles.css
Examples
{{plainlist|* Item 1 * Item 2 * Item 3}}
- ...produces...
- Item 1
- Item 2
- Item 3
These two infoboxes are examples of the text-wrapping indentation property.
See also