Template:Column-generating template families: Difference between revisions
From Vigyanwiki
m (1 revision imported) |
m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 14: | Line 14: | ||
|- | |- | ||
| rowspan="2" | Float | | rowspan="2" | Float | ||
| " | | "col-float" | ||
| {{yes}} | | {{yes}} | ||
| {{yes}} | | {{yes}} | ||
| {{tl| | | {{tl|col-float}} | ||
| {{tl| | | {{tl|col-float-break}} | ||
| {{tl| | | {{tl|col-float-end}} | ||
|- | |- | ||
| " | | "columns-start" | ||
| {{yes}} | | {{yes}} | ||
| {{yes}} | | {{yes}} | ||
| {{tl| | | {{tl|columns-start}} | ||
| {{tl| | | {{tl|column}} | ||
| {{tl| | | {{tl|columns-end}} | ||
|- | |- | ||
| rowspan="2" | Columns | | rowspan="2" | Columns | ||
| " | | "div col" | ||
| {{yes}} | | {{yes}} | ||
| {{yes}} | | {{yes}} | ||
| {{tl| | | {{tl|div col}} | ||
| – | | – | ||
| {{tl| | | {{tl|div col end}} | ||
|- | |- | ||
| " | | "columns-list" | ||
| {{no}} | | {{no}} | ||
| {{yes}} | | {{yes}} | ||
| {{tl| | | {{tl|columns-list}} (wraps div col) | ||
| – | | – | ||
| – | | – | ||
|- | |- | ||
| Flexbox | | Flexbox | ||
| " | | "flex columns" | ||
| {{no}} | | {{no}} | ||
| {{yes}} | | {{yes}} | ||
| {{tl| | | {{tl|flex columns}} | ||
| – | | – | ||
| – | | – | ||
|- | |- | ||
| Table | | Table | ||
| " | | "col" | ||
| {{yes}} | | {{yes}} | ||
| {{no}} | | {{no}} | ||
| {{tl| | | {{tl|col-begin}}, <br/>{{tl|col-begin-fixed}} or<br/>{{tl|col-begin-small}} | ||
| {{tl| | | {{tl|col-break}} or<br/>{{tl|col-2}} .. {{tl|col-5}} | ||
| {{tl| | | {{tl|col-end}} | ||
|} | |} | ||
{{sup|{{dagger}}}} Can template handle the basic [[Help:Wiki markup|wiki markup]] <code><nowiki>{| | || |- |}</nowiki></code> [[Help:Tables|used to create tables]]? If not, special templates that produce these elements (such as {{tl|(!}}, {{tl|!}}, {{tl|!!}}, {{tl|!-}}, {{tl|!)}})—or [[HTML element|HTML tags]] ({{tag|table}}, {{tag|tr}}, etc.)—need to be used instead.<section end="table" /><noinclude> | {{sup|{{dagger}}}} Can template handle the basic [[Help:Wiki markup|wiki markup]] <code><nowiki>{| | || |- |}</nowiki></code> [[Help:Tables|used to create tables]]? If not, special templates that produce these elements (such as {{tl|(!}}, {{tl|!}}, {{tl|!!}}, {{tl|!-}}, {{tl|!)}})—or [[HTML element|HTML tags]] ({{tag|table}}, {{tag|tr}}, etc.)—need to be used instead.<section end="table" /><noinclude> |
Latest revision as of 10:06, 27 November 2022
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 HTML "div" (division) 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" />
Template documentation
Used by column template documentation pages to provide links to other column-related templates.
[[Category:Template documentation pages{{#translation:}}]]