Template talk:Infobox election
Add topic| Template:Infobox election is indefinitely protected from editing as 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 a 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, 9, 10Auto-archiving period: 3 months |
| This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
| |||||||||||||||
Template-protected edit request on 1 February 2026
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Add an option for "Registered" towards the top of the infobox to be displayed as "Enrolled", since in Australia, voter registration is called enrolment. Milkk7 (talk) 01:32, 1 February 2026 (UTC)
Not done- Please provide a diff or sandbox edit so that an editor unfamiliar with the subject matter could complete the requested edit. --MikeVitale 00:04, 3 February 2026 (UTC)
Template:Infobox election/row nominated for CSD, request deletion
[edit]I was unable to tag Template:Infobox election/row directly, so I have placed the speedy deletion tag on this page. I request deletion of the other page. Mohammed Qays (talk) 18:19, 11 March 2026 (UTC)
Proposed change
[edit]I've often thought it is a bit illogical that for parliamentary elections, Prime Minister before and after the election is at the bottom, but outgoing and elected members are at the top. It would make more sense (to me) for the outgoing / incoming members to be in the same part of the template as the outgoing / incoming PM. I've made the change in the sandbox and you can see the effect here. Thoughts welcome. Cheers, Number 57 22:14, 21 April 2026 (UTC)
- I do not think it is illogical. All parliamentary elections, by definition, see the election of a given number of members. Not all parliamentary elections lead to the election of a prime minister (or regional premier, or any given head of state/government). Some parliamentary elections may not see the (subsequent and indirect) election of a particular office at all (maybe the parliament speaker...). I think prioritizing the former over the latter (as the current version of the template does) is more logical. Impru20talk 22:57, 21 April 2026 (UTC)
Placeholder images
[edit]As per WP:IPH, I agree since I personally dislike placeholder images, but I hate blank cells that screws up the aesthetics. I'd also not be in favor of adding party logos/symbols/ripoffs/anything else. Do we have just an image file that's 80x100 px, just a white/transparent box with absolutely nothing on it, then, add it to this template as a default if there's no image available? Howard the Duck (talk) 18:36, 28 May 2026 (UTC)
- There's 3x4.svg Vacant0 (talk • contribs) 18:38, 28 May 2026 (UTC)
- Thanks. Would this satisfy concerns raised at WP:IPH? Howard the Duck (talk) 19:16, 28 May 2026 (UTC)
- I believe so – it's not a 'placeholder image' in the sense of what IPH refers to (which I believe is the grey figures) – it's effectively just a width/height-forcing blank patch. Number 57 00:09, 29 May 2026 (UTC)
- Thanks. Would this satisfy concerns raised at WP:IPH? Howard the Duck (talk) 19:16, 28 May 2026 (UTC)
"incumbent" in ongoing elections with vacant office
[edit]Motivating case: 2026 Greater Manchester mayoral by-election.
When ongoing=yes the template displays "incumbent" next to the title, however in the case of a by-election the office is generally vacant (for example, the officeholder has resigned or, in this case, has been disqualified) then this is a misleading statement. There should be an option to force the use of "before election" or "previous".
Skimming back over the archives, I can see that this issue was raised on the talk page all the way back in 2009 and no doubt it has appeared many times since then, but due to the nature of elections it eventually "resolves" itself by the election taking place. M2Ys4U (talk) 00:29, 20 June 2026 (UTC)
Edit request 7 September 2026
[edit]| It is requested that an edit be made to the template-protected module at Module:Infobox election. (edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · transclusion count · protection log) This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the module's sandbox before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |
Description of suggested change: Adds two new fields called "previous_general_election" and "previous_general_year" so that infoboxes for articles like by-election wins can link to both the by-elections to the previous parliament and the previous general election of that parliament.
Diff: As performed on sandbox.
Editorsince99 (talk)