Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Columns-list/doc

Template page
Revision as of 12:06, 8 June 2025 by imported>XmaxmakerX
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is for use in a list in the body of an article, rather than in a navigation template like Template:Navbox. Based on Template:Reflist, but different in that the text to be displayed is manually created rather than a list of references.

Use

The width of each column may be specified using colwidth and a value in ems.

{{columns-list|colwidth=width|
Text (usually a list)
}}

Here, width specifies the width of the columns, and determines dynamically the number of columns based on screen width; more columns will be shown on wider displays.

If colwidth is not specified, the default width of 20em will be used.

This template uses CSS3 multiple-column layout, which is not supported by all web browsers.

Examples

Here is an example: <syntaxhighlight lang="text">Template:Columns-list</syntaxhighlight>

which would render as: Template:Columns-list

CSS styles can also be added in addition to the colwidth parameter. For example:

<syntaxhighlight lang="text">Template:Columns-list</syntaxhighlight>

which would render as: Template:Columns-list


nl:Sjabloon:Columns-list/doc ru:Шаблон:Список/док uk:Шаблон:Columns-list/док

Contents