Sablonan:Column-generating template families
Tampilan
Column-generating template families
[permak sumber]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.
Type | Family | Handles wiki
table code?† |
Responsive/ Mobile suited |
Start template | Column divider | End template |
---|---|---|---|---|---|---|
Float | "col-float" | Iya | Iya | {{col-float}} | {{col-float-break}} | {{col-float-end}} |
"columns-start" | Iya | Iya | {{columns-start}} | {{column}} | {{columns-end}} | |
Columns | "div col" | Iya | Iya | {{div col}} | – | {{div col end}} |
"columns-list" | Kaga' | Iya | {{columns-list}} (wraps div col) | – | – | |
Flexbox | "flex columns" | Kaga' | Iya | {{flex columns}} | – | – |
Table | "col" | Iya | Kaga' | {{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.
Pengwarkatan sablonan
Used by column template documentation pages to provide links to other column-related templates.