Template:Listcol: Difference between revisions

Template page
w:c:strategywiki>Prod
(separate the examples)
w:c:strategywiki>Prod
m (Protected "Template:Listcol": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(No difference)

Revision as of 19:44, 27 May 2022

This template splits lists up into even columns, which is handy for ordered lists. The first unnamed parameter is optional and is for setting the number of columns. If omitted, the list will be split into two columns by default. The mandatory parameter |list= takes the list.

Examples

Simple two-column list:

{{listcol|list=
# one
# two
# three
# four}}
  1. one
  2. two
  3. three
  4. four

Three-column list:

{{listcol|3|list=
# one
# two
# three}}
  1. one
  2. two
  3. three