模板:Div col

Chhiùng Wikipedia lòi
跳至導覽 跳至搜尋
Documentation icon Template documentation[kien-li̍p]

TemplateData[編寫原始碼]

模板:TemplateDataHeader

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

模板參數

參數描述類型狀態
colscols1

Specifies the number of columns.

預設
2
字串選填
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.

字串選填
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.

字串選填