Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 07:08, 3 August 2025 by imported>Keplare (Created page with "<div class="plainlist {{{class|}}}" {{#if:{{{style|}}}{{{indent|}}}|style="{{#if:{{{indent|}}}|margin-left: {{#expr:{{{indent}}}*1.6}}em;}} {{{style|}}}"}}>{{#if:{{{1|}}}| {{{1}}} </div>}}<noinclude></div>{{/doc}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.)

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 line
  • class= adds custom CSS classes to the containing div
  • indent= 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

Template:Plainlistend

{{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

Template:TemplateData