Template:MultiColumn/doc

From Archaelund Wiki
< Template:MultiColumn
Revision as of 15:20, 21 October 2022 by MikeB (talk | contribs) (Created page with "== Description == This template controls whether a given input list is displayed in one or two columns on the Wiki page, depending on the number of distinct list elements. Sin...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This template controls whether a given input list is displayed in one or two columns on the Wiki page, depending on the number of distinct list elements. Single-column display is used below a certain limit of list elements (4 by default), two columns are used otherwise.

Usage

{{MultiColumn|<list>
|Separator = 
|Limit = 
}}

Parameters

NameRequiredDescriptionValues
SeparatorNoA character or string representing the separator between distinct list elements. Defaults to "<li>".arbitrary text
LimitNoThe minimum number of list elements needed for two-column display. Defaults to 4.non-negative number

Note that this template may also be used to format normal text in two columns by setting Limit to 0.