Template:End/doc

From English Wikipedia @ Freddythechick

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.

Alternatively, this template may take the dummy parameter 1=, such as {{End|Cricket series}}, to indicate which table start template it matches (in the example given, {{Election table}}). The parameter has no technical function.

Example

<syntaxhighlight lang="wikitext">

Summary of the May 2, 2011 election
Party Main candidate Votes % +/– Seats +/–
Green John Johnson 12 50% +5 5 +1

</syntaxhighlight> Result:

Summary of the May 2, 2011 election
Party Main candidate Votes % +/– Seats +/–
Green John Johnson 12 50% +5 5 +1

Tracking categories

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:End in articles based on its TemplateData.

TemplateData for End

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

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

See also