跳转到内容

Template:Col-begin:修订间差异

勤求古训,博采众方
创建页面,内容为“<div> {| class="{{{class|}}} multicol" role="presentation" style="{{#if:{{{small|}}}|font-size:90%; }}border-collapse: collapse; padding: 0; border: {{{border|0}}}; background:{{{bgColor|{{{bgcolor|transparent}}}}}}; width:{{{width|100%}}}; {{{style|}}}"<noinclude> |- | |}</div> {{documentation}} <!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> </noinclude>”
 
(没有差异)

2022年5月4日 (三) 00:00的最新版本

zh-cn:文档; zh-tw:文件;图示 模板zh-cn:文档; zh-tw:文件;[zh-cn:查看;zh-tw:檢視] [编辑] [历史] [清除缓存]

本系列模板用于分栏显示内容。{{Col-begin}}与{{Col-end}}通常配合使用。

细节

本模板包含了以下代码:

{| cellspacing="0" cellpadding="0" class="{{{class|}}} multicol" style="background:{{{bgColor|transparent}}}; width:{{{width|100%}}};"

参数:

  • class(缺省:无)
  • bgColor(缺省:transparent)
  • width(缺省:100%)

用法

创建双栏表格的另一种方法:

{{col-begin|width=95%}}
|-
| 
Left column
|
Right column
|}

参见

en:Template:Col-begin