Jump to content

Teamplaid:End/documentation

O Wiktionary

Ùsaid - Usage

[deasaich]

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

[deasaich]

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

[deasaich]

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.

Eisimpleirean - Examples

[deasaich]
{{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: Teamplaid: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 |- |}

Teamplaid-dàta - TemplateData

[deasaich]
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.

Paramadairean na teamplaide[Stiùirich an TemplateData]

ParamadairTuairisgeulSeòrsaStaid
Cha deach paramadair a shònrachadh

Faic cuideachd - Also see

Column-generating template families

[deasaich]
Family Type
Handles wiki
 table code?Dagger
Responsive/
Mobile suited
Start template Column divider End template
"Col" Table Yes No {{Col-begin}},
{{Col-begin-fixed}} or
{{Col-begin-small}}
{{Col-break}} or
{{Col-2}} .. {{Col-5}}
{{Col-end}}
"Col-float" CSS float Yes Yes {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns" Table No No {{Columns}}
"Columns-list" CSS columns Yes Yes {{Columns-list}} (wrapper)
"Columns-start" CSS float Yes Yes {{Columns-start}} {{Column}} {{Columns-end}}
"Flex columns" CSS flexbox Yes Yes {{Flex columns}}
"Div Col" CSS columns Yes Yes {{Div Col}} {{Div Col end}}

Dagger I.e., can the columns handle the Wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) or HTML tags (<table>...</table>, <tr>...</tr>, etc.) will need to be used instead.