Шаблон:Column-generating template families — разлика између измена
Пређи на навигацију
Пређи на претрагу
| [непроверена измена] | [непроверена измена] |
(+) |
Нема описа измене |
||
| Ред 1: | Ред 1: | ||
=== Column-generating template families === | === 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]] [[Span and div|"div" (division)]] open, potentially harming any subsequent formatting. | |||
<section begin="table" /> | |||
{| class="wikitable | {| class="wikitable" style="line-height:1.4em" | ||
|+ Column templates | |||
|- style="vertical-align:middle;" | |||
! scope="col" | Type | |||
! scope="col" | Family | |||
! scope="col" | {{longitem|Handles wiki <br/> table code?{{sup|{{dagger}}}}}} | |||
! scope="col" | Responsive/<br>Mobile suited | |||
! scope="col" | Start template | |||
! scope="col" | Column divider | |||
! scope="col" | End template | |||
|- | |||
| rowspan="2" | Float | |||
| "Col-float" | |||
| {{yes}} | |||
| {{yes}} | |||
| {{tl|Col-float}} | |||
| {{tl|Col-float-break}} | |||
| {{tl|Col-float-end}} | |||
|- | |- | ||
| "Columns-start" | |||
| {{yes}} | |||
| {{yes}} | |||
| {{tl|Columns-start}} | |||
| {{tl|Column}} | |||
| {{tl|Columns-end}} | |||
| | |||
|- | |- | ||
| rowspan="2" | Columns | |||
| "Div col" | |||
| {{yes}} | |||
| {{yes}} | |||
| {{tl|Div col}} | |||
| – | |||
| {{tl|Div col end}} | |||
|- | |- | ||
| "Columns-list" | |||
| {{no}} | |||
| {{yes}} | |||
| {{tl|Columns-list}} (wraps div col) | |||
| – | |||
| – | |||
| | |||
|- | |- | ||
| Flexbox | |||
| "Flex columns" | |||
| {{no}} | |||
| {{yes}} | |||
| {{tl|Flex columns}} | |||
| – | |||
| – | |||
|- | |- | ||
| Table | |||
| "Col" | |||
| {{yes}} | |||
| {{no}} | |||
| {{tl|Col-begin}}, <br/>{{tl|Col-begin-fixed}} or<br/>{{tl|Col-begin-small}} | |||
| {{tl|Col-break}} or<br/>{{tl|Col-2}} .. {{tl|Col-5}} | |||
| {{tl|Col-end}} | |||
|} | |} | ||
{{sup|{{dagger}}}} | {{sup|{{dagger}}}} Can the columns handle the [[Help:Wiki markup|wiki markup]] <code><nowiki>{| | || |- |}</nowiki></code> [[Help:Tables|used to create tables]]? If not, templates that produce these elements (such as {{tl|(!}}, {{tl|!}}, {{tl|!!}}, {{tl|!-}}, {{tl|!)}}) or [[HTML element|HTML tags]] ({{tag|table}}, {{tag|tr}}, etc.) will need to be used instead.<section end="table" /><noinclude> | ||
<noinclude> | |||
{{Documentation | {{Documentation | ||
| content = | | content = | ||
Used by {{tl|Column templates}} to provide links to column-related templates. | Used by {{tl|Column templates}} to provide links to column-related templates. | ||
[[Category:Multi-column templates| ]] | |||
[[Category:Related-topic templates]] | |||
}}<!-- (end Documentation) --> | }}<!-- (end Documentation) --> | ||
</noinclude> | </noinclude> | ||
Верзија на датум 7. јануар 2021. у 21:23
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" | Да | Да | {{Col-float}} | {{Col-float-break}} | {{Col-float-end}} |
| "Columns-start" | Да | Да | {{Columns-start}} | {{Column}} | {{Columns-end}} | |
| Columns | "Div col" | Да | Да | {{Div col}} | – | {{Div col end}} |
| "Columns-list" | Не | Да | {{Columns-list}} (wraps div col) | – | – | |
| Flexbox | "Flex columns" | Не | Да | {{Flex columns}} | – | – |
| Table | "Col" | Да | Не | {{Col-begin}}, {{Col-begin-fixed}} or {{Col-begin-small}} |
{{Col-break}} or {{Col-2}} .. {{Col-5}} |
{{Col-end}} |
Can the columns handle the wiki markup
{| | || |- |} used to create tables? If not, templates that produce these elements (such as {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) or HTML tags (<table>...</table>, <tr>...</tr>, etc.) will need to be used instead.<section end="table" />
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted