Template:Table end

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 {{Collapse top}} which requires a {{collapse bottom}} to end a collapsible text.

This template duplicates {{s-end}} for technical reasons. See the documentation on that page. Any succession template ending with {{end}} should be changed to {{s-end}}.

Position

WARNING: Template {{end}} must be placed on a separate line for ending a table; otherwise, it inserts a literal bar-brace "|}" into the text.

Redirects

Other "table end" templates redirect here, which some may prefer visually: for example ending {{Election box}} series with Template:TLx.

Alternatively a hidden comment can be used, such as {{End}} <!-- Election box -->, to indicate which table start template it matches.

Example

<syntaxhighlight lang="wikitext">

ed {{{2}}}
Party Main candidate Votes % +/– Seats +/–
Green John Johnson 12 50% +5 5 +1

</syntaxhighlight> Result:

ed {{{2}}}
Party Main candidate Votes % +/– Seats +/–
Green John Johnson 12 50% +5 5 +1

Tracking categories

TemplateData

This is the TemplateData documentation for the template used by the new VisualEditor.

Table end

<templatedata> {

   "description": "Ends a table. Must appear on a separate line. Normally used with 
"params": { } } </templatedata>

See also