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: 120 days |
This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
I occasionally see infoboxes being changed from nominee to candidate and vice versa, and there seems no hard-and-fast rules about which term is appropriate. Are they just different terms for the same thing, or is there actually a difference? If the latter, can we create a clear definition of when to use each? Number 5 7 22:26, 19 January 2024 (UTC)
I have noticed that when viewing the election infobox on mobile, candidate image sizes are always of unequal size (which seems like a bug to me). It seems like whichever candiate is represented by a blue colour gets a larger image Can anyone replicate it?
screenshot of the infobox from this page - https://i.ibb.co/8cnWhTc/IMG-0622.png - and another from the infobox from 2024 London mayoral election (where I noticed the issue) - https://i.ibb.co/hHbb86h/IMG-0623.png Oliverwinton ( talk) 14:03, 20 January 2024 (UTC)
I would like to propose we change the final section of the infobox so that instead of the defaults being "[Title] before election" and "Elected [title]", the default is "[Title] before election" and "[Title] after election".
The default of "Elected [title]" for the post-election situation doesn't work for most parliamentary elections as the Prime Minister or whatever other postholder is mentioned is not generally elected to that position. This results in a huge number of infoboxes having to correct it by using the "posttitle" parameter. Defaulting to "[Title] before election" and "[Title] after election" would be neutral and correct, and avoid having to add a correcting parameter to many articles (or edits like this where the entire section gets removed because the wording is wrong). Cheers, Number 5 7 20:24, 23 January 2024 (UTC)
With very few exceptions, there is no sitting MP immediately before a by-election: that is why an election is needed. Even at a general election, the parliament is dissolved, therefpre MPs cease to be such. It is not reasonable to state, before an election, that the MP before an election is a person who died some weeks previously. Suggest rename this field to Previous MP. As an aside, wikilinking MP twice on the same row, in a context where it can be reasonably assumed that the reader knows what that is, seems something of overkill. Kevin McE ( talk) 13:43, 13 February 2024 (UTC)
Hi all, there is currently a discussion at Wikipedia talk:Short description#Proposal to add automatic SDs to Template:Infobox election. As it would involve a potential change to this template, editors are invited to participate in the discussion. Thank you for helping improve WP:Short descriptions on Wikipedia! - - mathmitch7 ( talk/ contribs) 17:46, 23 February 2024 (UTC)
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 (
TALKThanks. Cheers! BD2412 T 16:31, 16 April 2024 (UTC)
Hi @ 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)
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: 120 days |
This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
I occasionally see infoboxes being changed from nominee to candidate and vice versa, and there seems no hard-and-fast rules about which term is appropriate. Are they just different terms for the same thing, or is there actually a difference? If the latter, can we create a clear definition of when to use each? Number 5 7 22:26, 19 January 2024 (UTC)
I have noticed that when viewing the election infobox on mobile, candidate image sizes are always of unequal size (which seems like a bug to me). It seems like whichever candiate is represented by a blue colour gets a larger image Can anyone replicate it?
screenshot of the infobox from this page - https://i.ibb.co/8cnWhTc/IMG-0622.png - and another from the infobox from 2024 London mayoral election (where I noticed the issue) - https://i.ibb.co/hHbb86h/IMG-0623.png Oliverwinton ( talk) 14:03, 20 January 2024 (UTC)
I would like to propose we change the final section of the infobox so that instead of the defaults being "[Title] before election" and "Elected [title]", the default is "[Title] before election" and "[Title] after election".
The default of "Elected [title]" for the post-election situation doesn't work for most parliamentary elections as the Prime Minister or whatever other postholder is mentioned is not generally elected to that position. This results in a huge number of infoboxes having to correct it by using the "posttitle" parameter. Defaulting to "[Title] before election" and "[Title] after election" would be neutral and correct, and avoid having to add a correcting parameter to many articles (or edits like this where the entire section gets removed because the wording is wrong). Cheers, Number 5 7 20:24, 23 January 2024 (UTC)
With very few exceptions, there is no sitting MP immediately before a by-election: that is why an election is needed. Even at a general election, the parliament is dissolved, therefpre MPs cease to be such. It is not reasonable to state, before an election, that the MP before an election is a person who died some weeks previously. Suggest rename this field to Previous MP. As an aside, wikilinking MP twice on the same row, in a context where it can be reasonably assumed that the reader knows what that is, seems something of overkill. Kevin McE ( talk) 13:43, 13 February 2024 (UTC)
Hi all, there is currently a discussion at Wikipedia talk:Short description#Proposal to add automatic SDs to Template:Infobox election. As it would involve a potential change to this template, editors are invited to participate in the discussion. Thank you for helping improve WP:Short descriptions on Wikipedia! - - mathmitch7 ( talk/ contribs) 17:46, 23 February 2024 (UTC)
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 (
TALKThanks. Cheers! BD2412 T 16:31, 16 April 2024 (UTC)
Hi @ 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)