• Home
  • Random
  • Log in
  • Settings
  • About Weezerpedia
  • Disclaimers
Weezerpedia

Template:Flatlist

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
Some or all text used in this template, module, or documentation has been borrowed from Wikipedia and modified for Weezerpedia. View the original text at Wikipedia:Template:Flatlist.
This page was last edited on May 27, 2025. The version on Wikipedia may have updated since then.
CSSThis template uses TemplateStyles:
  • Template:Hlist/styles.css

This template provides a WCAG/ISO-standards-compliant accessible alternative to comma- or dash- (or other single character-) separated lists, per WP:FLATLIST and MOS:HLIST.

Lists output by {{Flatlist}} and {{Hlist}} are semantically and visually identical, and differ only in the wiki-markup used to create the lists.

Contents

  • 1 Usage
  • 2 Examples
    • 2.1 Syntax for ordered lists
    • 2.2 Using optional parameters

Usage

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

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

For navigation boxes using {{navbox}}, one can set |listclass=hlist, and achieve the same styling without using this template. For image captions, list (i.e. asterisk) markup does not work, so consider using {{hlist}} instead.

Examples

{{flatlist|
* cat
* dog
* horse
* cow
* sheep
* pig
}}

produces:

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

Syntax for ordered lists

{{flatlist|
# first
# second
# third
# fourth
# fifth
# sixth
}}

produces:

  1. first
  2. second
  3. third
  4. fourth
  5. fifth
  6. sixth

Using optional parameters

{{flatlist |indent=2 
|style=border:solid 1px silver; background:lightyellow; 
|class=nowraplinks |
*''[[Alone: The Home Recordings of Rivers Cuomo]]'' (2007)
*''[[Alone II: The Home Recordings of Rivers Cuomo]]'' (2008)
*''[[Not Alone: Rivers Cuomo & Friends Live at Fingerprints]]'' (2009)
*''[[Alone III: The Pinkerton Years]]'' (2011)
*''[[Alone IV: The Blue-Pinkerton Years]]'' (2020)
*''[[Alone V: Before Weezer]]'' (2020)
*''[[Alone VI: The Black Room]]'' (2020)
*''[[Alone VII: The Green Years]]'' (2020)
*''[[Alone VIII: The Maladroit Years]]'' (2020)
*''[[Alone IX: The Make Believe Years]]'' (2020)
*''[[Alone X: The Red-Raditude-Hurley Years]]''* (2020)
*''[[Alone XI: The EWBAITE Years]]'' (2020)
*''[[Alone XII: The White Year]]'' (2020)
*''[[Alone XIII: The Pacific Daydream Black Years]]'' (2021)
*''[[Alone XIV: The Pandemic Years]]
}}

produces:

  • Alone: The Home Recordings of Rivers Cuomo (2007)
  • Alone II: The Home Recordings of Rivers Cuomo (2008)
  • Not Alone: Rivers Cuomo & Friends Live at Fingerprints (2009)
  • Alone III: The Pinkerton Years (2011)
  • Alone IV: The Blue-Pinkerton Years (2020)
  • Alone V: Before Weezer (2020)
  • Alone VI: The Black Room (2020)
  • Alone VII: The Green Years (2020)
  • Alone VIII: The Maladroit Years (2020)
  • Alone IX: The Make Believe Years (2020)
  • Alone X: The Red-Raditude-Hurley Years* (2020)
  • Alone XI: The EWBAITE Years (2020)
  • Alone XII: The White Year (2020)
  • Alone XIII: The Pacific Daydream Black Years (2021)
  • Alone XIV: The Pandemic Years
The above documentation is transcluded from Template:Flatlist/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://www.weezerpedia.com/w/index.php?title=Template:Flatlist&oldid=141407"
Last edited on 27 May 2025, at 07:57

Languages

    This page is not available in other languages.

    Weezerpedia
    • This page was last edited on 27 May 2025, at 07:57.
    • Content is available under GNU Free Documentation License 1.3 or later unless otherwise noted.
    • Privacy policy
    • About Weezerpedia
    • Disclaimers
    • Desktop