Template:TableList

From Fallen London Wiki
Template documentation (for the above template, sometimes hidden or invisible)

This template creates a simple unordered list intended for use in table cells.

Compared to other commonly-used ways to format table cells, it provides more spacing between items than using <br/> and more compact spacing than using <p> and both more compact and more consistent spacing than using line breaks.

Comparison

{{TableList}} <br/> <p></p> <p/> Line breaks
  • Item 1
  • Item 2
  • Item 3
Item 1
Item 2
Item 3

Item 1

Item 2

Item 3

Item 1

Item 2

Item 3

Item 1

Item 2

Item 3

Usage

This template takes positional arguments and one optional named parameter, length.

The first list items will be the positional arguments in the provided order. If length is given and is larger than the number of positional arguments, the list will be padded until there are length items.

Example

{| class="article-table"
|{{TableList|Item 1|Item 2|Item 3|Item 4}}
|{{TableList|length = 4|Item 1|Item 2}}
|}
Column 1 Column 2
  • Item 1
  • Item 2
  • Item 3
  • Item 4
  • Item 1
  • Item 2
  •  
  •  

Creates a standardized unordered list of items for use in table cells

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

no description

Unknownsuggested
22

no description

Unknownsuggested
33

no description

Unknownoptional
44

no description

Unknownoptional
55

no description

Unknownoptional

Visit Template:TableList/doc to edit this text! (How does this work?)