Template:DW/Plainlist
Template page
More actions
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template loop detected: Template:DW/Plainlist/doc
The above text is transcluded from Template:DW/Plainlist/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:DW/Plainlist/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:DW/Plainlist/doc. (View all subpages of this page.)
Plainlist takes a bulleted wikitext list and returns a plain (i.e. unbulleted) list. It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with <br />. This template was copied from Template:Wp.
Usage
{{Plainlist|List items...|class=(optional)|indent=(optional)|style=(optional)}}
where:
List items...is your bulleted list, with the first item starting on a new lineclass=adds custom CSS classes to the containing divindent=indents the list by a number of standard indents (one indent being 1.6em, the default for a bulleted list)style=adds CSS style options
Examples
| Markup | Result |
|---|---|
{{Plainlist|
* [[Cow]]
* [[Goblin]]
* Throat mage
* {{Wp|Janet Reno}}
}}
|
Template:Plainlist |
{{Plainlist}}
* [[Cow]]
* [[Goblin]]
* Throat mage
* {{Wp|Janet Reno}}
{{Plainlistend}}
|
Template:Plainlist
|
{{Plainlist|class=text-pink|indent=1|
* Garou Hunter
* Garou Berserker
* Garou Druid
* Dragon King
}}
|
Template:Plainlist |
{{Plainlist|style=color:green; background:red; border:8px ridge|
* Garou Hunter
* Garou Berserker
* Garou Druid
* Dragon King
}}
|
Template:Plainlist |