Difference between revisions of "Template:Election winner list begin/doc"
Jump to navigation
Jump to search
imported>PinkPanda272 (update) |
imported>PinkPanda272 (update) |
||
| Line 6: | Line 6: | ||
===Blank Template=== | ===Blank Template=== | ||
<nowiki> | <nowiki> | ||
| − | {{Election winner list | + | {{Election winner list begin |
|title = | |title = | ||
|area_name = | |area_name = | ||
|rep_name = | |rep_name = | ||
|result_name = | |result_name = | ||
| − | | | + | |numbered = yes/no |
}}</nowiki> | }}</nowiki> | ||
| Line 17: | Line 17: | ||
Inserting... | Inserting... | ||
<nowiki> | <nowiki> | ||
| − | {{Election winner list | + | {{Election winner list begin |
|title = Example Election | |title = Example Election | ||
|area_name = Constituency | |area_name = Constituency | ||
|rep_name = MP | |rep_name = MP | ||
|result_name = Result | |result_name = Result | ||
| − | | | + | |numbered = yes |
}}} | }}} | ||
{{Election winner list with party link | {{Election winner list with party link | ||
| Line 29: | Line 29: | ||
|rep = [[Keir Starmer]] | |rep = [[Keir Starmer]] | ||
|party = Labour Party (UK) | |party = Labour Party (UK) | ||
| + | |result = hold | ||
| + | }} | ||
| + | {{Election winner list with party link | ||
| + | |area_number = 2 | ||
| + | |area = [[Uxbridge and South Ruislip (UK Parliament constituency)|Uxbridge and South Ruislip]] | ||
| + | |rep = [[Boris Johnson]] | ||
| + | |party = Conservative Party (UK) | ||
|result = hold | |result = hold | ||
}} | }} | ||
| Line 40: | Line 47: | ||
|rep_name = MP | |rep_name = MP | ||
|result_name = Result | |result_name = Result | ||
| − | + | }} | |
{{Election winner list with party link | {{Election winner list with party link | ||
|area_number = 1 | |area_number = 1 | ||
| Line 46: | Line 53: | ||
|rep = [[Keir Starmer]] | |rep = [[Keir Starmer]] | ||
|party = Labour Party (UK) | |party = Labour Party (UK) | ||
| + | |result = hold | ||
| + | }} | ||
| + | {{Election winner list with party link | ||
| + | |area_number = 2 | ||
| + | |area = [[Uxbridge and South Ruislip (UK Parliament constituency)|Uxbridge and South Ruislip]] | ||
| + | |rep = [[Boris Johnson]] | ||
| + | |party = Conservative Party (UK) | ||
|result = hold | |result = hold | ||
}} | }} | ||
| Line 51: | Line 65: | ||
<includeonly>{{sandbox other||[[Category:Election and referendum infobox templates]] | <includeonly>{{sandbox other||[[Category:Election and referendum infobox templates]] | ||
| − | |||
| − | |||
| − | |||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 18:29, 5 December 2020
| 40px | This is a documentation subpage for Template:Election winner list begin. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Creates a summary of elected representatives in a parliamentary/municipal election, where there are multiple wards or constituencies. This template creates the header, use {{Election winner list with party link}} or {{Election winner list without party link}} for individual rows.
Blank Template
{{Election winner list begin
|title =
|area_name =
|rep_name =
|result_name =
|numbered = yes/no
}}
Example
Inserting...
{{Election winner list begin
|title = Example Election
|area_name = Constituency
|rep_name = MP
|result_name = Result
|numbered = yes
}}}
{{Election winner list with party link
|area_number = 1
|area = [[Holborn and St Pancras (UK Parliament constituency)|Holborn and St Pancras]]
|rep = [[Keir Starmer]]
|party = Labour Party (UK)
|result = hold
}}
{{Election winner list with party link
|area_number = 2
|area = [[Uxbridge and South Ruislip (UK Parliament constituency)|Uxbridge and South Ruislip]]
|rep = [[Boris Johnson]]
|party = Conservative Party (UK)
|result = hold
}}
{{End}}
Produces...
| Constituency | MP | Result | ||
|---|---|---|---|---|
| 1 | Holborn and St Pancras | Keir Starmer | Labour hold | |
| 2 | Uxbridge and South Ruislip | Boris Johnson | Conservative hold | |