Template:Column-generating template families
外观
Column-generating template families
[编辑]![]() | The templates listed here are not interchangeable. For example, using {{Multicol}} with {{col-end}} instead of {{Multicol-end}} would leave a HTML "div" (division) open, potentially harming any subsequent formatting. |
Family | Type | Handles wiki
table code?† |
Start template | Column divider | End template |
---|---|---|---|---|---|
"Col" | Table | 是 | {{Col-begin}} or {{Col-begin-small}} |
{{Col-break}} {{Col-2}} .. {{Col-5}} |
{{Col-end}} |
"Columns" | Table | 否 | {{Columns}} | – | – |
"Multicol" | Table | 是 | {{Multicol}} | {{Multicol-break}} | {{Multicol-end}} |
"Col-float" | CSS float | 是 | {{Col-float}} | {{Col-float-break}} | {{Col-float-end}} |
"Columns-start" | CSS float | 是 | {{Columns-start}} | {{Column}} | {{Columns-end}} |
"Div col" | CSS columns | 是 | {{Div col}} – {{Columns-list}} (wrapper) |
{{No col break}} | {{Div col end}} |
† I.e., can the columns handle the wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) and/or HTML tags (<table>...</table>
, <tr>...</tr>
, etc.) will need to be used instead.
编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 本模板的子页面。 |