Jump to content

Template:End

Ginen Wikipedia

|}

[edit] Dokumenton plantiyas

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

Position

[edit source]

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

[edit source]

Other "table end" templates redirect here.

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

Example

[edit source]
{{election table|Template name|editlink=no|Summary of the May 2, 2011 election}}
|- style="text-align:right;"
! 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: Template:Election table |- style="text-align:right;" ! 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 |- |}

TemplateData

[edit source]
This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for End

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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified

See also

[edit source]

Column-generating template families

[edit source]

Template:Caution

Family Type
Handles wiki
 table code?Template:Sup
Start template Column divider End template
"Col" Table {{Col-begin}}
or {{Col-begin-small}}
{{Col-break}}
{{Col-2}} .. {{Col-5}}
{{Col-end}}
"Columns" Table Green tickY {{Columns}}
"Multicol" Table {{Multicol}} {{Multicol-break}} {{Multicol-end}}
"Col-float" CSS float Green tickY {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns-start" CSS float Green tickY {{Columns-start}} {{Column}} {{Columns-end}}
"Div col" CSS columns Green tickY {{Div col}}
– {{Columns-list}} (wrapper)
{{No col break}} {{Div col end}}

Template:Sup 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.