Template:Column-generating template families: Difference between revisions
m (→Column-generating template families: MOS:CAPS, punct.) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 23:48, 23 October 2024
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" />
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" />
File:Test Template Info-Icon - Version (2).svg Template documentation
Used by column template documentation pages to provide links to other column-related templates.
[[Category:Template documentation pages{{#translation:}}]]