Jump to content

Template talk:Infobox officeholder

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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]

Edit request on 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]

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]

Edit request on 20 June 2024[edit]

Apply these, my edits last Tuesday to this infobox's sandbox: