Loncat ke isi

Sablonan:Column-generating template families

Deri Wikipédi

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.

Column templates
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.