I have added some election box templates for non-partisan elections or elections where all candidates are from the same party, such as U.S. party primaries:
Usage is the same as other election box templates, except minus any party parameters. (The standard {{ Election box end}} template should be used in conjunction with these.)
For example:
{{Election box begin no party | title=Any State USA Party Primary, 2006 }} {{Election box candidate no party | candidate = [[Jane Incumbent]] | votes = 1,000 | percentage = 66.7 | change = }} {{Election box candidate no party | candidate = [[Joe Challenger]] | votes = 500 | percentage = 33.3 | change = }} {{Election box turnout no party | votes = 1,500 | percentage = 100.0 | change = }} {{Election box end}}
Produces this:
Candidate | Votes | % | ± | |
---|---|---|---|---|
Jane Incumbent | 1,000 | 66.7 | ||
Joe Challenger | 500 | 33.3 | ||
Turnout | 1,500 | 100.0 |
I have also created another template to use with the above no party templates:
For example:
{{Election box begin no party | title=Any State USA Party Primary, 2006 }} {{Election box candidate no party with winner | winner = ✓ | candidate = [[Jane Incumbent]] | votes = 1,000 | percentage = 66.7 | change = }} {{Election box candidate no party with winner | winner = | candidate = [[Joe Challenger]] | votes = 500 | percentage = 33.3 | change = }} {{Election box turnout no party | votes = 1,500 | percentage = 100.0 | change = }} {{Election box end}}
Produces this:
Candidate | Votes | % | ± | |
---|---|---|---|---|
✓ | Jane Incumbent | 1,000 | 66.7 | |
Joe Challenger | 500 | 33.3 | ||
Turnout | 1,500 | 100.0 |
The winner parameter can be any symbol (or word) you choose. (See
Tick (checkmark) for some possibilities.)
I welcome any suggestions or changes. — Bellhalla 15:45, 12 March 2006 (UTC)
I have just created {{ Election box candidate AU party}} to use the Australian politics party colours templates listed at Wikipedia:WikiProject Australian politics. This is used instead of {{ Election box candidate with party link}}, and should have a short name such as "Labor" or "Liberal" in the party field. Last year I also created {{ Election box formal}}, {{ Election box informal}}, {{ Election box total}} and {{ Election box 2pp}} to complete boxes for Australian elections (which have compulsory, preferential voting). JPD ( talk) 10:33, 18 October 2006 (UTC)
I have just created {{ Election box hold AU party}} and {{ Election box gain AU party}} for Australian politics. Frickeg 09:31, 15 June 2007 (UTC)
I have added a set of election box style templates for inline usage. These are intended for cases where one wants to present a large number of results without having incredibly long pages generated, such as in U.S. state House of Representatives elections.
The templates are:
Usage is the similar to other election box templates with some changes.
Use this template once for each table.
Use this template once for each race in the table.
Use this template in place of {{ Election box inline incumbent}} for those elections involving a newly created district or constituency.
Use this template once for each candidate in a race.
Use this template once at the end of each table.
For example:
{{Election box inline begin |type = Place |change = from 2005 }} {{Election box inline incumbent |race = 1 |party = Republican Party (US) |incumbent = [[John J. Incumbent]] |status = Did not run |candidates = 2 }} {{Election box inline candidate with party link | party= Republican Party (US) | candidate = [[James T. Nominee]] | votes = 1500 | percentage = 75.00 | change = +35.00 }} {{Election box inline candidate | party= Write-In | candidate = [[Mary Sue Challenger]] | votes = 500 | percentage = 25.00 | change = +25.00 }} {{Election box inline incumbent |race = 2 |party = Democratic Party (US) |incumbent = [[Jennifer Contender]] |status = reelected |candidates = 1 }} {{Election box inline candidate with party link | party= Democratic Party (US) | candidate = [[Jennifer Contender]] | votes = 2,000 | percentage = 100.00 | change = +0.50 }} {{election box inline end}}
Produces this:
Place | Party | Incumbent | Status | Party | Candidate | Votes | % | Change from 2005 | ||
---|---|---|---|---|---|---|---|---|---|---|
1 | Republican | John J. Incumbent | Did not run | Republican | James T. Nominee | 1500 | 75.00 | +35.00 | ||
Write-In | Mary Sue Challenger | 500 | 25.00 | +25.00 | ||||||
2 | Democratic | Jennifer Contender | reelected | Democratic | Jennifer Contender | 2,000 | 100.00 | +0.50 |
I welcome any suggestions or improvements. — Bellhalla 16:08, 18 December 2006 (UTC)
Example displaying party shift:
{{Election box inline begin |type = Place |change = from 2005 }} {{Election box inline incumbent |race = 1 |party = Republican Party (US) |incumbent = [[John J. Incumbent]] |status = Did not run |candidates = 3 }} {{Election box inline candidate with party link | party= Democratic Party (US) | candidate = [[Jennifer Contender]] | votes = 2,000 | percentage = 63.0 | change = +0.50 | shift = Democratic }} {{Election box inline candidate with party link | party = Republican Party (US) | candidate = [[James T. Nominee]] | votes = 1500 | percentage = 30.00 | change = -21.00 }} {{Election box inline candidate | party= Write-In | candidate = [[Mary Sue Challenger]] | votes = 500 | percentage = 7.00 | change = }} {{election box inline end}}
Produces this:
Place | Party | Incumbent | Status | Party | Candidate | Votes | % | Change from 2005 | ||
---|---|---|---|---|---|---|---|---|---|---|
1 | Republican | John J. Incumbent | Did not run | Democratic | Jennifer Contender | 2,000 | 63.00 | +14.00 | ||
Republican | James T. Nominee | 1,500 | 30.00 | -21.00 | ||||||
Write-In | Mary Sue Challenger | 500 | 7.00 | +7.00 |
I have just created {{ Election box new seat win}} for new constituencies where no information is available on the notional previous holder of the seat. For an example of its usage, see Dunfermline Burghs (UK Parliament constituency)#Election_results. -- BrownHairedGirl (talk) • ( contribs) 15:18, 5 October 2007 (UTC)
I have added some election box templates for non-partisan elections or elections where all candidates are from the same party, such as U.S. party primaries:
Usage is the same as other election box templates, except minus any party parameters. (The standard {{ Election box end}} template should be used in conjunction with these.)
For example:
{{Election box begin no party | title=Any State USA Party Primary, 2006 }} {{Election box candidate no party | candidate = [[Jane Incumbent]] | votes = 1,000 | percentage = 66.7 | change = }} {{Election box candidate no party | candidate = [[Joe Challenger]] | votes = 500 | percentage = 33.3 | change = }} {{Election box turnout no party | votes = 1,500 | percentage = 100.0 | change = }} {{Election box end}}
Produces this:
Candidate | Votes | % | ± | |
---|---|---|---|---|
Jane Incumbent | 1,000 | 66.7 | ||
Joe Challenger | 500 | 33.3 | ||
Turnout | 1,500 | 100.0 |
I have also created another template to use with the above no party templates:
For example:
{{Election box begin no party | title=Any State USA Party Primary, 2006 }} {{Election box candidate no party with winner | winner = ✓ | candidate = [[Jane Incumbent]] | votes = 1,000 | percentage = 66.7 | change = }} {{Election box candidate no party with winner | winner = | candidate = [[Joe Challenger]] | votes = 500 | percentage = 33.3 | change = }} {{Election box turnout no party | votes = 1,500 | percentage = 100.0 | change = }} {{Election box end}}
Produces this:
Candidate | Votes | % | ± | |
---|---|---|---|---|
✓ | Jane Incumbent | 1,000 | 66.7 | |
Joe Challenger | 500 | 33.3 | ||
Turnout | 1,500 | 100.0 |
The winner parameter can be any symbol (or word) you choose. (See
Tick (checkmark) for some possibilities.)
I welcome any suggestions or changes. — Bellhalla 15:45, 12 March 2006 (UTC)
I have just created {{ Election box candidate AU party}} to use the Australian politics party colours templates listed at Wikipedia:WikiProject Australian politics. This is used instead of {{ Election box candidate with party link}}, and should have a short name such as "Labor" or "Liberal" in the party field. Last year I also created {{ Election box formal}}, {{ Election box informal}}, {{ Election box total}} and {{ Election box 2pp}} to complete boxes for Australian elections (which have compulsory, preferential voting). JPD ( talk) 10:33, 18 October 2006 (UTC)
I have just created {{ Election box hold AU party}} and {{ Election box gain AU party}} for Australian politics. Frickeg 09:31, 15 June 2007 (UTC)
I have added a set of election box style templates for inline usage. These are intended for cases where one wants to present a large number of results without having incredibly long pages generated, such as in U.S. state House of Representatives elections.
The templates are:
Usage is the similar to other election box templates with some changes.
Use this template once for each table.
Use this template once for each race in the table.
Use this template in place of {{ Election box inline incumbent}} for those elections involving a newly created district or constituency.
Use this template once for each candidate in a race.
Use this template once at the end of each table.
For example:
{{Election box inline begin |type = Place |change = from 2005 }} {{Election box inline incumbent |race = 1 |party = Republican Party (US) |incumbent = [[John J. Incumbent]] |status = Did not run |candidates = 2 }} {{Election box inline candidate with party link | party= Republican Party (US) | candidate = [[James T. Nominee]] | votes = 1500 | percentage = 75.00 | change = +35.00 }} {{Election box inline candidate | party= Write-In | candidate = [[Mary Sue Challenger]] | votes = 500 | percentage = 25.00 | change = +25.00 }} {{Election box inline incumbent |race = 2 |party = Democratic Party (US) |incumbent = [[Jennifer Contender]] |status = reelected |candidates = 1 }} {{Election box inline candidate with party link | party= Democratic Party (US) | candidate = [[Jennifer Contender]] | votes = 2,000 | percentage = 100.00 | change = +0.50 }} {{election box inline end}}
Produces this:
Place | Party | Incumbent | Status | Party | Candidate | Votes | % | Change from 2005 | ||
---|---|---|---|---|---|---|---|---|---|---|
1 | Republican | John J. Incumbent | Did not run | Republican | James T. Nominee | 1500 | 75.00 | +35.00 | ||
Write-In | Mary Sue Challenger | 500 | 25.00 | +25.00 | ||||||
2 | Democratic | Jennifer Contender | reelected | Democratic | Jennifer Contender | 2,000 | 100.00 | +0.50 |
I welcome any suggestions or improvements. — Bellhalla 16:08, 18 December 2006 (UTC)
Example displaying party shift:
{{Election box inline begin |type = Place |change = from 2005 }} {{Election box inline incumbent |race = 1 |party = Republican Party (US) |incumbent = [[John J. Incumbent]] |status = Did not run |candidates = 3 }} {{Election box inline candidate with party link | party= Democratic Party (US) | candidate = [[Jennifer Contender]] | votes = 2,000 | percentage = 63.0 | change = +0.50 | shift = Democratic }} {{Election box inline candidate with party link | party = Republican Party (US) | candidate = [[James T. Nominee]] | votes = 1500 | percentage = 30.00 | change = -21.00 }} {{Election box inline candidate | party= Write-In | candidate = [[Mary Sue Challenger]] | votes = 500 | percentage = 7.00 | change = }} {{election box inline end}}
Produces this:
Place | Party | Incumbent | Status | Party | Candidate | Votes | % | Change from 2005 | ||
---|---|---|---|---|---|---|---|---|---|---|
1 | Republican | John J. Incumbent | Did not run | Democratic | Jennifer Contender | 2,000 | 63.00 | +14.00 | ||
Republican | James T. Nominee | 1,500 | 30.00 | -21.00 | ||||||
Write-In | Mary Sue Challenger | 500 | 7.00 | +7.00 |
I have just created {{ Election box new seat win}} for new constituencies where no information is available on the notional previous holder of the seat. For an example of its usage, see Dunfermline Burghs (UK Parliament constituency)#Election_results. -- BrownHairedGirl (talk) • ( contribs) 15:18, 5 October 2007 (UTC)