Difference between revisions of "Module:Column-generating template families"
Jump to navigation
Jump to search
| Line 6: | Line 6: | ||
! Family | ! Family | ||
! Type | ! Type | ||
| − | ! {{longitem | + | ! {{longitem|Handles wiki <br/> table code?{{sup|{{dagger}}}}}} |
! Start template | ! Start template | ||
! Column divider | ! Column divider | ||
Revision as of 16:08, 7 February 2016
Column-generating template families
| The templates listed here are not interchangeable. For example, using {{Multicol}} with {{col-end}} instead of {{Multicol-end}} would leave a HTML "div" (division) open, potentially harming any subsequent formatting. |
| Family | Type | Handles wiki
table code? |
Start template | Column divider | End template |
|---|---|---|---|---|---|
| "Col" | Table | Yes | {{Col-begin}} or {{Col-begin-small}} |
{{Col-break}} {{Col-2}} .. {{Col-5}} |
{{Col-end}} |
| "Columns" | Table | No | {{Columns}} | – | – |
| "Multicol" | Table | Yes | {{Multicol}} | {{Multicol-break}} | {{Multicol-end}} |
| "Col-float" | CSS float | Yes | {{Col-float}} | {{Col-float-break}} | {{Col-float-end}} |
| "Columns-start" | CSS float | Yes | {{Columns-start}} | {{Column}} | {{Columns-end}} |
| "Div col" | CSS columns | Yes | {{Div col}} – {{Columns-list}} (wrapper) |
{{No col break}} | {{Div col end}} |
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.
File:Test Template Info-Icon - Version (2).svg Module documentation
Used by {{Column templates}} to provide links to column-related templates.
See also
- {{Autocol}}
| You might want to create a documentation page for this Scribunto module. Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages. Subpages of this module. |