This is the
talk page for discussing improvements to the
Infobox officeholder template. |
|
Archives: Index, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25Auto-archiving period: 90 days |
Infoboxes | ||||
|
Politics Template‑class | |||||||
|
Template:Infobox officeholder 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. |
After finding a "bug" in the infobox for an Australian senator (where it linked to a like-named electorate in the UK), it turned out the page's infobox had parliament=Australian
but constituent_MP1=
Wentworth
.
It turns out that in that case, this infobox strips the link and then assumes it's a UK electorate. I've been trying to figure out how this happens.
I've been deciphering both this infobox and its child Template:Infobox_officeholder/office, and after a large headache, well, I think I've identified the source of the weirdness, in the latter template.
The heading11
parameter is specified (hopefully clarified by my insertion of spaces and line breaks) as:
header11 =
{{#if:
{{{constituency_AM|}}}{{{constituency_MP|}}}
| {{#switch:
{{{parliament|}}}
| Australian = Member of the <span style="display: inline-block;">[[Australian House of Representatives|Australian Parliament]]</span>
| European = [[Member of the European Parliament]]
| Scottish = [[Member of the Scottish Parliament]]
| Sri Lanka|Sri Lankan = [[Member of Parliament (Sri Lanka)|Member of Parliament]]
| United Kingdom|UK = [[Member of Parliament (United Kingdom)|Member of Parliament]]
| #default =
{{#if:
{{{constituency_AM|}}}
| {{#if:
{{{assembly|}}}
| Member of the <span style="display: inline-block;">[[{{{assembly}}} Assembly]]</span>
| Assembly Member
}}
| Member of {{#if:
{{{parliament|}}}
| the <span style="display: inline-block;">[[{{{parliament}}} Parliament]]</span>
| Parliament
}}
}}
}}
<br />for
{{#ifeq:{{Title disambig text|{{{constituency_MP|}}}}}|UK Parliament constituency
| {{{constituency_MP|}}}
| {{#if:
{{#switch:
{{{parliament|}}}
|United Kingdom|UK
| = {{Linkless exists|{{#invoke:delink|delink|{{{constituency_MP|}}}}} (UK Parliament constituency)}}
}}
| {{#if:{{Constlk|{{#invoke:delink|delink|{{{constituency_MP|}}}}}}}
| {{Constlk|{{#invoke:delink|delink|{{{constituency_MP|}}}}}}}
| {{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}}}}
}}
| {{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}}}}
}}
}}
{{#if:
{{{prior_term|}}}
| <div style="font-weight:normal;">{{{prior_term}}}</div>
}}
}}
This is problematic, because it places some of the UK-specific logic after outside the {{#switch:{{{parliament}}}|...}}
, while at the same time effectively making the UK the default.
I suggest this section should look more like this:
header11 = {{Infobox_officeholder/description | parliament = {{{parliament|{{{assembly|}}}}}} | constituency = {{{constituency|{{{riding|}}}}}} | ap_label = {{#if:{{{assembly|}}}|Assembly|Parliament}} }}
And a new Template:Infobox_officeholder/description would look something like this:
{{#switch:{{{parliament|default}}| | Australian = Member of the [[Australian House of Representatives|Australian Parliament]] <br />for {{{constituency}}} | European = [[Member of the European Parliament]] '''Bold'''for {{{constituency}}} | Scottish = [[Member of the Scottish Parliament]] '''Bold'''for {{{constituency}}} | Sri Lanka|Sri Lankan = [[Member of Parliament (Sri Lanka)|Member of Parliament]] '''Bold'''for {{{constituency}}} | United Kingdom|UK| = [[Member of Parliament (United Kingdom)|Member of Parliament]] '''Bold'''for {{#ifeq: {{Title disambig text|{{{constituency_MP|}}}}} | UK Parliament constituency | {{{constituency_MP|}}} | {{#if: {{Linkless exists|{{#invoke:delink|delink|{{{constituency|}}}}} (UK Parliament constituency)}} | {{#if:{{Constlk|{{#invoke:delink|delink|{{{constituency|}}}}}}} | {{Constlk|{{#invoke:delink|delink|{{{constituency|}}}}}}} | {{{constituency}}} }} | {{{constituency}}} }} }} | #default = {{#if: {{{parliament|}}} | Member of the <span style="display: inline-block;">[[{{{parliament}}} {{ap_label}}]]</span> | {{#switch: {{{ap_label|Parliament}}} | Assembly = Assembly Member | Parliament = Member of Parliament }} }} <br />for {{{constituency}}} }} }}
(Note that I say something like, because this still doesn't disambiguate between countries.)
---
By now I'm starting to think that a wholesale overall might be called for. It took a long time to dissect this code, not least because the lack of unfolded lines (in part because adjacency is required in some places, but mostly just by habit).
Firstly, there are small details, for example numerous instances of structures like
{{#if:{{{state_house|}}}|{{{state_house}}}|United States}}
where I wonder why it doesn't simply have
{{{state_house|United States}}}
instead?
Secondly, the bulk of the code seems to be handling country-specific special cases, such as
{{#if:{{{majority_leader|}}}{{{minority_floor_leader|}}}{{{minority_leader|}}}{{{majority_floor_leader|}}}||{{#if:{{{jr/sr|}}}|[[United States Senate|United States Senator{{#if:{{{succeeding|}}}{{{assuming|}}}|-elect}}]]<br />from {{{state}}}}}}}
or
[[Speaker of the {{{state_assembly|}}} {{#ifeq:{{{state_assembly|}}}|Nevada||{{#ifeq:{{{state_assembly|}}}|New Jersey|General|State}}}} Assembly]]
In the latter case I'm left wondering why that's not handled either by a subsidiary template, or indeed by not handling them here, and simply following the existing page redirections (from Nevada State Assembly to Nevada Assembly and from New Jersey State Assembly to New Jersey General Assembly respectively)? (This piece of magic is questionable anyway; for example, Massachusetts is not a State but rather a Commonwealth, and the formal title of its legislative body is the Massachusetts General Court.)
But more generally, having only a single template to deal with any kind of office seems like madness; surely it would be more maintainable to have specific templates for each kind of assembly (and possibly for each role)?
[1] Then
Template:Infobox_officeholder/office could comprise (mostly) {{#switch:{{{parliament}}}|...}}
and each region's template would only need to deal with its own idiosyncrasies.
Underneath those I would have another template that does formatting, given a fully standardized set of parameters.
Having mutually exclusive parameters constituency_AM
and constituency_PM
is a further complication. It would make more sense for these to be consolidated into constituency
(which is already largely done) and add ap_label = Assembly
or ap_label = Parliament
(or in specialisations as ap_label = State Assembly
or ap_label = Federal House of Representatives
.
Adding country =
and state =
parameters would also simplify logic elsewhere.
Martin Kealey (
talk) 07:57, 14 February 2024 (UTC)
Martin Kealey (
talk) 07:57, 14 February 2024 (UTC)
|
after UK
so it is no longer the default. --
Ahecht (
TALKReferences
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please delete the 'majority = vote' parameter from the Members of Parliament infobox. Those infoboxes are about the office being held, not the election. Having how much votes they last won the seat by, listed below the date they took their seat. Just doesn't look right. GoodDay ( talk) 06:13, 1 March 2024 (UTC)
I have notified a relevant wikiproject at Wikipedia talk:WikiProject Politics of the United Kingdom#Should UK MP infoboxes include "majority"?. (I note that the much broader project had been notified at Wikipedia talk:WikiProject Politics#British MPs infoboxes but this more specific one had been overlooked.) Pam D 08:13, 2 March 2024 (UTC)
If a notable person has run for office, but been deafeated, and has never held office of any kind, at any level (municipal, state, federal, etc), should this infobox be used? Or is there a better one? Fred Zepelin ( talk) 17:34, 3 March 2024 (UTC)
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)
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)
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)
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)
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)
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)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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: ...
| label46 = {{#if:{{{battles_label|}}}|{{{battles_label|}}}|Battles/wars}}
| data46 = {{{battles|}}}
| label47 = {{#if:{{{awards|}}}|Military awards|Awards}}
| | + |
| 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)
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 talk • contributions 20:09, 17 May 2024 (UTC)
This is the
talk page for discussing improvements to the
Infobox officeholder template. |
|
Archives: Index, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25Auto-archiving period: 90 days |
Infoboxes | ||||
|
Politics Template‑class | |||||||
|
Template:Infobox officeholder 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. |
After finding a "bug" in the infobox for an Australian senator (where it linked to a like-named electorate in the UK), it turned out the page's infobox had parliament=Australian
but constituent_MP1=
Wentworth
.
It turns out that in that case, this infobox strips the link and then assumes it's a UK electorate. I've been trying to figure out how this happens.
I've been deciphering both this infobox and its child Template:Infobox_officeholder/office, and after a large headache, well, I think I've identified the source of the weirdness, in the latter template.
The heading11
parameter is specified (hopefully clarified by my insertion of spaces and line breaks) as:
header11 =
{{#if:
{{{constituency_AM|}}}{{{constituency_MP|}}}
| {{#switch:
{{{parliament|}}}
| Australian = Member of the <span style="display: inline-block;">[[Australian House of Representatives|Australian Parliament]]</span>
| European = [[Member of the European Parliament]]
| Scottish = [[Member of the Scottish Parliament]]
| Sri Lanka|Sri Lankan = [[Member of Parliament (Sri Lanka)|Member of Parliament]]
| United Kingdom|UK = [[Member of Parliament (United Kingdom)|Member of Parliament]]
| #default =
{{#if:
{{{constituency_AM|}}}
| {{#if:
{{{assembly|}}}
| Member of the <span style="display: inline-block;">[[{{{assembly}}} Assembly]]</span>
| Assembly Member
}}
| Member of {{#if:
{{{parliament|}}}
| the <span style="display: inline-block;">[[{{{parliament}}} Parliament]]</span>
| Parliament
}}
}}
}}
<br />for
{{#ifeq:{{Title disambig text|{{{constituency_MP|}}}}}|UK Parliament constituency
| {{{constituency_MP|}}}
| {{#if:
{{#switch:
{{{parliament|}}}
|United Kingdom|UK
| = {{Linkless exists|{{#invoke:delink|delink|{{{constituency_MP|}}}}} (UK Parliament constituency)}}
}}
| {{#if:{{Constlk|{{#invoke:delink|delink|{{{constituency_MP|}}}}}}}
| {{Constlk|{{#invoke:delink|delink|{{{constituency_MP|}}}}}}}
| {{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}}}}
}}
| {{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}}}}
}}
}}
{{#if:
{{{prior_term|}}}
| <div style="font-weight:normal;">{{{prior_term}}}</div>
}}
}}
This is problematic, because it places some of the UK-specific logic after outside the {{#switch:{{{parliament}}}|...}}
, while at the same time effectively making the UK the default.
I suggest this section should look more like this:
header11 = {{Infobox_officeholder/description | parliament = {{{parliament|{{{assembly|}}}}}} | constituency = {{{constituency|{{{riding|}}}}}} | ap_label = {{#if:{{{assembly|}}}|Assembly|Parliament}} }}
And a new Template:Infobox_officeholder/description would look something like this:
{{#switch:{{{parliament|default}}| | Australian = Member of the [[Australian House of Representatives|Australian Parliament]] <br />for {{{constituency}}} | European = [[Member of the European Parliament]] '''Bold'''for {{{constituency}}} | Scottish = [[Member of the Scottish Parliament]] '''Bold'''for {{{constituency}}} | Sri Lanka|Sri Lankan = [[Member of Parliament (Sri Lanka)|Member of Parliament]] '''Bold'''for {{{constituency}}} | United Kingdom|UK| = [[Member of Parliament (United Kingdom)|Member of Parliament]] '''Bold'''for {{#ifeq: {{Title disambig text|{{{constituency_MP|}}}}} | UK Parliament constituency | {{{constituency_MP|}}} | {{#if: {{Linkless exists|{{#invoke:delink|delink|{{{constituency|}}}}} (UK Parliament constituency)}} | {{#if:{{Constlk|{{#invoke:delink|delink|{{{constituency|}}}}}}} | {{Constlk|{{#invoke:delink|delink|{{{constituency|}}}}}}} | {{{constituency}}} }} | {{{constituency}}} }} }} | #default = {{#if: {{{parliament|}}} | Member of the <span style="display: inline-block;">[[{{{parliament}}} {{ap_label}}]]</span> | {{#switch: {{{ap_label|Parliament}}} | Assembly = Assembly Member | Parliament = Member of Parliament }} }} <br />for {{{constituency}}} }} }}
(Note that I say something like, because this still doesn't disambiguate between countries.)
---
By now I'm starting to think that a wholesale overall might be called for. It took a long time to dissect this code, not least because the lack of unfolded lines (in part because adjacency is required in some places, but mostly just by habit).
Firstly, there are small details, for example numerous instances of structures like
{{#if:{{{state_house|}}}|{{{state_house}}}|United States}}
where I wonder why it doesn't simply have
{{{state_house|United States}}}
instead?
Secondly, the bulk of the code seems to be handling country-specific special cases, such as
{{#if:{{{majority_leader|}}}{{{minority_floor_leader|}}}{{{minority_leader|}}}{{{majority_floor_leader|}}}||{{#if:{{{jr/sr|}}}|[[United States Senate|United States Senator{{#if:{{{succeeding|}}}{{{assuming|}}}|-elect}}]]<br />from {{{state}}}}}}}
or
[[Speaker of the {{{state_assembly|}}} {{#ifeq:{{{state_assembly|}}}|Nevada||{{#ifeq:{{{state_assembly|}}}|New Jersey|General|State}}}} Assembly]]
In the latter case I'm left wondering why that's not handled either by a subsidiary template, or indeed by not handling them here, and simply following the existing page redirections (from Nevada State Assembly to Nevada Assembly and from New Jersey State Assembly to New Jersey General Assembly respectively)? (This piece of magic is questionable anyway; for example, Massachusetts is not a State but rather a Commonwealth, and the formal title of its legislative body is the Massachusetts General Court.)
But more generally, having only a single template to deal with any kind of office seems like madness; surely it would be more maintainable to have specific templates for each kind of assembly (and possibly for each role)?
[1] Then
Template:Infobox_officeholder/office could comprise (mostly) {{#switch:{{{parliament}}}|...}}
and each region's template would only need to deal with its own idiosyncrasies.
Underneath those I would have another template that does formatting, given a fully standardized set of parameters.
Having mutually exclusive parameters constituency_AM
and constituency_PM
is a further complication. It would make more sense for these to be consolidated into constituency
(which is already largely done) and add ap_label = Assembly
or ap_label = Parliament
(or in specialisations as ap_label = State Assembly
or ap_label = Federal House of Representatives
.
Adding country =
and state =
parameters would also simplify logic elsewhere.
Martin Kealey (
talk) 07:57, 14 February 2024 (UTC)
Martin Kealey (
talk) 07:57, 14 February 2024 (UTC)
|
after UK
so it is no longer the default. --
Ahecht (
TALKReferences
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please delete the 'majority = vote' parameter from the Members of Parliament infobox. Those infoboxes are about the office being held, not the election. Having how much votes they last won the seat by, listed below the date they took their seat. Just doesn't look right. GoodDay ( talk) 06:13, 1 March 2024 (UTC)
I have notified a relevant wikiproject at Wikipedia talk:WikiProject Politics of the United Kingdom#Should UK MP infoboxes include "majority"?. (I note that the much broader project had been notified at Wikipedia talk:WikiProject Politics#British MPs infoboxes but this more specific one had been overlooked.) Pam D 08:13, 2 March 2024 (UTC)
If a notable person has run for office, but been deafeated, and has never held office of any kind, at any level (municipal, state, federal, etc), should this infobox be used? Or is there a better one? Fred Zepelin ( talk) 17:34, 3 March 2024 (UTC)
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)
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)
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)
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)
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)
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)
This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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: ...
| label46 = {{#if:{{{battles_label|}}}|{{{battles_label|}}}|Battles/wars}}
| data46 = {{{battles|}}}
| label47 = {{#if:{{{awards|}}}|Military awards|Awards}}
| | + |
| 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)
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 talk • contributions 20:09, 17 May 2024 (UTC)