Template:AMS election box independent
|- ! scope="row" style="width: 5px; background-color: #DDDDDD"| | Independent | {{{candidate}}} | colspan="3"| | style="text-align: right; margin-right: 0.5em"|{{{list_votes}}} | style="text-align: right; margin-right: 0.5em"| {{{list_percentage}}} | style="text-align: right; margin-right: 0.5em"|{{{list_change}}} |-
Overview
This set of templates creates a table to record the results of elections using the Additional Members System, including elections to the Scottish Parliament, Welsh Senedd and London Assembly. The system is also used in Germany for elections to the federal Bundestag and the state Landtags, as well as in New Zealand (although election articles there generally use the Template:TL set of templates).
Usage
1. Use {{AMS election box begin}} to create the title and header.
2. Use an {{AMS election box with party link}} template for each party or independent candidate that is contesting either the constituency, list, or both. There are variations on this depending on the situation:
- {{AMS election box with party link}} for parties contesting both the constituency and the list.
- {{AMS election box with constituency party link}} for parties only contesting the constituency.
- {{AMS election box with list party link}} for parties only contesting the list.
- {{AMS election box independent}} for independent candidates only contesting the list.
- {{AMS election box minor party}} for small parties without a Wikipedia article, and who are only contesting the constituency.
3. Below this you can put additional information about the election:
- {{AMS election box majority}} to show the constituency majority.
- {{AMS election box valid votes}} to show the number of valid constituency and list votes.
- {{AMS election box invalid votes}} to show the number of invalid constituency and list votes.
- {{AMS election box turnout}} to show the overall turnout (the total number of ballots cast, whether valid or not).
4. Then you can add a row describing the result of the constituency vote
- {{AMS election box hold}} to show that the incumbent party held the seat.
- {{AMS election box gain}} to show that the incumbent party lost the seat to another party.
- {{AMS election box win}} to show the result of a seat that hasn't been contested before, or has had boundary changes since the last election.
5. Finish the table off with {{AMS election box end}}, making sure to insert it on a new row. This adds a {{notelist}} template automatically.
Examples
Inserting...
{{AMS election box begin |title = [[2016 Scottish Parliament election]]<br>Aberdeen Central |constituency_type = Constituency |list_type = Region }} {{AMS election box with party link |party = Scottish National Party |candidate = [[Kevin Stewart (Scottish politician)|Kevin Stewart]] |votes = 11,648 |percentage = 43.6 |change = {{increase}}3.4 |list_votes = 10,269 |list_percentage = |list_change = |winner = yes |list_winner = yes |incumbent = yes }} {{AMS election box with party link |party = Scottish Labour Party |candidate = [[Lewis Macdonald]] |votes = 7,299 |percentage = 27.3 |change = {{decrease}}10.2 |list_votes = 5,381 |list_percentage = |list_change = |list_candidate = yes }} {{AMS election box with party link |party = Scottish Conservatives |candidate = [[Tom Mason (Scottish politician)|Tom Mason]] |votes = 6,022 |percentage = 22.6 |change = {{increase}}10.3 |list_votes = 6,466 |list_percentage = |list_change = |list_candidate = yes }} {{AMS election box with party link |party = Scottish Liberal Democrats |candidate = Kevin McLeod |votes = 1,735 |percentage = 7.5 |change = {{decrease}}2.8 |list_votes = 1,401 |list_percentage = |list_change = }} {{AMS election box with list party link |party = Scottish Greens |list_votes = 2,282 |list_percentage = |list_change = }} {{AMS election box with list party link |party = UKIP |list_votes = 478 |list_percentage = |list_change = }} {{AMS election box with list party link |party = Scottish Christian Party |list_votes = 208 |list_percentage = |list_change = }} {{AMS election box with list party link |party = Solidarity (Scotland) |list_votes = 88 |list_percentage = |list_change = }} {{AMS election box with list party link |party = RISE - Scotland's Left Alliance |list_votes = 75 |list_percentage = |list_change = }} {{AMS election box with list party link |party = Scottish Libertarian Party |list_votes = 65 |list_percentage = |list_change = }} {{AMS election box with list party link |party = Communist Party of Great Britain |list_votes = 60 |list_percentage = |list_change = }} {{AMS election box with list party link |party = National Front (United Kingdom) |list_votes = 60 |list_percentage = |list_change = }} {{AMS election box majority |votes = 4,349 |percentage = 16.3 |change = {{increase}}13.8 }} {{AMS election box valid votes |votes = 26,704 |list_votes = 26,833 }} {{AMS election box invalid votes |votes = 137 |list_votes = 58 }} {{AMS election box turnout |votes = 26,841 |percentage = 46.7 |change = {{increase}}2.9 |list_votes = 26,891 }} {{AMS election box hold |winner = Scottish National Party |swing = {{increase}}6.9 }} {{AMS election box end}}
Produces...
Party | Constituency | Region | ||||||
---|---|---|---|---|---|---|---|---|
Candidate | Votes | % | ±% | Votes | % | ±% | ||
scope="row" style="width: 5px; background-color: Template:Scottish National Party/meta/color"| | [[Scottish National Party|Template:Scottish National Party/meta/shortname]] | Kevin Stewart[lower-alpha 1] | 11,648 | 43.6 | 3.4 | 10,269 | ||
scope="row" style="width: 5px; background-color: Template:Scottish Labour Party/meta/color"| | [[Scottish Labour Party|Template:Scottish Labour Party/meta/shortname]] | Lewis Macdonald[lower-alpha 2] | 7,299 | 27.3 | 10.2 | 5,381 | ||
scope="row" style="width: 5px; background-color: Template:Scottish Conservatives/meta/color"| | [[Scottish Conservatives|Template:Scottish Conservatives/meta/shortname]] | Tom Mason | 6,022 | 22.6 | 10.3 | 6,466 | ||
scope="row" style="width: 5px; background-color: Template:Scottish Liberal Democrats/meta/color"| | [[Scottish Liberal Democrats|Template:Scottish Liberal Democrats/meta/shortname]] | Kevin McLeod | 1,735 | 7.5 | 2.8 | 1,401 | ||
scope="row" style="width: 5px; background-color: Template:Scottish Greens/meta/color"| | [[Scottish Greens|Template:Scottish Greens/meta/shortname]] | 2,282 | ||||||
scope="row" style="width: 5px; background-color: Template:UKIP/meta/color"| | [[UKIP|Template:UKIP/meta/shortname]] | 478 | ||||||
scope="row" style="width: 5px; background-color: Template:Scottish Christian Party/meta/color"| | [[Scottish Christian Party|Template:Scottish Christian Party/meta/shortname]] | 208 | ||||||
scope="row" style="width: 5px; background-color: Template:Solidarity (Scotland)/meta/color"| | [[Solidarity (Scotland)|Template:Solidarity (Scotland)/meta/shortname]] | 88 | ||||||
scope="row" style="width: 5px; background-color: Template:RISE - Scotland's Left Alliance/meta/color"| | [[RISE - Scotland's Left Alliance|Template:RISE - Scotland's Left Alliance/meta/shortname]] | 75 | ||||||
scope="row" style="width: 5px; background-color: Template:Scottish Libertarian Party/meta/color"| | [[Scottish Libertarian Party|Template:Scottish Libertarian Party/meta/shortname]] | 65 | ||||||
Communist | 60 | |||||||
scope="row" style="width: 5px; background-color: Template:National Front (United Kingdom)/meta/color"| | [[National Front (United Kingdom)|Template:National Front (United Kingdom)/meta/shortname]] | 60 | ||||||
Majority | 4,349 | 16.3 | 13.8 | |||||
Valid Votes | 26,704 | 26,833 | ||||||
Invalid Votes | 137 | 58 | ||||||
Turnout | 26,841 | 46.7 | 2.9 | 26,891 | ||||
style="background-color: Template:Scottish National Party/meta/color" | | [[Scottish National Party|Template:Scottish National Party/meta/shortname]] hold | Swing | 6.9 |
- ↑ Incumbent member for this constituency
- ↑ Elected on the party list
Information
list_winner
denotes that the party has the most list votes (within the constituency).
To use this template, put yes
after the appropriate field.
Blank Template
{{AMS election box independent |candidate = |list_votes = |list_percentage = |list_change = |list_winner = }}
The above documentation is transcluded from Template:AMS election box independent/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |