Template:End

From Wikipedia, the free encyclopedia
Jump to: navigation, search

|}

Documentation icon Template documentation[view] [edit] [history] [purge]

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
{{col-end}}

Result:

{{col-begin}}
{{col-2}}AA
{{col-2}}BB
{{col-end}}

Result:

See also

Column-generating template families

Family
Handles wiki
 table code?dagger
Start template Break between columns End template
"Col" {{Col-begin}}
or {{Col-begin-small}}
{{Col-break}}
{{Col-6}} or use {{Col-break|width=16.6%}},
i.e. with width ≈ 100%/6.
{{Col-7}} or use {{Col-break|width=14.2%}},
i.e. with width ≈ 100%/7.
{{Col-8}} or use {{Col-break|width=12.5%}},
i.e. with width = 100%/8.
For nine or even more columns, use {{Col-break|width=[W]%}},
where [W] ≈ 100 divided by the number of columns desired.
{{Col-end}}
"Col-float" Green tickY {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns" Green tickY {{Columns}}
"Columns-start" Green tickY {{Columns-start}} {{Column}} {{Columns-end}}
"Div col" Green tickY {{Div col}}
or {{Columns-list}}
{{Div col end}}
"Multicol" {{Multicol}} {{Multicol-break}} {{Multicol-end}}

dagger 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.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

End

Ends a table. Must appear on a separate line. Normally used with {{col-begin}}. It takes no parameters.

Template parameters
Parameter Description Type Default Auto value Status