Template:Endflatlist

From Captain of Industry Wiki
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

This template provides a WCAG/ISO-standards-compliant accessible alternative to comma- or dash- (or other single character-) separated lists, per 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

When piping parameters is not desired, combine with {{endflatlist}}, such as:

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

For image captions, list (i.e. asterisk) markup does not work, so consider using {{hlist}} instead.

See also

The above text is transcluded from Template:Flatlist/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:Flatlist/doc. (View all subpages of this page.)