Шаблон:Div col

From Традиция
Jump to navigation Jump to search
Документация Документация к шаблону[создание]


TemplateData[edit]

This is the TemplateData documentation for the template used by the new VisualEditor.

Div col

Breaks a list into columns. It automatically breaks each column to an equal space, so you do not manually have to find the half way point on two columns. The list is closed with {{div col end}}.

Template parameters

ParameterDescriptionTypeStatus
colscols1

Specifies the number of columns.

Default
2
Example
empty
Auto value
empty
Stringoptional
colwidthcolwidth2

Specifies the width of columns, and determines dynamically the number of columns based on screen width; more columns will be shown on wider displays. This overrides the 'cols' setting.

Default
empty
Example
empty
Auto value
empty
Stringoptional
rulesrules

Produces vertical rules between the columns if set to yes.

Default
empty
Example
empty
Auto value
empty
Stringoptional
smallsmall

Specifies small font size (90%) if set to yes.

Default
empty
Example
empty
Auto value
empty
Stringoptional
stylestyle

Specify any custom styling.

Default
empty
Example
empty
Auto value
empty
Stringoptional