Template:Column-generating template families
Appearance
Column-generating template families
| The templates listed below are not interchangeable. For example, using {{Multicol}} with {{col-end}} instead of {{Multicol-end}} would leave an HTML "div" (division) open, potentially harming any subsequent formatting. |
| Family | Type | Handles wiki
table code? |
Start template | Break between columns | End template | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| "Col" | Table | {{Col-begin}} or {{Col-begin-small}} |
{{Col-break}}
For nine or even more columns, use {{Col-breakTemplate:Padlrwidth=[W]%}},
where [W] ≈ 100 divided by the number of columns desired. |
{{Col-end}} | |||||||
| "Col-float" | CSS float | Template:Y | {{Col-float}} | {{Col-float-break}} | {{Col-float-end}} | ||||||
| "Columns" | Table | Template:Y | {{Columns}} | – | – | ||||||
| "Columns-start" | CSS float | Template:Y | {{Columns-start}} | {{Column}} | {{Columns-end}} | ||||||
| "Div col" | CSS columns | Template:Y | {{Div col}} – {{Columns-list}} (wrapper) |
– | {{Div col end}} | ||||||
| "Multicol" | Table | {{Multicol}} | {{Multicol-break}} | {{Multicol-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.
Used by {{Column templates}} to provide links to column-related templates.
See also
- {{Autocol}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |