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 23:27, 18 March 2026 by Tyraeis (talk | contribs) (Port a simplified version of Wikipedia's plainlist template https://en.wikipedia.org/wiki/Template:Plainlist)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view] [edit] [history] [purge]

This template provides a Web Content Accessibility Guidelines/ISO-standards-compliant accessible alternative to <br /> separated lists.

Usage

{{plainlist}} starts a plain (i.e. unbulleted) list, such as:

  • cat
  • dog
  • horse
  • cow
  • sheep
  • pig


It uses proper HTML list markup, which is more standards-compliant and more accessible than separating list items with <br />.

Examples

Wikitext Renders as
{{Plainlist|
* cat
* dog
* horse
* cow
* sheep
* pig
}}
  • cat
  • dog
  • horse
  • cow
  • sheep
  • pig

Technical details

{{Plainlist}} works by constructing a div with the CSS class "plainlist" which has the styles listed in Template:Plainlist/styles.css.

Wikitext HTML
{{Plainlist|
* Example 1
* Example 2
* Example 3
}}
<div class="plainlist">
<ul>
<li>Example 1</li>
<li>Example 2</li>
<li>Example 3</li>
</ul>
</div>

See also