Difference between revisions of "Template:Election winner list begin/doc"
Jump to navigation
Jump to search
imported>PinkPanda272 (→Usage: Example) |
imported>PinkPanda272 (→Usage: Example) |
||
| Line 7: | Line 7: | ||
<nowiki> | <nowiki> | ||
{{Election winner list start | {{Election winner list start | ||
| − | |title | + | |title = |
| − | |area_name | + | |area_name = |
| − | |rep_name | + | |rep_name = |
| + | |result_name = | ||
}}</nowiki> | }}</nowiki> | ||
| + | ===Example=== | ||
===Example=== | ===Example=== | ||
Inserting... | Inserting... | ||
<nowiki> | <nowiki> | ||
{{Election winner list start | {{Election winner list start | ||
| − | |title | + | |title = Example Election |
| − | |area_name | + | |area_name = Constituency |
| − | |rep_name | + | |rep_name = MP |
| − | }}</nowiki> | + | |result_name = Result |
| + | }}} | ||
| + | {{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 | ||
| + | }} | ||
| + | {{End}} | ||
| + | </nowiki> | ||
Produces... | Produces... | ||
{{Election winner list start | {{Election winner list start | ||
| − | |title | + | |title = Example Election |
| − | |area_name | + | |area_name = Constituency |
| − | |rep_name | + | |rep_name = MP |
| + | |result_name = Result | ||
| + | }}} | ||
| + | {{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 | ||
}} | }} | ||
| + | {{End}} | ||
| + | |||
| + | <includeonly>{{sandbox other||[[Category:Election and referendum infobox templates]] | ||
| + | }}</includeonly> | ||
<includeonly>{{Sandbox other||[[Category:Election and referendum infobox templates]] | <includeonly>{{Sandbox other||[[Category:Election and referendum infobox templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 07:15, 12 May 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. |
Contents
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}} for individual rows.
Blank Template
{{Election winner list start
|title =
|area_name =
|rep_name =
|result_name =
}}
Example
Example
Inserting...
{{Election winner list start
|title = Example Election
|area_name = Constituency
|rep_name = MP
|result_name = Result
}}}
{{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
}}
{{End}}
Produces...
| Constituency | MP | Result | ||
|---|---|---|---|---|
| 1 | Holborn and St Pancras | Keir Starmer | Labour hold | |