模板: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.