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)