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

Iz Vojne Enciklopedije
Пређи на навигацију Пређи на претрагу
[непроверена измена][непроверена измена]
Нема описа измене
м (1 измена увезена)
Ред 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.
{{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.}}
<section begin="table" />
 
{| class="wikitable" style="line-height:1.4em"
{| class="wikitable nowrap" style="line-height:1.4em"
|+ Column templates
|-
! Family
! Type
! {{longitem|Handles wiki <br/>&nbsp;table code?{{sup|{{dagger}}}}}}
! Start template
! Column divider
! End template
|- style="vertical-align:middle;"
|- style="vertical-align:middle;"
! scope="col" | Type
| style="text-align:center;" | "Col"
! scope="col" | Family
| Table
! scope="col" | {{longitem|Handles wiki <br/>&nbsp;table code?{{sup|{{dagger}}}}}}
| style="text-align:center;"   {{yes}}
! scope="col" | Responsive/<br>Mobile suited
| {{tl|Col-begin}} <br/>or {{tl|Col-begin-small}}
! scope="col" | Start template
| {{tl|Col-break}} <br/>{{tl|Col-2}} .. {{tl|Col-5}}
! scope="col" | Column divider
| {{tl|Col-end}}
! 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
| style="text-align:center;" | "Columns"
| "Div col"
| Table
| {{yes}}
| style="text-align:center;"  {{no}}
| {{yes}}
| {{tl|Columns}}
| {{tl|Div col}}
| –
| –
|
| {{tl|Div col end}}
|-
|-
| "Columns-list"
| style="text-align:center;" | "Multicol"
| {{no}}
| Table
| {{yes}}
| style="text-align:center;"  {{yes}}
| {{tl|Columns-list}} (wraps div col)
| {{tl|Multicol}}
|
| {{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}}
|-
|-
| Flexbox
| style="text-align:center;" | "Columns-start"
| "Flex columns"
| CSS float
| {{no}}
| style="text-align:center;"  {{yes}}
| {{yes}}
| {{tl|Columns-start}}
| {{tl|Flex columns}}
| {{tl|Column}}
|
| {{tl|Columns-end}}
|
|-
|-
| Table
| style="text-align:center;" | "Div col"
| "Col"
| CSS columns
| {{yes}}
| style="text-align:center;"  {{yes}}
| {{no}}
| {{tl|Div col}} <br />{{tl|Columns-list}} (wrapper)
| {{tl|Col-begin}}, <br/>{{tl|Col-begin-fixed}} or<br/>{{tl|Col-begin-small}}
| {{tl|No col break}}
| {{tl|Col-break}} or<br/>{{tl|Col-2}} .. {{tl|Col-5}}
| {{tl|Div col end}}
| {{tl|Col-end}}
|}
|}
{{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>
{{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.
 
<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| ]]
== See also ==
* {{tl|Autocol}}
 
[[Category:Table and column templates| ]]
[[Category:Related-topic templates]]
[[Category:Related-topic templates]]
}}<!-- (end Documentation) -->
}}<!-- (end Documentation) -->
</noinclude>
</noinclude>

Верзија на датум 5. фебруар 2021. у 13:26

Column-generating template families

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

Family Type
Handles wiki
 table code?Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
Start template Column divider End template
"Col" Table Да {{Col-begin}}
or {{Col-begin-small}}
{{Col-break}}
{{Col-2}} .. {{Col-5}}
{{Col-end}}
"Columns" Table Не {{Columns}}
"Multicol" Table Да {{Multicol}} {{Multicol-break}} {{Multicol-end}}
"Col-float" CSS float Да {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns-start" CSS float Да {{Columns-start}} {{Column}} {{Columns-end}}
"Div col" CSS columns Да {{Div col}}
– {{Columns-list}} (wrapper)
{{No col break}} {{Div col end}}

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted I.e., can the columns handle the wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) and/or HTML tags (<table>...</table>, <tr>...</tr>, etc.) will need to be used instead.


Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted