模板:Div col

Chhiùng Wikipedia lòi

TemplateData[kói ngièn-sṳ́-mâ]

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.

字串選填