|- class="vcard" ! scope="row" style="width: 5px; color:inherit; background-color: #F8F9FA"| | class="org" style="width: 130px" | [[{{{party}}}|{{{party}}}]] | {{{candidate}}} | style="text-align: right; margin-right: 0.5em"|{{{votes}}} | style="text-align: right; margin-right: 0.5em"| | style="text-align: right; margin-right: 0.5em"| | colspan="3"| |-
Overview
editThis 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 {{MMP election box}} set of templates).
Usage
edit1. 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
editInserting...
Example markup
|
---|
{{AMS election box begin |title = [[2016 Scottish Parliament election]]<br>Example Constituency |constituency_type = Constituency |list_type = Region }} {{AMS election box with party link |party = Scottish National Party |candidate = [[Nicola Sturgeon]] |votes = 20,000 |percentage = 33.3 |change = {{increase}}5.0 |list_votes = 18,000 |list_percentage = 30.0 |list_change = {{increase}}2.0 |winner = yes |status = incumbent }} {{AMS election box with party link |party = Scottish Conservatives |candidate = [[Ruth Davidson]] |votes = 17,500 |percentage = 29.2 |change = {{increase}}3.0 |list_votes = 21,000 |list_percentage = 35.0 |list_change = {{increase}}6.0 |list_winner = yes |status = list_incumbent }} {{AMS election box with party link |party = Scottish Labour |candidate = [[Kezia Dugdale]] |votes = 16,000 |percentage = 26.7 |change = {{decrease}}4.0 |list_votes = 15,000 |list_percentage = 25.0 |list_change = {{decrease}}4.0 |status = list_candidate }} {{AMS election box with party link |party = Scottish Liberal Democrats |candidate = [[Willie Rennie]] |votes = 5,000 |percentage = 8.4 |change = {{decrease}}1.0 |list_votes = 4,000 |list_percentage = 6.7 |list_change ={{decrease}}1.5 }} {{AMS election box with constituency party link |party = Trade Unionist and Socialist Coalition |candidate = John Smith |votes = 500 |percentage = 0.8 |change = ''New'' }} {{AMS election box minor party |party = Local Party |candidate = Jane Smith |votes = 300 |percentage = 0.5 |change = {{decrease}}1.0 }} {{AMS election box with list party link |party = Scottish Greens |list_votes = 1,000 |list_percentage = 1.7 |list_change = {{increase}}1.0 }} {{AMS election box with list party link |party = UKIP |list_votes = 500 |list_percentage = 0.8 |list_change ={{decrease}}3.0 }} {{AMS election box independent |party = Independent (politician) |candidate = [[Lord Buckethead]] |list_votes = 100 |list_percentage = 0.2 |list_change = ''New'' }} {{AMS election box majority |votes = 2,500 |percentage = 3.0 |change = {{increase}}1.0 }} {{AMS election box valid votes |votes = 59,300 |list_votes = 59,600 }} {{AMS election box invalid votes |votes = 600 |list_votes = 400 }} {{AMS election box turnout |votes = 60,000 |percentage = 50.0 |change = {{increase}}5.0 |list_votes = 60,100 |list_percentage = 50.1 |list_change = {{increase}}5.0 }} {{AMS election box hold |winner = Scottish National Party |swing = {{increase}}3.0 }} {{AMS election box end}} |
Produces...
Party | Candidate | Constituency | Region | |||||
---|---|---|---|---|---|---|---|---|
Votes | % | ±% | Votes | % | ±% | |||
SNP | Nicola Sturgeon[a] | 20,000 | 33.3 | 5.0 | 18,000 | 30.0 | 2.0 | |
Conservative | Ruth Davidson[b] | 17,500 | 29.2 | 3.0 | 21,000 | 35.0 | 6.0 | |
Labour | Kezia Dugdale[c] | 16,000 | 26.7 | 4.0 | 15,000 | 25.0 | 4.0 | |
Liberal Democrats | Willie Rennie | 5,000 | 8.4 | 1.0 | 4,000 | 6.7 | 1.5 | |
TUSC | John Smith | 500 | 0.8 | New | ||||
Local Party | Jane Smith | 300 | 0.5 | 1.0 | ||||
Scottish Green | 1,000 | 1.7 | 1.0 | |||||
UKIP | 500 | 0.8 | 3.0 | |||||
Independent | Lord Buckethead | 100 | 0.2 | New | ||||
Majority | 2,500 | 3.0 | 1.0 | |||||
Valid Votes | 59,300 | 59,600 | ||||||
Invalid Votes | 600 | 400 | ||||||
Turnout | 60,000 | 50.0 | 5.0 | 60,100 | 50.1 | 5.0 | ||
SNP hold | Swing | 3.0 |
Information
editwinner
denotes that the candidate has the most constituency votes.
To use this template, put yes
after the appropriate field.
incumbent
and list_incumbent
each generate a footnote giving extra detail about a constituency candidate's status:
incumbent
"Incumbent member for this constituency"list_incumbent
"Incumbent member on the party list or for another constituency"
Leave blank to omit it, otherwise put yes
after the appropriate field to include it. A {{notelist}} template is generated under the table if you use {{AMS election box end}}.
Blank Template
edit{{AMS election box with constituency party link |party = |candidate = |votes = |percentage = |change = |winner = |incumbent = |list_incumbent = }}
Notes
edit- ^ Incumbent member for this constituency
- ^ Incumbent member on the party list, or for another constituency
- ^ Elected on the party list