Template talk:Infobox officeholder

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconInfoboxes
WikiProject iconThis template is within the scope of WikiProject Infoboxes, a collaborative effort to improve the coverage of Infoboxes on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
WikiProject iconPolitics Template‑class
WikiProject iconThis template is within the scope of WikiProject Politics, a collaborative effort to improve the coverage of politics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

"governor"[edit]

There is no guidance on using the |governor= (or similar) parameter. I've always taken it to mean the governor(s) with/under whom the subject worked during their tenure(s) in office. Is this correct? Is there any codified or informal consensus for these parameters? — Fourthords | =Λ= | 14:02, 13 March 2024 (UTC)[reply]

Commenting again to double-check: Is there any codified or informal consensus for how and/or with what the |governor=, |lieutenant=, etc. variables are to be filled? Is my assumption of the [whomever](s) with/under whom the subject worked during their tenure(s) in office correct? If so, could it be added to the instructions? If not, what is correct? — Fourthords | =Λ= | 14:16, 2 April 2024 (UTC)[reply]

I believe you are correct. ‑‑Neveselbert (talk · contribs · email) 15:18, 2 April 2024 (UTC)[reply]
Thanks for the assist. That's how I've seen it done, but I wanted to make sure it was SOP before I edited IAW that understanding. Should this be added to the instructions in case it comes up again? — Fourthords | =Λ= | 20:44, 2 April 2024 (UTC)[reply]
You could add a description to the template doc, if you think that would help. ‑‑Neveselbert (talk · contribs · email) 13:59, 3 April 2024 (UTC)[reply]

Different political parties for each term?[edit]

The available documentation seems to assume that politicians will be affiliated with a single party throughout their entire career. This is very much not the case in many places around the world. Is there a way to separately list the party with which a person was affiliated during each of the offices they held, which is an important piece of information in such cases? --Paul_012 (talk) 15:51, 15 March 2024 (UTC)[reply]

Yes, you can use the sub-term parameter to do it. Israeli politicians regularly change party, so they are typically formatted like this. Number 57 00:59, 16 March 2024 (UTC)[reply]

Template-protected edit request on 23 March 2024 (Headings to sentence case)[edit]

Please change "State Representative" to "State representative" and "State Senator" to "State senator" per MOS:HEADINGS. Chris the speller yack 18:03, 23 March 2024 (UTC)[reply]

Could you please sandbox the change you want to make? Call me daft but I don't see those words in either {{infobox officeholder}} or {{infobox officeholder/office}}. Primefac (talk) 13:56, 25 March 2024 (UTC)[reply]
Or link to an article where these headings are displayed, and we can track down the code. – Jonesey95 (talk) 13:18, 1 April 2024 (UTC)[reply]
The only one who is daft is me. Sorry to take so long to get back to this. At this time, I can't find any article that needs such help. But wait! I will make a similar request below for "Governor-General" and "Governor General". Chris the speller yack 21:27, 10 April 2024 (UTC)[reply]

Residence[edit]

WP:BLPPRIVACY says that "articles should not include postal addresses, e-mail addresses, telephone numbers, or other contact information for living persons, although links to websites maintained by the subject are generally permitted" and later "If you see personal information such as phone numbers, addresses, account numbers, etc. in a BLP or anywhere on Wikipedia, edit the page to remove it and contact the oversight team so that they can evaluate it and possibly remove it from the page history." With this policy language, should "residence" remain a parameter in this template? My sense is that it should be deleted from the template to discourage editors from entering information that would violate BLPPRIVACY. --Enos733 (talk) 20:12, 3 April 2024 (UTC)[reply]

I don't see a problem with residence as long as it is only used for residences which come with the office held: it is reasonable to record that Joe Biden is resident at the White House. But it should not be used for any private residences: so at the Rishi Sunak page we should only list 10 Downing Street and Chequers and should remove the curent reference to Kirby Sigston Manor which is a purely private house. Perhaps the parameter should be changed to "official residence" or similar? Jonathan A Jones (talk) 20:24, 3 April 2024 (UTC)[reply]
Note also that this parameter was removed from the main person template following this discussion. Nikkimaria (talk) 04:14, 4 April 2024 (UTC)[reply]
I'm wondering if it might actually belong here, but with some guidance on what is appropriate. When it comes to electoral districts or constituencies, the town/city in which a representative lives might be a germane use of this kind of parameter. I'm not necessarily arguing this is the case, but it is certainly a perspective worth considering. I don't think that would really fall under BLP concerns, and official residences are of course well-suited to such a parameter. VanIsaac, GHTV contWpWS 17:21, 5 May 2024 (UTC)[reply]

Template-protected edit request on 10 April 2024 (Headings to sentence case for Governor-general)[edit]

If the parameter "governor-general" is populated, it produces the heading "Governor-General", MOS:PEOPLETITLES specifically prohibits capitalizing the element after the hyphen: "When hyphenated and capitalized, e.g. Vice-president (as it is usually spelled in contexts other than US politics), the element after the hyphen is not capitalized." Shouldn't other titles also be in sentence case, such as "Governor general" and "Prime minister"? When the "primeminister" parameter has "Dilbert Smythe", isn't that a shorthand for "his prime minister was Dilbert Smythe"? Chris the speller yack 21:53, 10 April 2024 (UTC)[reply]

Depends. I think it's not a good idea to 'lower case', concerning infoboxes. GoodDay (talk) 22:02, 10 April 2024 (UTC)[reply]
Your personal view is in direct opposition to the warning at the top of the infobox officeholder page: "The design and content of biographical infoboxes must follow Wikipedia's verifiability policy, as well as infobox and biographical style guideline". The biographical style guideline contains the MOS:JOBTITLES section, which says that job titles should not be capitalized. Chris the speller yack 04:50, 11 April 2024 (UTC)[reply]
No, GoodDay is correct. The longstanding consensus is that we observe official title case capitalization in infobox titles. If you believe that this infobox should conform to MOS:JOBTITLES, it is your problem to initiate an RfC and advocate for overturning that consensus rather than pretend that there is any consensus for your position (a fallacy called begging the question). At this time, there isn't. --Coolcaesar (talk) 16:51, 11 April 2024 (UTC)[reply]
Aside from the MOS linked to by Chris the speller, can you point to the consensus discussion or codification to which you're referring? — Fourthords | =Λ= | 17:00, 11 April 2024 (UTC)[reply]
No, I didn't pretend anything, I pushed no fallacy, and I have no obligation to initiate an RfC when the template warning and the MoS are clear that capitalization is not called for. If there is a cabal to hijack this template and ignore the MoS they should consider coming out into the daylight. There is no need to be defensive and attack an editor who simply stated two facts and is asking to have it played by the book. Chris the speller yack 20:51, 11 April 2024 (UTC)[reply]

Edit request 24 April 2024[edit]

Description of suggested change: I propose adding a "service number" parameter to the infobox, exactly like the one at Template:Infobox military person. There are some articles where a person has a service number, but in order to list it in their officeholder infobox, a module using the military infobox needs to be utilized. This new parameter would solve that problem and allow the service number to be included in the standard officeholder infobox, just like every other military component. Diff:

| header39 = {{#if:{{{allegiance|}}}{{{branch|}}}{{{serviceyears|}}}{{{rank|}}}{{{unit|}}}{{{commands|}}}{{{battles|}}}{{{military_blank1|}}}|Military service}}

... | label46 = {{#if:{{{battles_label|}}}|{{{battles_label|}}}|Battles/wars}} | data46 = {{{battles|}}} | label47 = {{#if:{{{awards|}}}|Military awards|Awards}} | data47 = {{{mawards|}}} ...

}}{{#invoke:Check for unknown parameters|check|unknown={{main other|{{#ifeq:{{{nocat|{{{demo|{{#ifeq:{{{categories|}}}|no|yes}}}}}}}}|yes||[[Category:Pages using infobox officeholder with unknown parameters|_VALUE_{{PAGENAME}}]]}}}}|preview=Page using [[Template:Infobox officeholder]] with unknown parameter "_VALUE_"|ignoreblank=y| regexp1 = 1blankname[%d]* | regexp2 = 1namedata[%d]* | regexp3 = 2blankname[%d]* | regexp4 = 2namedata[%d]* | regexp5 = 3blankname[%d]* | regexp6 = 3namedata[%d]* | regexp7 = 4blankname[%d]* | regexp8 = 4namedata[%d]* | regexp9 = 5blankname[%d]* | regexp10 = 5namedata[%d]* | allegiance | alma_mater | regexp11 = alongside[%d]* | alt | regexp12 = ambassador_from[%d]* | regexp13 = appointed[%d]* | regexp14 = appointer[%d]* | regexp15 = assembly[%d]* | awards | battles | battles_label | birth_date | birth_name | birth_place | birthname | regexp16 = blank[%d]* | bodyclass | branch | branch_label | cabinet | candidate | caption | categories | regexp17 = chancellor[%d]* | children | citizenship | regexp18 = co%-leader[%d]* | commands | committees | regexp19 = constituency[%d]* | regexp20 = constituency_AM[%d]* | regexp21 = constituency_MP[%d]* | regexp22 = convocation[%d]* | regexp23 = country[%d]* | regexp24 = data[%d]* | date | death_cause | death_date | death_manner | death_place | demo | regexp25 = deputy[%d]* | regexp26 = district[%d]* | education | election_date | embed | father | regexp28 = firstminister[%d]* | footnotes | regexp29 = governor[%d]* | regexp30 = governor_general[%d]* | regexp31 = governor%-general[%d]* | height | honorific_prefix | honorific-prefix | honorific_suffix | honorific-suffix | image | image name | image_name_alt | image_size | imagesize | image_upright | incumbent | regexp32 = jr/sr[%d]* | regexp33 = jr/sr and state[%d]* | known_for | regexp34 = leader[%d]* | regexp35 = legislature[%d]* | regexp36 = lieutenant[%d]* | regexp37 = lieutenant_governor[%d]* | mainwidth | regexp38 = majority[%d]* | regexp39 = majority_floor_leader[%d]* | regexp40 = majority_leader[%d]* | regexp41 = majorityleader[%d]* | mawards | regexp42 = military_blank[%d]* | regexp43 = military_data[%d]* | regexp44 = minister[%d]* | regexp45 = minister_from[%d]* | regexp46 = minority_floor_leader[%d]* | regexp47 = minority_leader[%d]* | regexp48 = minorityleader[%d]* | regexp49 = module[%d]* | regexp50 = monarch[%d]* | mother | name | nationality | native_name | native_name_lang | nickname | nocat | regexp51 = nominator[%d]* | nominee | occupation | regexp52 = office[%d]* | opponent | regexp53 = order[%d]* | otherparty | parents | regexp54 = parliament[%d]* | regexp55 = parliamentarygroup[%d]* | partner | party | party_election | portfolio | regexp56 = preceded[%d]* | regexp57 = preceding[%d]* | regexp58 = predecessor[%d]* | regexp59 = premier[%d]* | regexp60 = president[%d]* | regexp61 = primeminister[%d]* | regexp62 = prior_term[%d]* | profession | pronunciation | rank | rank_label | relations | relatives | residence | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | regexp63 = riding[%d]* | runningmate | salary | serviceyears | serviceyears_label | signature | signature_alt | signature_size | smallimage | smallimage_alt | source | speaker | speaker_office | spouse | spouses | regexp64 = state[%d]* | regexp65 = state_assembly[%d]* | regexp66 = state_delegate[%d]* | regexp67 = state_house[%d]* | regexp68 = state_legislature[%d]* | regexp69 = state_senate[%d]* | regexp70 = status[%d]* | regexp71 = suboffice[%d]* | regexp72 = subterm[%d]* | regexp73 = succeeded[%d]* | regexp74 = succeeding[%d]* | regexp75 = successor[%d]* | regexp76 = taoiseach[%d]* | regexp77 = term[%d]* | regexp78 = term_end[%d]* | regexp79 = term_label[%d]* | regexp80 = term_start[%d]* | regexp81 = termend[%d]* | regexp82 = termlabel[%d]* | regexp83 = termstart[%d]* | regexp84 = title[%d]* | unit | unit_label | regexp85 = vicegovernor[%d]* | regexp86 = vicepremier[%d]* | regexp87 = vicepresident[%d]* | regexp88 = viceprimeminister[%d]* | regexp89 = assuming[%d]* | website | width | year }}
+
| header39 = {{#if:{{{allegiance|}}}{{{branch|}}}{{{serviceyears|}}}{{{rank|}}}{{{unit|}}}{{{commands|}}}{{{battles|}}}{{{servicenumber|}}}{{{military_blank1|}}}|Military service}}

... | label46 = {{#if:{{{battles_label|}}}|{{{battles_label|}}}|Battles/wars}} | data46 = {{{battles|}}} | label47 = {{#if:{{{servicenumber_label|}}}|{{{servicenumber_label|}}}|Service number}} | data47 = {{{servicenumber|}}} | label48 = {{#if:{{{awards|}}}|Military awards|Awards}} | data48 = {{{mawards|}}} ...

}}{{#invoke:Check for unknown parameters|check|unknown={{main other|{{#ifeq:{{{nocat|{{{demo|{{#ifeq:{{{categories|}}}|no|yes}}}}}}}}|yes||[[Category:Pages using infobox officeholder with unknown parameters|_VALUE_{{PAGENAME}}]]}}}}|preview=Page using [[Template:Infobox officeholder]] with unknown parameter "_VALUE_"|ignoreblank=y| regexp1 = 1blankname[%d]* | regexp2 = 1namedata[%d]* | regexp3 = 2blankname[%d]* | regexp4 = 2namedata[%d]* | regexp5 = 3blankname[%d]* | regexp6 = 3namedata[%d]* | regexp7 = 4blankname[%d]* | regexp8 = 4namedata[%d]* | regexp9 = 5blankname[%d]* | regexp10 = 5namedata[%d]* | allegiance | alma_mater | regexp11 = alongside[%d]* | alt | regexp12 = ambassador_from[%d]* | regexp13 = appointed[%d]* | regexp14 = appointer[%d]* | regexp15 = assembly[%d]* | awards | battles | battles_label | birth_date | birth_name | birth_place | birthname | regexp16 = blank[%d]* | bodyclass | branch | branch_label | cabinet | candidate | caption | categories | regexp17 = chancellor[%d]* | children | citizenship | regexp18 = co%-leader[%d]* | commands | committees | regexp19 = constituency[%d]* | regexp20 = constituency_AM[%d]* | regexp21 = constituency_MP[%d]* | regexp22 = convocation[%d]* | regexp23 = country[%d]* | regexp24 = data[%d]* | date | death_cause | death_date | death_manner | death_place | demo | regexp25 = deputy[%d]* | regexp26 = district[%d]* | education | election_date | embed | father | regexp28 = firstminister[%d]* | footnotes | regexp29 = governor[%d]* | regexp30 = governor_general[%d]* | regexp31 = governor%-general[%d]* | height | honorific_prefix | honorific-prefix | honorific_suffix | honorific-suffix | image | image name | image_name_alt | image_size | imagesize | image_upright | incumbent | regexp32 = jr/sr[%d]* | regexp33 = jr/sr and state[%d]* | known_for | regexp34 = leader[%d]* | regexp35 = legislature[%d]* | regexp36 = lieutenant[%d]* | regexp37 = lieutenant_governor[%d]* | mainwidth | regexp38 = majority[%d]* | regexp39 = majority_floor_leader[%d]* | regexp40 = majority_leader[%d]* | regexp41 = majorityleader[%d]* | mawards | regexp42 = military_blank[%d]* | regexp43 = military_data[%d]* | regexp44 = minister[%d]* | regexp45 = minister_from[%d]* | regexp46 = minority_floor_leader[%d]* | regexp47 = minority_leader[%d]* | regexp48 = minorityleader[%d]* | regexp49 = module[%d]* | regexp50 = monarch[%d]* | mother | name | nationality | native_name | native_name_lang | nickname | nocat | regexp51 = nominator[%d]* | nominee | occupation | regexp52 = office[%d]* | opponent | regexp53 = order[%d]* | otherparty | parents | regexp54 = parliament[%d]* | regexp55 = parliamentarygroup[%d]* | partner | party | party_election | portfolio | regexp56 = preceded[%d]* | regexp57 = preceding[%d]* | regexp58 = predecessor[%d]* | regexp59 = premier[%d]* | regexp60 = president[%d]* | regexp61 = primeminister[%d]* | regexp62 = prior_term[%d]* | profession | pronunciation | rank | rank_label | relations | relatives | residence | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | regexp63 = riding[%d]* | runningmate | salary | servicenumber | servicenumber_label | serviceyears | serviceyears_label | signature | signature_alt | signature_size | smallimage | smallimage_alt | source | speaker | speaker_office | spouse | spouses | regexp64 = state[%d]* | regexp65 = state_assembly[%d]* | regexp66 = state_delegate[%d]* | regexp67 = state_house[%d]* | regexp68 = state_legislature[%d]* | regexp69 = state_senate[%d]* | regexp70 = status[%d]* | regexp71 = suboffice[%d]* | regexp72 = subterm[%d]* | regexp73 = succeeded[%d]* | regexp74 = succeeding[%d]* | regexp75 = successor[%d]* | regexp76 = taoiseach[%d]* | regexp77 = term[%d]* | regexp78 = term_end[%d]* | regexp79 = term_label[%d]* | regexp80 = term_start[%d]* | regexp81 = termend[%d]* | regexp82 = termlabel[%d]* | regexp83 = termstart[%d]* | regexp84 = title[%d]* | unit | unit_label | regexp85 = vicegovernor[%d]* | regexp86 = vicepremier[%d]* | regexp87 = vicepresident[%d]* | regexp88 = viceprimeminister[%d]* | regexp89 = assuming[%d]* | website | width | year }}

Politicsfan4 (talk) 03:08, 24 April 2024 (UTC)[reply]

I don't see a benefit to including this and would support its removal from the other template. Nikkimaria (talk) 04:22, 24 April 2024 (UTC)[reply]

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]