Template:Column-generating template families

From Infarupedia
Revision as of 03:13, 23 June 2024 by wikipedia>Mikhail Ryazanov (→‎Column-generating template families: MOS:CAPS, punct.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Column-generating template families

The templates listed here are not interchangeable. For example, using {{Col-float }} with {{Col-end }} instead of {{Col-float-end }} would leave a <div>...</div> open, potentially harming any subsequent formatting. <section begin="table" />

Column templates
Type Family
Handles wiki
table code?
Responsive/
mobile suited
Start template Column divider End template
Float "col-float" Yes Yes {{Col-float }} {{Col-float-break }} {{Col-float-end }}
"columns-start" Yes Yes {{Columns-start }} {{Column }} {{Columns-end }}
Columns "div col" Yes Yes {{Div col }} {{Div col end }}
"columns-list" No Yes {{Columns-list }} (wraps div col)
Flexbox "flex columns" No Yes {{Flex columns }}
Table "col" Yes No {{Col-begin }},
{{Col-begin-fixed }} or
{{Col-begin-small }}
{{Col-break }} or
{{Col-2 }} .. {{Col-5 }}
{{Col-end }}

Can template handle the basic wiki markup {| | || |- |} used to create tables? If not, special templates that produce these elements (such as {{(! }}, {{! }}, {{!! }}, {{!- }}, {{!) }})—or HTML tags (<table>...</table>, <tr>...</tr>, etc.)—need to be used instead.<section end="table" />

[[Category:Template documentation pages{{#translation:}}]]