模板:Div col
外觀
(Chhùng-thin-hiong chhṳ 模板:Colbegin)
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}}.
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
cols | cols 1 | Specifies the number of columns.
| 字串 | 非必填 |
colwidth | colwidth 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. | 字串 | 非必填 |
rules | rules | Produces vertical rules between the columns if set to yes. | 字串 | 非必填 |
small | small | Specifies small font size (90%) if set to yes. | 字串 | 非必填 |
style | style | Specify any custom styling. | 字串 | 非必填 |