Шаблон:Div col

Материал из свободной русской энциклопедии «Традиция»
Перейти к навигации Перейти к поиску
Документация Документация к шаблону[создание]


TemplateData[править код]

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}}.

Параметры шаблона

ПараметрОписаниеТипСтатус
colscols 1

Specifies the number of columns.

По умолчанию
2
Строковый (без форматирования)необязательный
colwidthcolwidth 2

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.

Строковый (без форматирования)необязательный
rulesrules

Produces vertical rules between the columns if set to yes.

Строковый (без форматирования)необязательный
smallsmall

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

Строковый (без форматирования)необязательный
stylestyle

Specify any custom styling.

Строковый (без форматирования)необязательный