模板:Col-begin
跳到导航
跳到搜索
Template:Col-4
{{Col-begin}}
{{Col-2}}
Column 1 here
{{Col-2}}
Column 2 here
{{Col-end}}
Template:Col-4
{{Col-begin}}
{{Col-3}}
Column 1 here
{{Col-3}}
Column 2 here
{{Col-3}}
Column 3 here
{{Col-end}}
Template:Col-4
{{Col-begin}}
{{Col-4}}
Column 1 here
{{Col-4}}
Column 2 here
{{Col-4}}
Column 3 here
{{Col-4}}
Column 4 here
{{Col-end}}
Template:Col-4
and so on, up to {{Col-6}}
Template:Col-break
{{Col-begin|class=references-small}}
{{Col-break}}
Column 1 here
{{Col-break}}
Column 2 here
{{Col-break}}
Column 3 here
{{Col-break}}
Column 4 here
{{Col-break}}
Column 5 here
{{Col-break}}
Column 6 here
{{Col-end}}
[编辑]
模板文档

本系列模板用于分栏显示内容。{{Col-begin}}与{{Col-end}}通常配合使用。
细节
本模板包含了以下代码:
{| class="{{{class|}}}" style="background-color: {{{bgColor|transparent}}}; width: {{{width|100%}}}"
参数:
- class (缺省: "")
- bgColor (缺省: transparent)
- width (缺省: 100%)
用法
创建双栏表格的另一种方法:
{{col-begin|width=95%}} |- | Left column | Right column |} |
另见
- {{Col-begin}} ({{Col-start}})Template:Lts/
- {{Col-end}} ({{End}})
- {{Div col}},{{Div col end}} Template:Lts/