This is the
talk page for discussing improvements to the
Election box template. |
|
Archives: 1, 2, 3, 4, 5Auto-archiving period: 555 days |
This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
It might be worthwhile to preprocess the change
parameter such that when its value uses a generic dash as a negative sign (i.e. it matches the
regex pattern [-–—](\s*\d+)
), the dash is replaced with the negative sign suggested in
MOS:NEGATIVE (−). Note that I have seen at least one instance of an m-dash used in place of a missing value, so a format test should check for digits after the dash (as does the regex pattern above) to avoid replacing these appropriately used m-dashes. —
AlphaMikeOmega
(
talk)
18:23, 26 June 2022 (UTC)
swing
parameter. —
AlphaMikeOmega
(
talk)
18:27, 26 June 2022 (UTC)I came here to make the same request regarding a proper Unicode U+2212 minus sign. I am unarchiving this topic and the preceding once since both seem to be open. I am also slowing the archive speed from 4 weeks to about 18 months. — jameslucas ▄▄▄ ▄ ▄▄▄ ▄▄▄ ▄ 18:15, 12 July 2023 (UTC)
|change=
as a parameter are listed at
Category:Election box templates, and there are probably more in other categories. Each one of those templates would need to be modified. –
Jonesey95 (
talk)
20:30, 12 July 2023 (UTC)
If a merged party wins a seat held by one of its constituent parties (I.E. the Liberal Democrats winning a seat that was held by either the Liberal Party of the Social Democratic Party), should you use a election box hold or an election box gain TheHaloVeteran2 ( talk) 14:34, 28 December 2022 (UTC)
Im trying to make an election box where one candidate ran as both a Republican and a Democrat, however there is no option to put a party link down along with the proper color. I have been trying to manually add the color #6004A4 but I can't find any way to do so. Could someone help point me in the right direction? Scu ba ( talk) 16:55, 26 January 2023 (UTC)
Is there any reason a small font needs to be used on this page? I cannot see why it should be anything other than 100%. Please can someone change this? 10mmsocket ( talk) 17:33, 7 March 2023 (UTC)
<small>...</small>
tags are used within the templates. I would support removing font size reduction from the bodies of these tables. A few of the font size changes are applied to titles and notes; I would leave those alone. –
Jonesey95 (
talk)
21:42, 7 March 2023 (UTC)
The percent sign in the heading +-% is incorrect or at least misleading. And the percent sign with the values underneath that heading as on Janet Protasiewicz is clearly incorrect. -- Espoo ( talk) 05:27, 7 September 2023 (UTC)
This is embarrassing, since I've been using this template for years, but is there a comprehensive list of the available parameters for each sub-template? (Like "template:Election box candidate with party link" has parameters "party", "candidate", "votes", "percentage", etc.) Asdasdasdff ( talk) 19:46, 3 December 2023 (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. |
Hi so on line 11 of
Template:Election box candidate with party link, i think you should replace {{{votes}}}
with replace|{{{votes}}}|,|}}}}
, so that no matter what number you put in it will automatically add commas for any number with 4 or more digits, as happens with
Template:Election box winning candidate with party link
TheHaloVeteran2 (
talk)
00:03, 3 May 2024 (UTC)
This
edit request to
Template:Election box turnout has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I think we should replace {{{votes}}}
with |{{{votes}}}|,|{{{votes}}}
in
Template:Election box turnout so that it automatically adds the separators as it does in
Template:Election box turnout no change
TheHaloVeteran2 (
talk)
17:42, 3 May 2024 (UTC)
Should this be a value that can be specified when the template is called and maybe displayed with a grey cell background like {{
n/a}}? I'm seeing a mix of handcrafted ''N/A''
and ''New''
fields on election articles.
Belbury (
talk)
07:03, 17 July 2024 (UTC)
Does the "swing" represent the swing between the top two positions (i.e. representing how the winner's majority has changed) or does it represent the swing between the top two parties. My question pertains to Oldham_West,_Chadderton_and_Royton_(UK_Parliament_constituency)#Elections_in_the_2020s where a new independent candidate took second place. The swing from Labour to the independent was 21.2%, but there wasn't a huge change in Labour's majority (from 25% to 13%) due to the fact that the opposition fragmented, so the swing from Labour to the second-placed candidate was in fact only 6%. The swing between the top two positions seems more logical to me because it reflects how the winners majority was eroded, but obviously I don't want to add in the wrong figure. Betty Logan ( talk) 08:57, 21 July 2024 (UTC)
This is the
talk page for discussing improvements to the
Election box template. |
|
Archives: 1, 2, 3, 4, 5Auto-archiving period: 555 days |
This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
It might be worthwhile to preprocess the change
parameter such that when its value uses a generic dash as a negative sign (i.e. it matches the
regex pattern [-–—](\s*\d+)
), the dash is replaced with the negative sign suggested in
MOS:NEGATIVE (−). Note that I have seen at least one instance of an m-dash used in place of a missing value, so a format test should check for digits after the dash (as does the regex pattern above) to avoid replacing these appropriately used m-dashes. —
AlphaMikeOmega
(
talk)
18:23, 26 June 2022 (UTC)
swing
parameter. —
AlphaMikeOmega
(
talk)
18:27, 26 June 2022 (UTC)I came here to make the same request regarding a proper Unicode U+2212 minus sign. I am unarchiving this topic and the preceding once since both seem to be open. I am also slowing the archive speed from 4 weeks to about 18 months. — jameslucas ▄▄▄ ▄ ▄▄▄ ▄▄▄ ▄ 18:15, 12 July 2023 (UTC)
|change=
as a parameter are listed at
Category:Election box templates, and there are probably more in other categories. Each one of those templates would need to be modified. –
Jonesey95 (
talk)
20:30, 12 July 2023 (UTC)
If a merged party wins a seat held by one of its constituent parties (I.E. the Liberal Democrats winning a seat that was held by either the Liberal Party of the Social Democratic Party), should you use a election box hold or an election box gain TheHaloVeteran2 ( talk) 14:34, 28 December 2022 (UTC)
Im trying to make an election box where one candidate ran as both a Republican and a Democrat, however there is no option to put a party link down along with the proper color. I have been trying to manually add the color #6004A4 but I can't find any way to do so. Could someone help point me in the right direction? Scu ba ( talk) 16:55, 26 January 2023 (UTC)
Is there any reason a small font needs to be used on this page? I cannot see why it should be anything other than 100%. Please can someone change this? 10mmsocket ( talk) 17:33, 7 March 2023 (UTC)
<small>...</small>
tags are used within the templates. I would support removing font size reduction from the bodies of these tables. A few of the font size changes are applied to titles and notes; I would leave those alone. –
Jonesey95 (
talk)
21:42, 7 March 2023 (UTC)
The percent sign in the heading +-% is incorrect or at least misleading. And the percent sign with the values underneath that heading as on Janet Protasiewicz is clearly incorrect. -- Espoo ( talk) 05:27, 7 September 2023 (UTC)
This is embarrassing, since I've been using this template for years, but is there a comprehensive list of the available parameters for each sub-template? (Like "template:Election box candidate with party link" has parameters "party", "candidate", "votes", "percentage", etc.) Asdasdasdff ( talk) 19:46, 3 December 2023 (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. |
Hi so on line 11 of
Template:Election box candidate with party link, i think you should replace {{{votes}}}
with replace|{{{votes}}}|,|}}}}
, so that no matter what number you put in it will automatically add commas for any number with 4 or more digits, as happens with
Template:Election box winning candidate with party link
TheHaloVeteran2 (
talk)
00:03, 3 May 2024 (UTC)
This
edit request to
Template:Election box turnout has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I think we should replace {{{votes}}}
with |{{{votes}}}|,|{{{votes}}}
in
Template:Election box turnout so that it automatically adds the separators as it does in
Template:Election box turnout no change
TheHaloVeteran2 (
talk)
17:42, 3 May 2024 (UTC)
Should this be a value that can be specified when the template is called and maybe displayed with a grey cell background like {{
n/a}}? I'm seeing a mix of handcrafted ''N/A''
and ''New''
fields on election articles.
Belbury (
talk)
07:03, 17 July 2024 (UTC)
Does the "swing" represent the swing between the top two positions (i.e. representing how the winner's majority has changed) or does it represent the swing between the top two parties. My question pertains to Oldham_West,_Chadderton_and_Royton_(UK_Parliament_constituency)#Elections_in_the_2020s where a new independent candidate took second place. The swing from Labour to the independent was 21.2%, but there wasn't a huge change in Labour's majority (from 25% to 13%) due to the fact that the opposition fragmented, so the swing from Labour to the second-placed candidate was in fact only 6%. The swing between the top two positions seems more logical to me because it reflects how the winners majority was eroded, but obviously I don't want to add in the wrong figure. Betty Logan ( talk) 08:57, 21 July 2024 (UTC)