![]() | This is a documentation subpage for Template:AMS election box begin. It may contain usage information, categories and other content that is not part of the original template page. |
This set of templates creates a table to record the results of elections using the Additional Members System, including elections to the Scottish Parliament, 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).
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:
3. Below this you can put additional information about the election:
4. Then you can add a row describing the result of the constituency vote
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.
Inserting...
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|notes=yes}} |
Produces...
Party | Candidate | Constituency | Region | |||||
---|---|---|---|---|---|---|---|---|
Votes | % | ±% | Votes | % | ±% | |||
SNP | Nicola Sturgeon[a] | 20,000 | 33.3 | ![]() |
18,000 | 30.0 | ![]() | |
Conservative | Ruth Davidson[b] | 17,500 | 29.2 | ![]() |
21,000 | 35.0 | ![]() | |
Labour | Kezia Dugdale[c] | 16,000 | 26.7 | ![]() |
15,000 | 25.0 | ![]() | |
Liberal Democrats | Willie Rennie | 5,000 | 8.4 | ![]() |
4,000 | 6.7 | ![]() | |
TUSC | John Smith | 500 | 0.8 | New | ||||
Local Party | Jane Smith | 300 | 0.5 | ![]() |
||||
Scottish Green | 1,000 | 1.7 | ![]() | |||||
UKIP | 500 | 0.8 | ![]() | |||||
Independent | Lord Buckethead | 100 | 0.2 | New | ||||
Majority | 2,500 | 3.0 | ![]() |
|||||
Valid Votes | 59,300 | 59,600 | ||||||
Invalid Votes | 600 | 400 | ||||||
Turnout | 60,000 | 50.0 | ![]() |
60,100 | 50.1 | ![]() | ||
SNP hold | Swing | ![]() |
||||||
Notes |
{{AMS election box begin |title = |constituency_type = |list_type = }}