Jump to content

Template:Columns-list

From Meta, a Wikimedia project coordination wiki
Template documentation

Usage

[edit]

Formats content text in several columns.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Column width1

Ideal width for the columns. You must specify the unit. “ex” is the more convenient: “15ex” means “width for 15 x letters”. Defaults to 60ex if this parameter contains content text.

Example
30ex
Stringsuggested
Content text2

Text which should be displayed in several columns.

Contentsuggested
Maximum column countmax

no description

Numberoptional

Example

[edit]
{{columns-list|35ex|2=
xxxx xxxx xxxx xxxx xxxx xxxx xxxxx xxxx xxxx xxxx xxxx
This is my long text which should be split in several columns. This may contain
* some list
* with several items
* or other things.
}}

gives:

xxxx xxxx xxxx xxxx xxxx xxxx xxxxx xxxx xxxx xxxx xxxx

This is my long text which should be split in several columns. This may contain

  • some list
  • with several items
  • or other things.

See also

[edit]