模板:Column-generating template families

来自决策链云智库
Zeroclanzhang讨论 | 贡献2024年1月18日 (四) 00:44的版本 (创建页面,内容为“=== Column-generating template families === '''The templates listed here are not interchangeable'''. For example, using {{tl|col-float}} with {{tl|col-end}} instead of {{tl|col-float-end}} would leave a HTML "div" (division) open, potentially harming any subsequent formatting. <section begin="table" /> {| class="wikitable" style="line-height:1.4em" |+ Column templates |- style="vertical-align:middle;" ! scope="col" | Type ! scope="col" | Fa…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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.

Column templates
Type Family
Handles wiki
 table code?模板:Dagger
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}}

模板:Dagger 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.