Шаблон:Column-generating template families — разлика између измена

Iz Vojne Enciklopedije
Пређи на навигацију Пређи на претрагу
[непроверена измена][непроверена измена]
(+)
 
Нема описа измене
Ред 1: Ред 1:
=== Column-generating template families ===
=== Column-generating template families ===
{{Caution|1='''The templates listed here are not interchangeable'''. For example, using {{tl|Multicol}} with {{tl|col-end}} instead of {{tl|Multicol-end}} would leave a [[HTML]] [[Span and div|"div" (division)]] open, potentially harming any subsequent formatting.}}
'''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 nowrap" style="line-height:1.4em"
{| 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/>&nbsp;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}}
|-
|-
! Family
| "Columns-start"
! Type
| {{yes}}
! {{longitem|Handles wiki <br/>&nbsp;table code?{{sup|{{dagger}}}}}}
| {{yes}}
! Start template
| {{tl|Columns-start}}
! Column divider
| {{tl|Column}}
! End template
| {{tl|Columns-end}}
|- style="vertical-align:middle;"
| style="text-align:center;" | "Col"
| Table
| style="text-align:center;"  {{yes}}
| {{tl|Col-begin}} <br/>or {{tl|Col-begin-small}}
| {{tl|Col-break}} <br/>{{tl|Col-2}} .. {{tl|Col-5}}
| {{tl|Col-end}}
|-
|-
| style="text-align:center;" | "Columns"
| rowspan="2" | Columns
| Table
| "Div col"
| style="text-align:center;"  {{no}}
| {{yes}}
| {{tl|Columns}}
| {{yes}}
| –
| {{tl|Div col}}
|
| –
| {{tl|Div col end}}
|-
|-
| style="text-align:center;" | "Multicol"
| "Columns-list"
| Table
| {{no}}
| style="text-align:center;"  {{yes}}
| {{yes}}
| {{tl|Multicol}}
| {{tl|Columns-list}} (wraps div col)
| {{tl|Multicol-break}}
|
| {{tl|Multicol-end}}
|
|-
| style="text-align:center;" | "Col-float"
| CSS float
| style="text-align:center;"  {{yes}}
| {{tl|Col-float}}
| {{tl|Col-float-break}}
| {{tl|Col-float-end}}
|-
|-
| style="text-align:center;" | "Columns-start"
| Flexbox
| CSS float
| "Flex columns"
| style="text-align:center;"  {{yes}}
| {{no}}
| {{tl|Columns-start}}
| {{yes}}
| {{tl|Column}}
| {{tl|Flex columns}}
| {{tl|Columns-end}}
|
|
|-
|-
| style="text-align:center;" | "Div col"
| Table
| CSS columns
| "Col"
| style="text-align:center;"  {{yes}}
| {{yes}}
| {{tl|Div col}} <br />{{tl|Columns-list}} (wrapper)
| {{no}}
| {{tl|No col break}}
| {{tl|Col-begin}}, <br/>{{tl|Col-begin-fixed}} or<br/>{{tl|Col-begin-small}}
| {{tl|Div col end}}
| {{tl|Col-break}} or<br/>{{tl|Col-2}} .. {{tl|Col-5}}
| {{tl|Col-end}}
|}
|}
{{sup|{{dagger}}}} [[Id est|I.e.]], can the columns handle the [[Help:Wiki markup|wiki markup]] <nowiki>{|  |  ||  |-  |}</nowiki> [[Help:Tables|used to create tables]]? If not, templates that produce these elements (such as {{tl|(!}}, {{tl|!}}, {{tl|!!}}, {{tl|!-}}, {{tl|!)}}) and/or [[HTML element|HTML tags]] ({{tag|table}}, {{tag|tr}}, etc.) will need to be used instead.
{{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.


== See also ==
[[Category:Multi-column templates| ]]
* {{tl|Autocol}}
[[Category:Related-topic templates]]


[[Category:Table and 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" />

Column templates
Type Family
Handles wiki
 table code?Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
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}}

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted 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