Šablona:Column-generating template families: Porovnání verzí
columns>Jake-jakubowski (Undid revision 1165300075 by Jake-jakubowski (talk)) |
m (naimportována 1 revize) |
(Žádný rozdíl)
|
Aktuální verze z 30. 10. 2023, 19:36
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" />
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:}}]]