Difference between revisions of "Template:Column-generating template families"
Jump to navigation
Jump to search
Randombell (talk | contribs) m (1 revision imported) |
Randombell (talk | contribs) m (1 revision imported) |
||
(One intermediate revision by the same user 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| | + | {{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" | ||
|- | |- | ||
Line 25: | Line 25: | ||
| – | | – | ||
|- | |- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| style="text-align:center;" | "Col-float" | | style="text-align:center;" | "Col-float" | ||
| CSS float | | CSS float | ||
Line 50: | Line 43: | ||
| style="text-align:center;" {{yes}} | | style="text-align:center;" {{yes}} | ||
| {{tl|Div col}} <br />– {{tl|Columns-list}} (wrapper) | | {{tl|Div col}} <br />– {{tl|Columns-list}} (wrapper) | ||
− | | | + | | – |
| {{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|!)}}) and/or [[HTML element|HTML tags]] ({{tag|table}}, {{tag|tr}}, etc.) will need to be used instead.<noinclude> | ||
− | + | <section end="table" /> | |
{{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| ]] | [[Category:Multi-column templates| ]] |
Latest revision as of 21:42, 19 March 2017
Column-generating template families
<templatestyles src="Module:Message box/ombox.css"></templatestyles>
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}} |
"Columns" | Table | No | {{Columns}} | – | – |
"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) |
– | {{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 Template documentation
Used by {{Column templates}} to provide links to column-related templates.
<templatestyles src="Module:Message box/fmbox.css"></templatestyles>
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |
[[Category:Template documentation pages{{#translation:}}]]