Template talk:Infobox officeholder

Latest comment: 10 days ago by Neveselbert in topic Age and Deceased status

Template not displaying correctly on Charles Harper (politician)

edit

I recently made changes to Charles Harper (politician) to include all of their offices, but have noticed that under the first office ("2nd Speaker of the Western Australian Legislative Assembly") the predecessor and successor are not showing. I have checked all of the parameters and can't find any errors. Both fields were showing at multiple points when I was previewing the changes I was making but in the final published edit the information isn't displaying. Can someone please tell me what I've done wrong and how to correct it? Adam Black talkcontributions 20:09, 17 May 2024 (UTC)Reply

I have managed to fix this myself by appending "1" to each of the parameters for that office, but I'm going to leave this discussion here as it does seem like there is an issue with the template. For the edit I was referring to above, see here. Adam Black talkcontributions 20:16, 17 May 2024 (UTC)Reply

Add criminal fields

edit
John Politician
Representative Example
Criminal chargedoing crime
Penaltywrist slapping

Because there is a growing list of politicians turned criminals, I propose that we add fields (criminal_charge, convinction_penalty, and conviction_status) from Template:Infobox criminal to Template:Infobox officeholder in the same way that they have been made available in Template:Infobox person.

Currently, there is a dispute about adding an instance of Template:Infobox criminal to the page of Donald Trump following his criminal conviction. Given that some argue that the use of Template:Infobox criminal is too strong, the amendment of Template:Infobox officeholder as previously mentioned could provide a compromise. Bgregz (talk) 00:45, 31 May 2024 (UTC)Reply

Criminal-related parameters can already be available via module - see example right. Nikkimaria (talk) 01:33, 31 May 2024 (UTC)Reply
I was not aware of this, thank you! Bgregz (talk) 14:08, 31 May 2024 (UTC)Reply
What was the rationale for incorporating those parameters into {{infobox person}} rather than using that infobox's |module= parameter? — Fourthords | =Λ= | 03:36, 31 May 2024 (UTC)Reply
It appears that the criminal parameters there predate the implementation of |module=. Nikkimaria (talk) 04:38, 31 May 2024 (UTC)Reply

Issue with spouse param

edit

The spouse parameter is causing issues on articles eg. Rishi Sunak, Donald Trump 93.37.105.221 (talk) 11:36, 8 June 2024 (UTC)Reply

That seems to have been fixed. It was caused by changes at Template:If both. Toadspike [Talk] 12:08, 8 June 2024 (UTC)Reply

Template rendering messed up

edit

The rendering is completely messed up on the wiki of many politicians. It is displaying an "ambassador to" field below all tables.


Eg: Narendra Modi, Rishi Sunak

am not able to add screenshots Skratata69 (talk) 11:40, 8 June 2024 (UTC)Reply

yes, somebody fucked up Maxwhollymoralground (talk) 11:59, 8 June 2024 (UTC)Reply
Yes RWILD 11:59, 8 June 2024 (UTC)Reply
Yep! The last edits to the template were by User:Jdlrobson on 5 April 2024‎. I don't know if this is the cause or if something else has happened. It looks very unprofessional at the moment. Gaia Octavia Agrippa Talk 12:04, 8 June 2024 (UTC)Reply
I came here to report the same problem. I noticed it on the page Pete Buttigieg. Gottagotospace (talk) 12:04, 8 June 2024 (UTC)Reply
I just posted on the Talk page of the user who last edited the template. Hopefully they can help! Gottagotospace (talk) 12:14, 8 June 2024 (UTC)Reply

This has now been fixed. Not sure how or why. Toadspike [Talk] 12:09, 8 June 2024 (UTC)Reply

It's still showing up incorrectly on some pages. Maybe it needs time to "refresh" everywhere? Gottagotospace (talk) 12:10, 8 June 2024 (UTC)Reply
Yes, likely cache issues.
Just noting that I've made this a subsection of the one above - the issue was with an embedded template, which has now been fixed. Primefac (talk) 16:03, 8 June 2024 (UTC)Reply

Edit request on 18 June 2024

edit

Clean ndivs; implement my edit today in this template's sandbox page. Santiago Claudio (talk) 06:22, 18 June 2024 (UTC)Reply

@Santiago Claudio: I have no idea what "ndivs" means. What is the purpose of your edit? SilverLocust 💬 07:34, 18 June 2024 (UTC)Reply
Align with edit by administrator Izno to Template:Infobox person last April with a summary of "clean ndivs." Santiago Claudio (talk) 08:15, 18 June 2024 (UTC)Reply
@Izno: Could you clarify what "clean ndivs" means (and/or comment on this requested edit here)? SilverLocust 💬 09:07, 18 June 2024 (UTC)Reply
No idea where the n came from, but basically the gist is that all the blocks in that template didn't need to be in the br-separated entries, they could just use divs normally. Izno (talk) 20:40, 18 June 2024 (UTC)Reply
  Not done: I already made this change here a while ago. Izno (talk) 20:42, 18 June 2024 (UTC)Reply

Caliph

edit

Can you add a caliph= parameter ? A lot articles about Islamic governors/generals use monarch= which is wrong. I know its possible to add it with xblanknamey but thats too much hassle AlexBobCharles (talk) 17:26, 20 July 2024 (UTC)Reply

Edit request on 24 July 2024

edit

To any administrator, apply these, my previous edits to this infobox's sandbox:

| abovestyle = font-size: 100%; | above = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|}}}}}}}}}|<div class="honorific-prefix" style="font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix}}}}}}}}}</div>}}<!--

--><div class="fn" style="font-size:125%;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div><!--

--
>{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|}}}}}}}}}|<div class="honorific-suffix" style="font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix}}}}}}}}}</div>}}
+
| abovestyle = {{{abovestyle|}}} | above = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|}}}}}}}}}|<div class="honorific-prefix" style="font-weight: normal; font-size: 77%;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix}}}}}}}}}</div>}}<div class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|}}}}}}}}}|<div class="honorific-suffix" style="font-weight: normal; font-size: 77%;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix}}}}}}}}}</div>

Santiago Claudio (talk) 02:36, 24 July 2024 (UTC)Reply

Age and Deceased status

edit

It seems important to have the age and status of whether a given politician is deceased in a fairly obvious place in the infobox for officeholders. The current state is that there can optionally be a personal information section which contains this below the entire list of political positions, so that instead of being listed clerly, most politician's infoboxes omit the entire "Personal data" section - this seems much worse than having the living status / age highlighted at the top. Davidmanheim (talk) 06:24, 25 July 2024 (UTC)Reply

That's certainly a valid perspective on things, but the way to do it is to embed in an infobox that makes birth and death more prominent, such as {{Infobox person|module={{Infobox officeholder|embed=yes}}}}. — Preceding unsigned comment added by Vanisaac (talkcontribs) 06:39, 25 July 2024 (UTC)Reply
I don't see the issue here. Most politician articles are of deceased persons. ‑‑Neveselbert (talk · contribs · email) 17:33, 25 July 2024 (UTC)Reply