Difference between revisions of "Module:Column-generating template families"
Jump to navigation
Jump to search
blackwiki>Frietjes |
blackwiki>Loginnigol (→Column-generating template families: columns list given a line for itself (type similarity with div col should not preclude that) |
||
| Line 14: | Line 14: | ||
| Table | | Table | ||
| style="text-align:center;" {{yes}} | | style="text-align:center;" {{yes}} | ||
| − | | {{tl|Col-begin}} <br/> | + | | {{tl|Col-begin}} or<br/>{{tl|Col-begin-small}} |
| {{tl|Col-break}} <br/>{{tl|Col-2}} .. {{tl|Col-5}} | | {{tl|Col-break}} <br/>{{tl|Col-2}} .. {{tl|Col-5}} | ||
| {{tl|Col-end}} | | {{tl|Col-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" | | style="text-align:center;" | "Columns" | ||
| Line 25: | Line 32: | ||
| – | | – | ||
|- | |- | ||
| − | | style="text-align:center;" | " | + | | style="text-align:center;" | "Columns-list" |
| − | | CSS | + | | CSS columns |
| style="text-align:center;" {{yes}} | | style="text-align:center;" {{yes}} | ||
| − | | {{tl| | + | | {{tl|Columns-list}} (wrapper) |
| − | | | + | | – |
| − | | | + | | – |
|- | |- | ||
| style="text-align:center;" | "Columns-start" | | style="text-align:center;" | "Columns-start" | ||
| Line 42: | Line 49: | ||
| CSS columns | | CSS columns | ||
| style="text-align:center;" {{yes}} | | style="text-align:center;" {{yes}} | ||
| − | | {{tl|Div col}} | + | | {{tl|Div col}} |
| – | | – | ||
| {{tl|Div col end}} | | {{tl|Div col end}} | ||
Revision as of 16:04, 29 July 2018
Column-generating template families
| Caution | 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" />
| Family | Type | Handles wiki
table code?File:Dagger-14-plain.png |
Start template | Column divider | End template |
|---|---|---|---|---|---|
| "Col" | Table | Yes | {{Col-begin}} or {{Col-begin-small}} |
{{Col-break}} {{Col-2}} .. {{Col-5}} |
{{Col-end}} |
| "Col-float" | CSS float | Yes | {{Col-float}} | {{Col-float-break}} | {{Col-float-end}} |
| "Columns" | Table | No | {{Columns}} | – | – |
| "Columns-list" | CSS columns | Yes | {{Columns-list}} (wrapper) | – | – |
| "Columns-start" | CSS float | Yes | {{Columns-start}} | {{Column}} | {{Columns-end}} |
| "Div col" | CSS columns | 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 {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) and/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.
| 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. |