• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:End

  • Template
  • Talk
  • Language
  • Watch
  • View source
(Redirected from Template:Collapse AI bottom)
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 133,000 pages.
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.

Usage

This template ends any table (with bar-brace "|}") and may be used with any other templates that begin a one-level table and require no further closing markup.

Note: Using the standard table end wikitext |} will work correctly, but may be seen as an error by some maintenance utilities.

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 to this one in order to avoid having redundant templates. Where possible, use the end template that matches the start template. For example, tables opened with {{Election box}} and similar templates should be closed with the redirect {{Election box end}} so that the wikitext is easy for editors to understand.

If no specific end template exists, then a hidden comment can be added, such as {{End}} <!-- Election box -->, to indicate which table-opening template it matches.

Example

{{election table|title=Summary of the May 2, 2011 election}}
|- style="text-align: left;"
! style="background-color:#E9E9E9; width:400; text-align:left;" colspan="2" | Party
! style="background-color:#E9E9E9; width:200; text-align:left;" | Main candidate
! style="background-color:#E9E9E9; width:50;" | Votes
! style="background-color:#E9E9E9; width:50;" | %
! style="background-color:#E9E9E9; width:50;" | +/–
! style="background-color:#E9E9E9; width:50;" | Seats
! style="background-color:#E9E9E9; width:50;" | +/–
|-
| style="background-color:green" | || Green
| John Johnson
| 12
| 50%
| +5
| 5
| +1
|-
{{end}} <!-- Election table -->

Result:

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

Tracking categories

  • Category:Pages using end template with unknown parameters (0)

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. It takes no parameters.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified

See also

  • {{!)}}
  • {{Rugby squad end}} inserts two instances of wikitable closing markup
  • {{Div col end}} inserts a closing </div> tag
  • {{End tab}} inserts two closing </div> tags
  • {{Pope list end}} inserts a wikitext |} closing tag followed by a closing </div> tag
  • {{Column-generating template families}}
The above documentation is transcluded from Template:End/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:End&oldid=1213572933"