Template:Column-generating template families

From Wikispooks
Revision as of 17:50, 28 January 2015 by Robin (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Column-generating template families

Family Type
Handles wiki
 table code?dagger
Start template Break between columns End template
"Col" Table {{Col-begin}}
or {{Col-begin-small}}
{{Col-break}}
{{Col-6}} or use {{Col-break|width=16.6%}},
i.e. with width ≈ 100%/6.
{{Col-7}} or use {{Col-break|width=14.2%}},
i.e. with width ≈ 100%/7.
{{Col-8}} or use {{Col-break|width=12.5%}},
i.e. with width = 100%/8.
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 Green tickY {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns" Table Green tickY {{Columns}}
"Columns-start" CSS float Green tickY {{Columns-start}} {{Column}} {{Columns-end}}
"Div col" CSS columns Green tickY {{Div col}}
– {{Columns-list}} (wrapper)
{{Div col end}}
"Multicol" Table {{Multicol}} {{Multicol-break}} {{Multicol-end}}

dagger 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