Difference between revisions of "Module:Column-generating template families"

From blackwiki
Jump to navigation Jump to search
blackwiki>Fayenatic london
m (89 revisions imported)
 
(19 intermediate revisions by 12 users not shown)
Line 1: Line 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.}}
+
{{Caution|1='''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 nowrap" style="line-height:1.4em"
|-
+
|- style="vertical-align:middle;"
 
  ! Family
 
  ! Family
 
  ! Type
 
  ! Type
 
  ! {{longitem|Handles wiki <br/>&nbsp;table code?{{sup|{{dagger}}}}}}
 
  ! {{longitem|Handles wiki <br/>&nbsp;table code?{{sup|{{dagger}}}}}}
 +
! Responsive/<br>Mobile suited
 
  ! Start template
 
  ! Start template
 
  ! Column divider
 
  ! Column divider
 
  ! End template
 
  ! End template
|- style="vertical-align:middle;"
+
|-
 
  | style="text-align:center;" | "Col"
 
  | style="text-align:center;" | "Col"
 
  | Table
 
  | Table
  | style="text-align:center;"  {{yes}}
+
  | {{yes}}
  | {{tl|Col-begin}} <br/>or {{tl|Col-begin-small}}
+
| {{yes}}
  | {{tl|Col-break}} <br/>{{tl|Col-2}} .. {{tl|Col-5}}
+
  | {{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}}
 
  | {{tl|Col-end}}
 +
|-
 +
| style="text-align:center;" | "Col-float"
 +
| CSS float
 +
| {{yes}}
 +
| {{yes}}
 +
| {{tl|Col-float}}
 +
| {{tl|Col-float-break}}
 +
| {{tl|Col-float-end}}
 
|-
 
|-
 
  | style="text-align:center;" | "Columns"
 
  | style="text-align:center;" | "Columns"
 
  | Table
 
  | Table
  | style="text-align:center;"  {{no}}
+
  | {{no}}
 +
| {{yes}}
 
  | {{tl|Columns}}
 
  | {{tl|Columns}}
 
  | –
 
  | –
 
  | –
 
  | –
 
|-
 
|-
  | style="text-align:center;" | "Multicol"
+
  | style="text-align:center;" | "Columns-list"
  | Table
+
  | CSS columns
  | style="text-align:center;"  {{yes}}
+
  | {{yes}}
  | {{tl|Multicol}}
+
  | {{yes}}
| {{tl|Multicol-break}}
+
  | {{tl|Columns-list}} (wrapper)
| {{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"
 
  | style="text-align:center;" | "Columns-start"
 
  | CSS float
 
  | CSS float
  | style="text-align:center;"  {{yes}}
+
  | {{yes}}
 +
| {{yes}}
 
  | {{tl|Columns-start}}
 
  | {{tl|Columns-start}}
 
  | {{tl|Column}}
 
  | {{tl|Column}}
 
  | {{tl|Columns-end}}
 
  | {{tl|Columns-end}}
 +
|-
 +
| style="text-align:center;" | "Flex columns"
 +
| CSS flexbox
 +
| {{yes}}
 +
| {{yes}}
 +
| {{tl|Flex columns}}
 +
| –
 +
| –
 
|-
 
|-
 
  | style="text-align:center;" | "Div col"
 
  | style="text-align:center;" | "Div col"
 
  | CSS columns
 
  | CSS columns
  | style="text-align:center;"  {{yes}}
+
  | {{yes}}
  | {{tl|Div col}} <br />– {{tl|Columns-list}} (wrapper)
+
  | {{yes}}
  | {{tl|No col break}}
+
  | {{tl|Div col}}
 +
| –
 
  | {{tl|Div col end}}
 
  | {{tl|Div 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.<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|!)}}) or [[HTML element|HTML tags]] ({{tag|table}}, {{tag|tr}}, etc.) will need to be used instead.<section end="table" /><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:Column templates| ]]
 
 
[[Category:Related-topic templates]]
 
[[Category:Related-topic templates]]
  
 
}}<!-- (end Documentation) -->
 
}}<!-- (end Documentation) -->
 
</noinclude>
 
</noinclude>

Latest revision as of 12:08, 21 September 2020

Column-generating template families

<section begin="table" />

Family Type
Handles wiki
 table code?File:Dagger-14-plain.png
Responsive/
Mobile suited
Start template Column divider End template
"Col" Table Yes Yes {{Col-begin}},
{{Col-begin-fixed}} or
{{Col-begin-small}}
{{Col-break}} or
{{Col-2}} .. {{Col-5}}
{{Col-end}}
"Col-float" CSS float Yes Yes {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns" Table No Yes {{Columns}}
"Columns-list" CSS columns Yes Yes {{Columns-list}} (wrapper)
"Columns-start" CSS float Yes Yes {{Columns-start}} {{Column}} {{Columns-end}}
"Flex columns" CSS flexbox Yes Yes {{Flex columns}}
"Div col" CSS columns Yes Yes {{Div col}} {{Div col end}}

File:Dagger-14-plain.png I.e., 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" />

50px Module documentation

Used by {{Column templates}} to provide links to column-related templates.