Template:Flatlist/doc

From Captain of Industry Wiki
< Template:Flatlist
Revision as of 10:05, 3 February 2022 by Thadius856 (talk | contribs) (Creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template provides a WCAG/ISO-standards-compliant accessible alternative to comma- or dash- (or other single character-) separated lists, per Wikipedia:WP:FLATLIST and Wikipedia:WP:HLIST. See Wikipedia:Template:Flatlist for full documentation.

Usage

{{flatlist}} starts a horizontal list, such as:

Markup Renders as
{{flatlist|
* cat
* dog
* horse
* cow
* sheep
* pig
}}
  • cat
  • dog
  • horse
  • cow
  • sheep
  • pig

This template can be used with or without {{endflatlist}}. For image captions, list (i.e. asterisk) markup does not work, so consider using {{hlist}} instead.

See also