Template:Column-generating template families
Jump to navigation
Jump to search
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-break|width=[W]%}},
where [W] ≈ 100 divided by the number of columns desired. |
{{Col-end}} | |||||||
"Col-float" | CSS float | {{Col-float}} | {{Col-float-break}} | {{Col-float-end}} | |||||||
"Columns" | Table | {{Columns}} | – | – | |||||||
"Columns-start" | CSS float | {{Columns-start}} | {{Column}} | {{Columns-end}} | |||||||
"Div col" | CSS columns | {{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.
Template documentation
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. |