跳至內容

模板:Div col

Chhiùng Wikipedia lòi
(Chhùng-thin-hiong chhṳ 模板:Colbegin)
This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for 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.

字串非必填