Permanently protected template


From Wikipedia, the free encyclopedia
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]
{{Multicol|[overall width]|[gutter width]}} {{Multicol|[overall width]|[gutter width]}}
…… ……
{{Multicol-break}} {{Multicol-break}}
…… ……
{{Multicol-break}} {{Multicol-break}}
…… ……
(etc) (etc)
{{Multicol-end}} {{Multicol-end}}
Column Templates
{{Multicol}} Start
{{Multicol-break}} Break
{{Multicol-end}} End
{{Col-begin}} Start
{{Col-break}} Break
{{Col-end}} End
{{Col-float}} Start
{{Col-float-break}} Break
{{Col-float-end}} End
{{Columns-start}} Start
{{Column}} Break
{{Columns-end}} End


{{Multicol}} is used to start a multi-columned section of a page. Between each column's contents, insert {{Multicol-break}} and close the last column with {{Multicol-end}}. For example:

<div style="background:lavender;">
First column's contents.
Second column's contents.
Third column's contents.


First column's contents.

Second column's contents.

Third column's contents.

Each column will be the same width (equally dividing the available horizontal space) and will include a small 20-pixel righthand margin (a "gutter") that prevents the contents in one column from touching those in the column to its right. (For further examples of how this template can be used, see User:franl's userpage.)

While it is technically possible to have many columns, accessibility implies that the use of any more than four or five should usually be avoided. If the number of items listed is fewer than six (e.g. fewer than two columns of three items), a column-based format is probably also best avoided.


This template has two optional parameters: the overall width of the set of columns and the width of the gutter. The overall width of the set of columns can be an absolute value (e.g. 40em) or a percentage of the available page width (e.g. 50%). It defaults to 100%. The second parameter is the gutter used between columns (which, as mentioned above, defaults to 20px).

{{Multicol-break}} also takes an optional parameter for the gutter to its right, defaulting to 20px.


To create a three-column section, with four-pixel righthand gutters, that extends across 50% of the available width:

{{Multicol |50% |4px}}
First column's contents.
{{Multicol-break |4px}}
Second column's contents.
{{Multicol-break |4px}}
Third column's contents.


First column's contents.

Second column's contents.

Third column's contents.

A {{Multicol}}umned region is left-aligned with regard to the area of the page (the "block") it occupies. This may be switched to a centered or righthand alignment thus:

 <div style="text-align:center;">
 {{Multicol (...) }}
Righthand side
 <div style="text-align:right;">
 {{Multicol (...) }}

Related templates

Layouts rendered by {{Multicol}} and accompanying templates may also be produced by {{Col-begin}} and its accompanying templates, but, depending on context and requirements, it may be easier to use one set rather than the other. Each of the following examples produce the same three-column table in which all columns have equal width:

These templates groups are not interchangeable. If you start with {{Multicol}}, but end with the plain {{col-end}} templates, then you'll have an unclosed <div> tag that can harm the formatting of the rest of the page. The problems created by mixing these templates is not easily visible for all users, so please don't assume that it's working properly just because it looks right for you. If you start with {{Multicol}}, then you must use {{Multicol-break}} and {{Multicol-end}}, not {{col-break}} and {{col-end}} (and vice versa).


This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Multicol-end

Ends a multi-column list started by {{multicol}}. The template takes no parameters.

Template parameters

Parameter Description Type Status
No parameters specified

See also

Column-generating template families

Family Type
Handles wiki
 table code?dagger
Start template Column divider End template
"Col" Table Yes {{Col-begin}}
or {{Col-begin-small}}
{{Col-2}} .. {{Col-5}}
"Columns" Table No {{Columns}}
"Multicol" Table Yes {{Multicol}} {{Multicol-break}} {{Multicol-end}}
"Col-float" CSS float Yes {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns-start" CSS float Yes {{Columns-start}} {{Column}} {{Columns-end}}
"Div col" CSS columns Yes {{Div col}}
– {{Columns-list}} (wrapper)
{{No col break}} {{Div col end}}

dagger I.e., can the columns handle the wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) and/or HTML tags (<table>...</table>, <tr>...</tr>, etc.) will need to be used instead.