For state such as New York which allow electoral fusion, are their plans to add anything to the {{Election box candidate with party link}} template that might allow a |party1, |party2, etc., format, instead of listing the same candidate separately? Sometimes candidates are endorsed by three or four parties, so it would be a useful feature. MrPrada ( talk) 07:44, 27 March 2008 (UTC)
I made some new templates so that you can have the election box without the "±%" column, which is not very useful in many elections.
For you basic election, just use {{ Election box begin no change}} and {{ Election box candidate with party link no change}}. Together, they look like this:
Party | Candidate | Votes | % | |
---|---|---|---|---|
Republican | Tom Delay | 99,999 | 50.0 | |
Democratic | Eliot Spitzer | 99,999 | 50.0 |
To get inline candidates, use {{ Election box inline begin no change}}, {{ Election box inline incumbent}}, {{ Election box inline candidate no change}}, {{ Election box inline candidate with party link no change}}, {{ Election box inline end}} to get this:
District | Party | Incumbent | Status | Party | Candidate | Votes | % | ||
---|---|---|---|---|---|---|---|---|---|
1 | Republican | John J. Incumbent | Did not run | Republican | James T. Nominee | 1500 | 75.00 | ||
Write-In | Mary Sue Challenger | 500 | 25.00 | ||||||
2 | Democratic | Jennifer Contender | reelected | Democratic | Jennifer Contender | 2,000 | 100.00 |
Is there such a version of this template? I don't have the percentages for some election results, but would still like to add the boxes with the votes. Craigy ( talk) 00:53, 31 August 2008 (UTC)
{{
editprotected}}
Please add hCard microformat mark-up to {{ Election box candidate}} (talk page redirects here), by changing:
|-
! style="background-color:#E9E9E9" |
| style="width: 130px" | {{{party}}}
| | {{{candidate}}}
to:
|- class="vcard"
! style="background-color:#E9E9E9" |
| class="org" style="width: 130px" | {{{party}}}
| class="fn" | {{{candidate}}}
then remove the redirect from the template page to its talk page, and create {{ documentation}}. Thank you. Andy Mabbett | Talk to Andy Mabbett 23:00, 31 August 2008 (UTC)
{{
editprotected}}
Please change the following on Template:Election box begin:
! colspan=2 style="width: 130px"|Party
! style="width: 170px"|Candidate
! style="width: 50px"|Votes
! style="width: 40px"|%
! style="width: 40px"|±%
to
! colspan=2 style="width: 15em" |Party
! style="width: 17em" |Candidate
! style="width: 5em" |Votes
! style="width: 3.5em" |%
! style="width: 3.5em"|±%
to conform to Template:Election box begin no change. One uses the entire length of the page but the other uses about 3/4, but both should be the same length. Thanks, Reywas92 Talk 02:33, 2 January 2009 (UTC)
Please see Wikipedia talk:WikiProject Elections and Referendums/Archive 4#Standardizing election results. @ harej 06:27, 5 December 2009 (UTC)
The "change" (±%) column is something that seems to be specific to UK elections, or at least is not something traditionally used for US election results. I'm not even sure what's supposed to go in it, and I'm an election geek. I think there should be some suggestion that people may want to use the "no change" versions of the templates if they're not in the UK. — KCinDC ( talk) 23:40, 1 September 2008 (UTC)
Can the Change column be removed from being a compulsory column as it is meaning less in election where there is a brand new office or seat. The change stats used are notion only and are misleading as there was no previous election for the office or for the seat it should be an optional column for seats being re-contested on identical boundaries were notional changes are not used.-- Lucy-marie ( talk) 13:56, 5 November 2010 (UTC)
Hello, I wonder if anybody here can help? It seems to me that use of the Election box family of templates, with the term "party=independent" usually creates a link to the disambiguation page Independent. Is it possible to revise the code so that it links to Independent (politician)? For time to time I run through all the incoming links to the dab page and end up making manual changes to each page where this occurs; if it's possible to do it in the template code, then I'd certainly appreciate it! TIA, -- AndrewHowse ( talk) 15:40, 22 November 2010 (UTC)
Doesn't "±" mean either positive or negative? Hence "±6%" means "either 6% or -6%." Shouldn't this be changed into, say, "+/-"? – HTD ( ITN: Where no updates but is stickied happens.) 16:27, 23 November 2010 (UTC)
Can the column's color prior to the party name be customizable for Template:Election box candidate? – Howard the Duck 18:32, 20 November 2009 (UTC)
If you take a look at Allen West (politician)#Electoral history, you will note that the winning candidate's row has an apostrophe in the ±% column. This seems to happen when the change parameter is left blank. Can somebody tell me where this comes from and what, if anything, is its purpose? – CWenger ( ^ • @) 23:01, 20 July 2011 (UTC)
Could the word "Majority" in the template Election box majority be changed to "Margin"?
The word is ambiguous: in the UK Parliament it means "more than 50%" whereas in individual constituences it means the margin the winner has over the 2nd place candidate. I believe there is a UK/US difference too. Other replacements are possible but "Margin" seems best to me e.g. if the margin is small you have a marginal seat. Anweald ( talk) 12:32, 12 April 2011 (UTC)
The graph isn't generated on Wiki-cy (Welsh) here. Can someone check, please. The Welsh word for "Template" is "Nodyn". Many thanks, - Llywelyn2000 ( talk) 05:34, 11 December 2012 (UTC)
Michigan gubernatorial election, 1986 contains |party=none
in {{
Election box candidate with party link no change}}, which generates a link of [[None|Nonpartisan]]. Since
None is a disambiguation page, could someone with experience with these templates change it so it links to
Nonpartisan (or somewhere other than the disambiguation page)? Thanks!
GoingBatty (
talk)
03:47, 6 February 2013 (UTC)
|party=Independent (politician)
, which generates a link of [[Independent (politician)|Independent]]. However, if the template could be changed to make this happen automatically, that would be cool. Thanks!
GoingBatty (
talk)
15:42, 6 February 2013 (UTC)How do I use {{
Election box candidate with party link no change}}
for a candidate who belongs to a party which is fielding just one candidate, who is not a true
Independent (it's a single-issue party)? The
documentation for the template merely states "see
Template talk:Election box", so here I am. This is in regard to
Oxfordshire County Council election, 2013#Henley-on-Thames, candidate Stefan John Gawrysiak (Henley Residents Group) and my source is
Election results for Henley-on-Thames, 2 May 2013. I have commented out the party name, to avoid redlinks; but it still looks nasty. Do I really need to create a pair of templates like
Template:Green Party of England and Wales/meta/shortname and
Template:Green Party of England and Wales/meta/color? If so, how do I find out what colour to use? --
Redrose64 (
talk)
21:13, 27 April 2013 (UTC)
The word 'Election' is not a proper noun in this case and should thus not be capitalised in table headings. Are there any dissenting views? If not, I'll change the page accordingly. Schwede 66 07:44, 29 July 2013 (UTC)
Two things wrong: first, a change in percentage should not be expressed as a percentage, but rather as a percentage point (or point after the first occurrence). On tables it's typical to leave the % sign out, to avoid the ambiguity of plus or minus 10% (does that mean 40% moving to 44%, or 40 to 50?
You've all no doubt heard many times "three-point lead" ... same thing. Tony (talk) 04:07, 13 July 2012 (UTC)
± means +4(%) or -(4)%. The use here refers to a change in percentage point(s). – H T D 13:36, 3 November 2012 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I've added template data to the documentation page, but per WP:VE/TDT someone needs to perform a null edit to the template to make it work. – Arms & Hearts ( talk) 11:02, 15 April 2014 (UTC)
I've managed to add
hCard
microformats to several of these templates (see above, and this
example edit), but have run into problems with templates like {{
Election box inline candidate with party link no change}} because there's no hook on which to add a class, such that it applies to the whole <TR>
element. Can anyone suggest how that might be done, please? Thank you.
Andy Mabbett |
Talk to Andy Mabbett
23:20, 31 August 2008 (UTC)
class=vcard
per person; but I hadn't appreciated that {{
Election box inline candidate with party link no change}} appears on the same row as the incumbent template. That, separately, may be an accessibility issue; I've asked for advice at
Wikipedia talk:WikiProject Accessibility#Election candidate table rows.
Andy Mabbett (Pigsonthewing);
Talk to Andy;
Andy's edits
20:01, 20 February 2013 (UTC)
This is still an issue! Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:35, 15 April 2014 (UTC)
Hi. Help is requested at Electoral results for the Division of Bennelong; the long candidate name in the 1998 result is causing the little party colour blobs to swell enormously when viewed through Google Chrome (but not in Firefox or Explorer for some reason). If anyone knows what is causing this issue their help would be much appreciated (prior discussion is at Talk:Division of Bennelong). Frickeg ( talk) 13:09, 12 July 2014 (UTC)
Ought to be the default for US elections as the concept is alien there. To do so, add "no change" for each mention of a template at the end of it ... "Template:Election_box_begin_no_change" will do the trick. This is in the archives, but I iterate it now as too many folks think the change percentage is a relavant stat in the US. Collect ( talk) 16:51, 26 August 2014 (UTC)
Hi. I like this template, but I think that on pages with lists of many elections, one after the other, eg. Sutton & Cheam, it's not that easy to see where one election ends and another starts. Would there be any possibility of putting a bit of neutral colour into the election box header bar to help split up the elections, so it's easier to find the one you're interested in? Below is an example of what I mean. Thanks. Mmitchell10 ( talk) 14:56, 23 December 2014 (UTC)
General election 2005: Strangford | ||||
---|---|---|---|---|
Party | Candidate | Votes | % | +/- % |
This
edit request to
Template:Election box candidate with party link has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
{{Election box candidate with party link| |party = Labour |candidate = Gemma McKenna |votes = |percentage = |change = }}
PDreczko (
talk)
21:27, 18 February 2015 (UTC)
{{
Election box}}
. Please make your request at the talk page for the article concerned. --
Redrose64 (
talk)
22:21, 18 February 2015 (UTC)This
edit request to
Template:Election box end has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please remove the leading empty line from the code of Template:Election box end to avoid the gap after the table in Myanma general election, 2015#State/Region Hluttaw. Petr Matas 17:04, 11 November 2015 (UTC)
I appreciate the intent, but I've reverted the automatic insertion of "N/A" when the change field is left blank in Template:Election box candidate with party link. We can't assume the field has been left blank because it's N/A - editors may simply not have had data to hand or may have been otherwise unable or unwilling to complete it themselves. The change leaves no reasonable way for editors to proceed when making new entries and N/A is not appropriate, and is a surprising behaviour which is not mentioned in the template's documentation. Some of the confusion caused by this change and opposition to it may be found at Wikipedia talk:WikiProject Politics of the United Kingdom#N/A confusion. NebY ( talk) 12:41, 25 January 2016 (UTC)
&thinsp ;
between ± and %? --
Obsuser (
talk)
20:10, 25 January 2016 (UTC)I have started adding the number of registered electors to election boxes. Here is an example: /info/en/?search=Cardiff_North_(UK_Parliament_constituency) I think it is interesting to readers to see the changes to the voter size of constituencies as well as disparities between constituencies, particularly given that boundary reviews have been an "issue" for some years. I didn't even think to look for election box templates and number of registered electors isn't included. I am proposing to include this in the template.
Keen to hear any thoughts before I do so.
Benawu2 ( talk) 00:01, 18 March 2018 (UTC)
Or not as the case may be so I went ahead and changed it.
Benawu2 ( talk) 05:24, 24 March 2018 (UTC)
This
edit request to
Template:Election box candidate with party link has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please remove extra code from the top of Template:Election box candidate with party link. It looks like useless left-over crap.--- Coffeeand crumbs 03:26, 26 April 2018 (UTC)
In three wards in this week's Reading Borough council elections a normal election and a casual vacancy by-election were combined.
For example, in Church Ward, the result as on the RBC site was
Candidate | Party | Votes | Elected |
---|---|---|---|
CARNELL Paul | The Conservative Party Candidate | 609 | |
JAKEMAN Francis | Liberal Democrats | 161 | |
LAIRD Heather | Conservative Party Candidate | 605 | |
MANCUSO Riccardo | Liberal Democrats | 115 | |
MCCANN Kathryn | Green Party | 268 | |
MCEWAN Ruth | Labour Party | 1129 | Yes |
PEARCE Ashley | Labour Party | 1088 | Casual vacancy |
The result for the last normal election in 2016 was
Party | Candidate | Votes | % | ±% | |
---|---|---|---|---|---|
Labour | Eileen McElligott | 985 | 50.5% | ||
Conservative | Paul Carnell | 646 | 33.1% | ||
Green | Kathryn McCann | 220 | 11.3% | ||
Liberal Democrats | Ben Thomas | 100 | 5.1% | ||
Majority | |||||
Labour hold | Swing |
Rendering the percentages by dividing each candidate's votes by the sum of all the votes and comparing that with their candidates percentage in 2016 gives
Party | Candidate | Votes | % | ±% | |
---|---|---|---|---|---|
Labour | Ruth McEwan | 1,129 | 28.4% | −22.1% | |
Labour | Ashley Pearce | 1,088 | 27.4% | −23.1% | |
Conservative | Paul Carnell | 609 | 15.3% | −17.8% | |
Conservative | Heather Laird | 605 | 15.2% | −17.9% | |
Green | Kathryn McCann | 268 | 6.7% | −4.5% | |
Liberal Democrats | Francis Jakeman | 161 | 4.1% | −1.1% | |
Liberal Democrats | Riccardo Mancuso | 115 | 2.9% | −2.2% |
which is clearly not right because the 2016 percentages are deducted twice for the parties fielding two candidates.
Using just the higher vote where there is more than one candidate from the same party gives
Party | Candidate | Votes | % | ±% | |
---|---|---|---|---|---|
Labour | Ruth McEwan | 1,129 | 52.1% | +1.6% | |
Labour | Ashley Pearce | 1,088 | |||
Conservative | Paul Carnell | 609 | 28.1% | −5.0% | |
Conservative | Heather Laird | 605 | |||
Green | Kathryn McCann | 268 | 12.4% | +1.1% | |
Liberal Democrats | Francis Jakeman | 161 | 7.4% | +2.3% | |
Liberal Democrats | Riccardo Mancuso | 115 |
which is more sensible but looks odd for the second candidate for each party. Any bright ideas? Also, for hold / gain, should we show the change compared with the cllrs that have departed, whatever the result of the last election? Cavrdg ( talk) 15:09, 5 May 2018 (UTC)
In Pakistan, candidates are allotted symbols and those symbols identify them on the ballot paper so can we add an additional column called Symbol between Candidate and Votes column to accommodate addition of symbols for the candidates? Sheriff | ☎ 911 | 02:21, 5 July 2018 (UTC)
In a template for a candidate, such as {{ Election box winning candidate with party link no change}}, what does "no change" mean? Jc3s5h ( talk) 17:14, 28 August 2018 (UTC)
I don't know what the documentation example is supposed to look like, but I'm seeing "style="background-color: Template:NDP/meta/color; width: 5px;" |" in the upper left cell and similar code in the three other cells in the upper left corner. – Jonesey95 ( talk) 16:11, 5 October 2018 (UTC)
Why was the election box template changed? VietPride10 ( talk) 16:56, 16 January 2019 (UTC)
In this Template:Election box gain with party link, the "percentage change" in Swing makes more sense if it is placed in the last column (which is percentage change "+-"), rather than in the second last column (which is percentage "%“). Changes in the last three lines of the template code are suggested as follows:
! colspan="2" style="text-align:right;" |
Swing
| style="text-align:right;" | {{{swing}}}
|-
—
Jojoyee
t@lk
16:19, 13 April 2019 (UTC)
This
edit request to
Template:Election box winning candidate with party link no change has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change Template:Election box winning candidate with party link no change according to the version in the Sandbox. This will fix som LintErrors if there is no content in for example the candidate parameter. Will also fix linterrors if the candidate paramater has a block level element, and remove an extra erroneous ' that will show if missing the candidate parameter. Tholme ( talk) 21:59, 1 July 2019 (UTC)
This
edit request to
Template:Election box winning candidate with party link no change has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Replace with:
<!-- Election candidates and results template See Template_talk:Election box for details of how to use this template --> |- class="vcard" | style="background-color: {{Template:{{{party}}}/meta/color}}; width: 5px;" | | class="org" style="width: 130px" | '''[[{{{party}}}|{{Template:{{{party}}}/meta/shortname}}]]''' | class="fn" | '''{{{candidate}}} ''' | style="text-align: right; margin-right: 0.5em" | '''{{{votes}}} ''' | style="text-align: right; margin-right: 0.5em" | '''{{{percentage}}} ''' |-<noinclude> {{documentation|1=Template:Election box winning candidate with party link/doc}} [[Category:Templates generating hCards]] [[Category:Election and referendum infobox templates]]</noinclude>
To match {{ Election box winning candidate with party link}} – MJL ‐Talk‐ ☖ 18:20, 30 November 2019 (UTC)
I have noticed that the winning election box templates produce bolded numbers without any commas. Started noticing this around the end of 2019, unknown what changes (if any) occurred to make this happen.
BWellsOdyssey ( talk) 03:59, 8 January 2020 (UTC)
This
edit request to
Template:Election box winning candidate with party link no change has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
re
Template:Election box winning candidate with party link no change if votes parameter is x it returns '''x'''
, but if votes parameter is blank it returns ''''''
. (For the percentage parameter blank it correctly returns ''' '''
.) Please fix behavior of blank votes parameter. —
Anomalocaris (
talk) 07:41, 15 January 2020 (UTC)
Anomalocaris (
talk)
07:41, 15 January 2020 (UTC)
For state such as New York which allow electoral fusion, are their plans to add anything to the {{Election box candidate with party link}} template that might allow a |party1, |party2, etc., format, instead of listing the same candidate separately? Sometimes candidates are endorsed by three or four parties, so it would be a useful feature. MrPrada ( talk) 07:44, 27 March 2008 (UTC)
I made some new templates so that you can have the election box without the "±%" column, which is not very useful in many elections.
For you basic election, just use {{ Election box begin no change}} and {{ Election box candidate with party link no change}}. Together, they look like this:
Party | Candidate | Votes | % | |
---|---|---|---|---|
Republican | Tom Delay | 99,999 | 50.0 | |
Democratic | Eliot Spitzer | 99,999 | 50.0 |
To get inline candidates, use {{ Election box inline begin no change}}, {{ Election box inline incumbent}}, {{ Election box inline candidate no change}}, {{ Election box inline candidate with party link no change}}, {{ Election box inline end}} to get this:
District | Party | Incumbent | Status | Party | Candidate | Votes | % | ||
---|---|---|---|---|---|---|---|---|---|
1 | Republican | John J. Incumbent | Did not run | Republican | James T. Nominee | 1500 | 75.00 | ||
Write-In | Mary Sue Challenger | 500 | 25.00 | ||||||
2 | Democratic | Jennifer Contender | reelected | Democratic | Jennifer Contender | 2,000 | 100.00 |
Is there such a version of this template? I don't have the percentages for some election results, but would still like to add the boxes with the votes. Craigy ( talk) 00:53, 31 August 2008 (UTC)
{{
editprotected}}
Please add hCard microformat mark-up to {{ Election box candidate}} (talk page redirects here), by changing:
|-
! style="background-color:#E9E9E9" |
| style="width: 130px" | {{{party}}}
| | {{{candidate}}}
to:
|- class="vcard"
! style="background-color:#E9E9E9" |
| class="org" style="width: 130px" | {{{party}}}
| class="fn" | {{{candidate}}}
then remove the redirect from the template page to its talk page, and create {{ documentation}}. Thank you. Andy Mabbett | Talk to Andy Mabbett 23:00, 31 August 2008 (UTC)
{{
editprotected}}
Please change the following on Template:Election box begin:
! colspan=2 style="width: 130px"|Party
! style="width: 170px"|Candidate
! style="width: 50px"|Votes
! style="width: 40px"|%
! style="width: 40px"|±%
to
! colspan=2 style="width: 15em" |Party
! style="width: 17em" |Candidate
! style="width: 5em" |Votes
! style="width: 3.5em" |%
! style="width: 3.5em"|±%
to conform to Template:Election box begin no change. One uses the entire length of the page but the other uses about 3/4, but both should be the same length. Thanks, Reywas92 Talk 02:33, 2 January 2009 (UTC)
Please see Wikipedia talk:WikiProject Elections and Referendums/Archive 4#Standardizing election results. @ harej 06:27, 5 December 2009 (UTC)
The "change" (±%) column is something that seems to be specific to UK elections, or at least is not something traditionally used for US election results. I'm not even sure what's supposed to go in it, and I'm an election geek. I think there should be some suggestion that people may want to use the "no change" versions of the templates if they're not in the UK. — KCinDC ( talk) 23:40, 1 September 2008 (UTC)
Can the Change column be removed from being a compulsory column as it is meaning less in election where there is a brand new office or seat. The change stats used are notion only and are misleading as there was no previous election for the office or for the seat it should be an optional column for seats being re-contested on identical boundaries were notional changes are not used.-- Lucy-marie ( talk) 13:56, 5 November 2010 (UTC)
Hello, I wonder if anybody here can help? It seems to me that use of the Election box family of templates, with the term "party=independent" usually creates a link to the disambiguation page Independent. Is it possible to revise the code so that it links to Independent (politician)? For time to time I run through all the incoming links to the dab page and end up making manual changes to each page where this occurs; if it's possible to do it in the template code, then I'd certainly appreciate it! TIA, -- AndrewHowse ( talk) 15:40, 22 November 2010 (UTC)
Doesn't "±" mean either positive or negative? Hence "±6%" means "either 6% or -6%." Shouldn't this be changed into, say, "+/-"? – HTD ( ITN: Where no updates but is stickied happens.) 16:27, 23 November 2010 (UTC)
Can the column's color prior to the party name be customizable for Template:Election box candidate? – Howard the Duck 18:32, 20 November 2009 (UTC)
If you take a look at Allen West (politician)#Electoral history, you will note that the winning candidate's row has an apostrophe in the ±% column. This seems to happen when the change parameter is left blank. Can somebody tell me where this comes from and what, if anything, is its purpose? – CWenger ( ^ • @) 23:01, 20 July 2011 (UTC)
Could the word "Majority" in the template Election box majority be changed to "Margin"?
The word is ambiguous: in the UK Parliament it means "more than 50%" whereas in individual constituences it means the margin the winner has over the 2nd place candidate. I believe there is a UK/US difference too. Other replacements are possible but "Margin" seems best to me e.g. if the margin is small you have a marginal seat. Anweald ( talk) 12:32, 12 April 2011 (UTC)
The graph isn't generated on Wiki-cy (Welsh) here. Can someone check, please. The Welsh word for "Template" is "Nodyn". Many thanks, - Llywelyn2000 ( talk) 05:34, 11 December 2012 (UTC)
Michigan gubernatorial election, 1986 contains |party=none
in {{
Election box candidate with party link no change}}, which generates a link of [[None|Nonpartisan]]. Since
None is a disambiguation page, could someone with experience with these templates change it so it links to
Nonpartisan (or somewhere other than the disambiguation page)? Thanks!
GoingBatty (
talk)
03:47, 6 February 2013 (UTC)
|party=Independent (politician)
, which generates a link of [[Independent (politician)|Independent]]. However, if the template could be changed to make this happen automatically, that would be cool. Thanks!
GoingBatty (
talk)
15:42, 6 February 2013 (UTC)How do I use {{
Election box candidate with party link no change}}
for a candidate who belongs to a party which is fielding just one candidate, who is not a true
Independent (it's a single-issue party)? The
documentation for the template merely states "see
Template talk:Election box", so here I am. This is in regard to
Oxfordshire County Council election, 2013#Henley-on-Thames, candidate Stefan John Gawrysiak (Henley Residents Group) and my source is
Election results for Henley-on-Thames, 2 May 2013. I have commented out the party name, to avoid redlinks; but it still looks nasty. Do I really need to create a pair of templates like
Template:Green Party of England and Wales/meta/shortname and
Template:Green Party of England and Wales/meta/color? If so, how do I find out what colour to use? --
Redrose64 (
talk)
21:13, 27 April 2013 (UTC)
The word 'Election' is not a proper noun in this case and should thus not be capitalised in table headings. Are there any dissenting views? If not, I'll change the page accordingly. Schwede 66 07:44, 29 July 2013 (UTC)
Two things wrong: first, a change in percentage should not be expressed as a percentage, but rather as a percentage point (or point after the first occurrence). On tables it's typical to leave the % sign out, to avoid the ambiguity of plus or minus 10% (does that mean 40% moving to 44%, or 40 to 50?
You've all no doubt heard many times "three-point lead" ... same thing. Tony (talk) 04:07, 13 July 2012 (UTC)
± means +4(%) or -(4)%. The use here refers to a change in percentage point(s). – H T D 13:36, 3 November 2012 (UTC)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I've added template data to the documentation page, but per WP:VE/TDT someone needs to perform a null edit to the template to make it work. – Arms & Hearts ( talk) 11:02, 15 April 2014 (UTC)
I've managed to add
hCard
microformats to several of these templates (see above, and this
example edit), but have run into problems with templates like {{
Election box inline candidate with party link no change}} because there's no hook on which to add a class, such that it applies to the whole <TR>
element. Can anyone suggest how that might be done, please? Thank you.
Andy Mabbett |
Talk to Andy Mabbett
23:20, 31 August 2008 (UTC)
class=vcard
per person; but I hadn't appreciated that {{
Election box inline candidate with party link no change}} appears on the same row as the incumbent template. That, separately, may be an accessibility issue; I've asked for advice at
Wikipedia talk:WikiProject Accessibility#Election candidate table rows.
Andy Mabbett (Pigsonthewing);
Talk to Andy;
Andy's edits
20:01, 20 February 2013 (UTC)
This is still an issue! Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:35, 15 April 2014 (UTC)
Hi. Help is requested at Electoral results for the Division of Bennelong; the long candidate name in the 1998 result is causing the little party colour blobs to swell enormously when viewed through Google Chrome (but not in Firefox or Explorer for some reason). If anyone knows what is causing this issue their help would be much appreciated (prior discussion is at Talk:Division of Bennelong). Frickeg ( talk) 13:09, 12 July 2014 (UTC)
Ought to be the default for US elections as the concept is alien there. To do so, add "no change" for each mention of a template at the end of it ... "Template:Election_box_begin_no_change" will do the trick. This is in the archives, but I iterate it now as too many folks think the change percentage is a relavant stat in the US. Collect ( talk) 16:51, 26 August 2014 (UTC)
Hi. I like this template, but I think that on pages with lists of many elections, one after the other, eg. Sutton & Cheam, it's not that easy to see where one election ends and another starts. Would there be any possibility of putting a bit of neutral colour into the election box header bar to help split up the elections, so it's easier to find the one you're interested in? Below is an example of what I mean. Thanks. Mmitchell10 ( talk) 14:56, 23 December 2014 (UTC)
General election 2005: Strangford | ||||
---|---|---|---|---|
Party | Candidate | Votes | % | +/- % |
This
edit request to
Template:Election box candidate with party link has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
{{Election box candidate with party link| |party = Labour |candidate = Gemma McKenna |votes = |percentage = |change = }}
PDreczko (
talk)
21:27, 18 February 2015 (UTC)
{{
Election box}}
. Please make your request at the talk page for the article concerned. --
Redrose64 (
talk)
22:21, 18 February 2015 (UTC)This
edit request to
Template:Election box end has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please remove the leading empty line from the code of Template:Election box end to avoid the gap after the table in Myanma general election, 2015#State/Region Hluttaw. Petr Matas 17:04, 11 November 2015 (UTC)
I appreciate the intent, but I've reverted the automatic insertion of "N/A" when the change field is left blank in Template:Election box candidate with party link. We can't assume the field has been left blank because it's N/A - editors may simply not have had data to hand or may have been otherwise unable or unwilling to complete it themselves. The change leaves no reasonable way for editors to proceed when making new entries and N/A is not appropriate, and is a surprising behaviour which is not mentioned in the template's documentation. Some of the confusion caused by this change and opposition to it may be found at Wikipedia talk:WikiProject Politics of the United Kingdom#N/A confusion. NebY ( talk) 12:41, 25 January 2016 (UTC)
&thinsp ;
between ± and %? --
Obsuser (
talk)
20:10, 25 January 2016 (UTC)I have started adding the number of registered electors to election boxes. Here is an example: /info/en/?search=Cardiff_North_(UK_Parliament_constituency) I think it is interesting to readers to see the changes to the voter size of constituencies as well as disparities between constituencies, particularly given that boundary reviews have been an "issue" for some years. I didn't even think to look for election box templates and number of registered electors isn't included. I am proposing to include this in the template.
Keen to hear any thoughts before I do so.
Benawu2 ( talk) 00:01, 18 March 2018 (UTC)
Or not as the case may be so I went ahead and changed it.
Benawu2 ( talk) 05:24, 24 March 2018 (UTC)
This
edit request to
Template:Election box candidate with party link has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please remove extra code from the top of Template:Election box candidate with party link. It looks like useless left-over crap.--- Coffeeand crumbs 03:26, 26 April 2018 (UTC)
In three wards in this week's Reading Borough council elections a normal election and a casual vacancy by-election were combined.
For example, in Church Ward, the result as on the RBC site was
Candidate | Party | Votes | Elected |
---|---|---|---|
CARNELL Paul | The Conservative Party Candidate | 609 | |
JAKEMAN Francis | Liberal Democrats | 161 | |
LAIRD Heather | Conservative Party Candidate | 605 | |
MANCUSO Riccardo | Liberal Democrats | 115 | |
MCCANN Kathryn | Green Party | 268 | |
MCEWAN Ruth | Labour Party | 1129 | Yes |
PEARCE Ashley | Labour Party | 1088 | Casual vacancy |
The result for the last normal election in 2016 was
Party | Candidate | Votes | % | ±% | |
---|---|---|---|---|---|
Labour | Eileen McElligott | 985 | 50.5% | ||
Conservative | Paul Carnell | 646 | 33.1% | ||
Green | Kathryn McCann | 220 | 11.3% | ||
Liberal Democrats | Ben Thomas | 100 | 5.1% | ||
Majority | |||||
Labour hold | Swing |
Rendering the percentages by dividing each candidate's votes by the sum of all the votes and comparing that with their candidates percentage in 2016 gives
Party | Candidate | Votes | % | ±% | |
---|---|---|---|---|---|
Labour | Ruth McEwan | 1,129 | 28.4% | −22.1% | |
Labour | Ashley Pearce | 1,088 | 27.4% | −23.1% | |
Conservative | Paul Carnell | 609 | 15.3% | −17.8% | |
Conservative | Heather Laird | 605 | 15.2% | −17.9% | |
Green | Kathryn McCann | 268 | 6.7% | −4.5% | |
Liberal Democrats | Francis Jakeman | 161 | 4.1% | −1.1% | |
Liberal Democrats | Riccardo Mancuso | 115 | 2.9% | −2.2% |
which is clearly not right because the 2016 percentages are deducted twice for the parties fielding two candidates.
Using just the higher vote where there is more than one candidate from the same party gives
Party | Candidate | Votes | % | ±% | |
---|---|---|---|---|---|
Labour | Ruth McEwan | 1,129 | 52.1% | +1.6% | |
Labour | Ashley Pearce | 1,088 | |||
Conservative | Paul Carnell | 609 | 28.1% | −5.0% | |
Conservative | Heather Laird | 605 | |||
Green | Kathryn McCann | 268 | 12.4% | +1.1% | |
Liberal Democrats | Francis Jakeman | 161 | 7.4% | +2.3% | |
Liberal Democrats | Riccardo Mancuso | 115 |
which is more sensible but looks odd for the second candidate for each party. Any bright ideas? Also, for hold / gain, should we show the change compared with the cllrs that have departed, whatever the result of the last election? Cavrdg ( talk) 15:09, 5 May 2018 (UTC)
In Pakistan, candidates are allotted symbols and those symbols identify them on the ballot paper so can we add an additional column called Symbol between Candidate and Votes column to accommodate addition of symbols for the candidates? Sheriff | ☎ 911 | 02:21, 5 July 2018 (UTC)
In a template for a candidate, such as {{ Election box winning candidate with party link no change}}, what does "no change" mean? Jc3s5h ( talk) 17:14, 28 August 2018 (UTC)
I don't know what the documentation example is supposed to look like, but I'm seeing "style="background-color: Template:NDP/meta/color; width: 5px;" |" in the upper left cell and similar code in the three other cells in the upper left corner. – Jonesey95 ( talk) 16:11, 5 October 2018 (UTC)
Why was the election box template changed? VietPride10 ( talk) 16:56, 16 January 2019 (UTC)
In this Template:Election box gain with party link, the "percentage change" in Swing makes more sense if it is placed in the last column (which is percentage change "+-"), rather than in the second last column (which is percentage "%“). Changes in the last three lines of the template code are suggested as follows:
! colspan="2" style="text-align:right;" |
Swing
| style="text-align:right;" | {{{swing}}}
|-
—
Jojoyee
t@lk
16:19, 13 April 2019 (UTC)
This
edit request to
Template:Election box winning candidate with party link no change has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change Template:Election box winning candidate with party link no change according to the version in the Sandbox. This will fix som LintErrors if there is no content in for example the candidate parameter. Will also fix linterrors if the candidate paramater has a block level element, and remove an extra erroneous ' that will show if missing the candidate parameter. Tholme ( talk) 21:59, 1 July 2019 (UTC)
This
edit request to
Template:Election box winning candidate with party link no change has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Replace with:
<!-- Election candidates and results template See Template_talk:Election box for details of how to use this template --> |- class="vcard" | style="background-color: {{Template:{{{party}}}/meta/color}}; width: 5px;" | | class="org" style="width: 130px" | '''[[{{{party}}}|{{Template:{{{party}}}/meta/shortname}}]]''' | class="fn" | '''{{{candidate}}} ''' | style="text-align: right; margin-right: 0.5em" | '''{{{votes}}} ''' | style="text-align: right; margin-right: 0.5em" | '''{{{percentage}}} ''' |-<noinclude> {{documentation|1=Template:Election box winning candidate with party link/doc}} [[Category:Templates generating hCards]] [[Category:Election and referendum infobox templates]]</noinclude>
To match {{ Election box winning candidate with party link}} – MJL ‐Talk‐ ☖ 18:20, 30 November 2019 (UTC)
I have noticed that the winning election box templates produce bolded numbers without any commas. Started noticing this around the end of 2019, unknown what changes (if any) occurred to make this happen.
BWellsOdyssey ( talk) 03:59, 8 January 2020 (UTC)
This
edit request to
Template:Election box winning candidate with party link no change has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
re
Template:Election box winning candidate with party link no change if votes parameter is x it returns '''x'''
, but if votes parameter is blank it returns ''''''
. (For the percentage parameter blank it correctly returns ''' '''
.) Please fix behavior of blank votes parameter. —
Anomalocaris (
talk) 07:41, 15 January 2020 (UTC)
Anomalocaris (
talk)
07:41, 15 January 2020 (UTC)