Fandom Developers Wiki

List outputs various kinds of lists. It supports bulleted, unbulleted, horizontal, ordered, and horizontal ordered lists. It allows for easy css styling of the list or of the individual list items. Full documentation is available on Wikipedia.

Installation[]

  1. Install the Lua module:
  2. Install the CSS styles by copying the default styles to your MediaWiki:Common.css.

Usage[]

Basic usage[]

{{#invoke:List|function|first item|second item|third item|...}}

All parameters[]

{{#invoke:List|function
|first item|second item|third item|...
|start           = start number for ordered lists
|list_style_type = type of marker for ordered lists (uses CSS)
|class           = class
|style           = style
|list_style      = style for the list
|item_style      = style for all list items
|item1_style     = style for the first item |item2_style = style for the second item |...
|item1_value     = value for the first item |item2_value = value for the second item |...
(for ordered lists only)
|indent          = indent for horizontal lists
}}

Functions[]

Function name Produces Example output
bulleted Bulleted lists
  • First item
  • Second item
  • Third item
unbulleted Unbulleted lists
  • First item
  • Second item
  • Third item
horizontal Horizontal bulleted lists
  • First item
  • Second item
  • Third item
ordered Ordered lists (numbered lists and alphabetical lists)
  1. First item
  2. Second item
  3. Third item
horizontal_ordered Horizontal ordered lists
  1. First item
  2. Second item
  3. Third item