Šablona:Column-generating template families

Z Wiki JU
Verze z 30. 10. 2023, 19:36, kterou vytvořil Ofara (diskuse | příspěvky) (naimportována 1 revize)
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)

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" />

Column templates
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" /> Chyba Lua: Modul:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.[[Category:Template documentation pages{{#translation:}}]]