Difference between revisions of "Module:Column-generating template families"
Jump to navigation
Jump to search
Module documentation
blackwiki>Frietjes |
|||
| Line 13: | Line 13: | ||
| style="text-align:center;" | "Col" | | style="text-align:center;" | "Col" | ||
| Table | | Table | ||
| − | | style="text-align:center;" | + | | style="text-align:center;" {{yes}} |
| {{tl|Col-begin}} <br/>or {{tl|Col-begin-small}} | | {{tl|Col-begin}} <br/>or {{tl|Col-begin-small}} | ||
| {{tl|Col-break}} <br/>{{tl|Col-2}} .. {{tl|Col-5}} | | {{tl|Col-break}} <br/>{{tl|Col-2}} .. {{tl|Col-5}} | ||
| Line 20: | Line 20: | ||
| style="text-align:center;" | "Columns" | | style="text-align:center;" | "Columns" | ||
| Table | | Table | ||
| − | | style="text-align:center;" | + | | style="text-align:center;" {{no}} |
| {{tl|Columns}} | | {{tl|Columns}} | ||
| – | | – | ||
| Line 27: | Line 27: | ||
| style="text-align:center;" | "Multicol" | | style="text-align:center;" | "Multicol" | ||
| Table | | Table | ||
| − | | style="text-align:center;" | + | | style="text-align:center;" {{yes}} |
| {{tl|Multicol}} | | {{tl|Multicol}} | ||
| {{tl|Multicol-break}} | | {{tl|Multicol-break}} | ||
| Line 34: | Line 34: | ||
| style="text-align:center;" | "Col-float" | | style="text-align:center;" | "Col-float" | ||
| CSS float | | CSS float | ||
| − | | style="text-align:center;" | + | | style="text-align:center;" {{yes}} |
| {{tl|Col-float}} | | {{tl|Col-float}} | ||
| {{tl|Col-float-break}} | | {{tl|Col-float-break}} | ||
| Line 41: | Line 41: | ||
| style="text-align:center;" | "Columns-start" | | style="text-align:center;" | "Columns-start" | ||
| CSS float | | CSS float | ||
| − | | style="text-align:center;" | + | | style="text-align:center;" {{yes}} |
| {{tl|Columns-start}} | | {{tl|Columns-start}} | ||
| {{tl|Column}} | | {{tl|Column}} | ||
| Line 48: | Line 48: | ||
| style="text-align:center;" | "Div col" | | style="text-align:center;" | "Div col" | ||
| CSS columns | | CSS columns | ||
| − | | style="text-align:center;" | + | | style="text-align:center;" {{yes}} |
| {{tl|Div col}} <br />– {{tl|Columns-list}} (wrapper) | | {{tl|Div col}} <br />– {{tl|Columns-list}} (wrapper) | ||
| {{tl|No col break}} | | {{tl|No col break}} | ||
Revision as of 16:06, 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 | font-weight:normal
|
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.
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. |