![]() |
Template:Infobox election is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the
talk page for discussing improvements to the
Infobox election template. |
|
Archives:
1,
2,
3,
4,
5,
6,
7,
8,
9Auto-archiving period: 121 days
![]() |
![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
Should elections include equal-ranked and truncated ballots when calculating vote shares? For example, should ballots marked A = B > C be included in calculating the vote share for A against B?
Closed Limelike Curves ( talk) 04:04, 11 March 2024 (UTC)
I think consistency in a series of articles about elections in the same place makes sense. I don’t think there’s a particular need for how we report Maltese elections to match how we report Australian elections if RS about the former do one thing and RS about the latter do another. I think instead of this very generic RfC, that most editors appear to be struggling to follow given the lack of activity in it, it would be more useful to examine specific cases. Bondegezou ( talk) 12:55, 15 March 2024 (UTC)
I modified the last edit because articles like
this one were picking up the unnamed parameters and using them for the flag. removing these unnamed parameters fix the strange Template:Country data independent at the top, but then left a blank row at the top. this is because if |country=
is in the template but blank, then the #ifexist check still picks up
Template:Country data which is a valid template. I put the "check for blank" back around this line and now it looks fine in both cases.
Frietjes (
talk)
15:32, 15 March 2024 (UTC)
|country=
being blank and
1918 Portuguese general election still has a large red error saying parameter 1 should be a party name., ... which is coming from
Module:Political party get bad input this error was caused by
this change which broke another blank input case.
Frietjes (
talk)
18:42, 15 March 2024 (UTC)
|country=
being blank. --
Ahecht (
TALKHi @ Number 57 in this revert you wrote
This has messed up thousands of articles. Please test this kind of stuff in the sandbox first
FWIW I tested this on a local MediaWiki instance so please don't assume I didn't test this, but could you expand on what exactly broke? It looked fine to me on the testcases after I made the change - and it is a minor change that is only adding CSS.
The template is currently problematic as it is exhibiting bias, so I'm keen to understand what problem you are seeing with the two rules of CSS I added so I'm keen to fix it ASAP.
Thanks in advance for your quick answer! 🐸 Jdlrobson ( talk) 23:25, 18 April 2024 (UTC)
?useskin=monobook
and ?useskin=timeless
show differences for me in desktop mode. –
Jonesey95 (
talk)
02:45, 19 April 2024 (UTC)
Right now IRV infoboxes like 2009 Burlington, Vermont mayoral election are kind of hacked-together. It’d be nice to have a template to reproduce that with fewer manual inputs! (cc @ Number 57) –Sincerely, A Lime 17:55, 18 May 2024 (UTC)
Hello. For the 2024 Cork City Council election page, ten parties/independent parties can be shown as gaining/losing seats from the previous 2019 Cork City Council election - for either losing all their seats, or gaining seats as a new party. As the box only can show nine parties, this unfortunately means that not every party/non-party elected/unelected can be shown in the box. It would be a great benefit if all ten figures could be in the box, which is why I would propose to increase it to ten. Lucky102 ( talk) 02:28, 11 June 2024 (UTC)
Hi there. Just want to ask if there's a new format of the infobox in the making. Went to a few election pages and there was a new format, but with the images displaced and with things not within the lines of the box, making it look disorganized and disproportionate. Tuesp1985 ( talk) 21:44, 13 June 2024 (UTC)
![]() |
Template:Infobox election is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the
talk page for discussing improvements to the
Infobox election template. |
|
Archives:
1,
2,
3,
4,
5,
6,
7,
8,
9Auto-archiving period: 121 days
![]() |
![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||
|
Should elections include equal-ranked and truncated ballots when calculating vote shares? For example, should ballots marked A = B > C be included in calculating the vote share for A against B?
Closed Limelike Curves ( talk) 04:04, 11 March 2024 (UTC)
I think consistency in a series of articles about elections in the same place makes sense. I don’t think there’s a particular need for how we report Maltese elections to match how we report Australian elections if RS about the former do one thing and RS about the latter do another. I think instead of this very generic RfC, that most editors appear to be struggling to follow given the lack of activity in it, it would be more useful to examine specific cases. Bondegezou ( talk) 12:55, 15 March 2024 (UTC)
I modified the last edit because articles like
this one were picking up the unnamed parameters and using them for the flag. removing these unnamed parameters fix the strange Template:Country data independent at the top, but then left a blank row at the top. this is because if |country=
is in the template but blank, then the #ifexist check still picks up
Template:Country data which is a valid template. I put the "check for blank" back around this line and now it looks fine in both cases.
Frietjes (
talk)
15:32, 15 March 2024 (UTC)
|country=
being blank and
1918 Portuguese general election still has a large red error saying parameter 1 should be a party name., ... which is coming from
Module:Political party get bad input this error was caused by
this change which broke another blank input case.
Frietjes (
talk)
18:42, 15 March 2024 (UTC)
|country=
being blank. --
Ahecht (
TALKHi @ Number 57 in this revert you wrote
This has messed up thousands of articles. Please test this kind of stuff in the sandbox first
FWIW I tested this on a local MediaWiki instance so please don't assume I didn't test this, but could you expand on what exactly broke? It looked fine to me on the testcases after I made the change - and it is a minor change that is only adding CSS.
The template is currently problematic as it is exhibiting bias, so I'm keen to understand what problem you are seeing with the two rules of CSS I added so I'm keen to fix it ASAP.
Thanks in advance for your quick answer! 🐸 Jdlrobson ( talk) 23:25, 18 April 2024 (UTC)
?useskin=monobook
and ?useskin=timeless
show differences for me in desktop mode. –
Jonesey95 (
talk)
02:45, 19 April 2024 (UTC)
Right now IRV infoboxes like 2009 Burlington, Vermont mayoral election are kind of hacked-together. It’d be nice to have a template to reproduce that with fewer manual inputs! (cc @ Number 57) –Sincerely, A Lime 17:55, 18 May 2024 (UTC)
Hello. For the 2024 Cork City Council election page, ten parties/independent parties can be shown as gaining/losing seats from the previous 2019 Cork City Council election - for either losing all their seats, or gaining seats as a new party. As the box only can show nine parties, this unfortunately means that not every party/non-party elected/unelected can be shown in the box. It would be a great benefit if all ten figures could be in the box, which is why I would propose to increase it to ten. Lucky102 ( talk) 02:28, 11 June 2024 (UTC)
Hi there. Just want to ask if there's a new format of the infobox in the making. Went to a few election pages and there was a new format, but with the images displaced and with things not within the lines of the box, making it look disorganized and disproportionate. Tuesp1985 ( talk) 21:44, 13 June 2024 (UTC)