Difference between revisions of "Template:End/doc"
imported>Salix alba (template data) |
imported>Funandtrvl (add cat) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| − | + | ||
=== Usage === | === Usage === | ||
This template ends any table (with bar-brace "|}") and may be used with any other templates that begin a one-level table, except with template <nowiki>{{Top}} & {{Mid}} which require {{Bottom}}</nowiki> to end a Top-table (which has a double-level format). | This template ends any table (with bar-brace "|}") and may be used with any other templates that begin a one-level table, except with template <nowiki>{{Top}} & {{Mid}} which require {{Bottom}}</nowiki> to end a Top-table (which has a double-level format). | ||
| Line 27: | Line 27: | ||
{{col-2}}BB | {{col-2}}BB | ||
{{end}} | {{end}} | ||
| + | |||
| + | == See also == | ||
| + | {{Column templates/others}} | ||
==TemplateData== | ==TemplateData== | ||
| Line 37: | Line 40: | ||
} | } | ||
</templatedata> | </templatedata> | ||
| − | |||
| − | |||
<includeonly> | <includeonly> | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| − | [[Category:Succession templates | + | [[Category:Succession templates]] |
| + | [[Category:Table and column templates]] | ||
| + | |||
[[az:Şablon:End]] | [[az:Şablon:End]] | ||
[[bn:টেমপ্লেট:End]] | [[bn:টেমপ্লেট:End]] | ||
Revision as of 21:52, 8 November 2013
| This is a documentation subpage for Template:End. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
This template ends any table (with bar-brace "|}") and may be used with any other templates that begin a one-level table, except with template {{Top}} & {{Mid}} which require {{Bottom}} to end a Top-table (which has a double-level format).
Severe limitations
WARNING: Template {{end}} must be placed on a separate line for ending a table; otherwise, it inserts a literal bar-brace "|}" into the text.
Examples
{{col-begin}}{{col-2}}AA{{col-2}}BB
{{end}}
Result:
| AA | BB |
{{col-begin}}
{{col-2}}AA
{{col-2}}BB
{{end}}
Result:
| AA
|
BB |
See also
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 |
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" />
TemplateData
TemplateData for End
Ends a table. Must appear on a separate line. Normally used with {{col-begin}}. It takes no parameters.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||