Template talk:Infobox officeholder/Archive 2

Latest comment: 16 years ago by Happy-melon in topic Take out In office
Archive 1Archive 2Archive 3Archive 4Archive 5

date format

Looking at the birth_date line for Gough Whitlam, I see: ={{birth date and age|1916|07|11}} . This presents on the page as a date in American Dating format, which is clearly unacceptable for an article where International Dating format is used. May I suggest that some thought be given to having the dates output as wikidates? --Pete 17:13, 28 January 2007 (UTC)

If you turn off your date preferences, you will see that the date is in the incorrect format. Most Wikipedia readers do not have accounts and therefore do not have date preferences set. --Pete 11:01, 29 January 2007 (UTC)

Religion

At the risk of being pedantic, I would question the use of the word Religion to denote denomination. Surely, someone who is a Methodist is first and foremost an adherent of the Christian religion. If the denomination is to be noted then there needs to be a separate subheading to denote such. LittleOldMe 13:51, 30 January 2007 (UTC)

Agreed. Also, I've seen invocations put "Atheist" as religion, which is incorrect as atheism is not a religion. I wonder whether "Religious affiliation" would work better? –EdC 21:52, 14 February 2007 (UTC)
If we start listing social attributes of congressmen, why not start listing net-worth, annual income, occupation of parents, educational attainment, health problems, etc... Why off all social attributes would one chose religion when describing a public offical in waht is often a secual institution?! Regards, Signaturebrendel 21:01, 16 February 2007 (UTC)

Edit request: Template:Infobox_Mayor deprecated in favor of Template:Infobox Officeholder

The Template:Infobox_Mayor was noticed to be inadequate and non-standard. All pages using that mayor template were, to the best of my knowledge, transitioned to used this template, Template:Infobox Officeholder, and the mayor template page has been redirected to this template. You can see the discussion at Template_talk:Infobox_Mayor
I would like to have this Template:Infobox Officeholder template page appropriately updated to indicate that:

Mayor is another anticipated use for the template

Thanks. -- Yellowdesk 17:19, 3 February 2007 (UTC)

Done; thanks. Flcelloguy (A note?) 17:25, 3 February 2007 (UTC)

Bad markup

I guess Tidy is taking care of such mistakes when template is displayed, but perhaps <small>{{{caption|}}}<small/> should be changed to <small>{{{caption|}}}</small>? Svemir 16:35, 7 February 2007 (UTC)

Done. Good catch. Line breaks also seem to stop the effects of small (must use a span?), so that may have been a saving grace as well. Luna Santin 23:35, 10 February 2007 (UTC)

Interwiki

{{editprotected}} Please add the Romanian interwiki - ro:Format:Functie oficiala. --Roamataa 21:43, 16 February 2007 (UTC)

Done. Sandstein 17:05, 17 February 2007 (UTC)
Thanks.--Roamataa 15:27, 20 February 2007 (UTC)

Religion parameter discussion

A discussion has begun here to establish consensus regarding the religion parameter. All editors are invited to join the discussion. This message has been cross-posted to other talk pages. Thanks. --MZMcBride 04:02, 17 February 2007 (UTC)

New field "nationality" or "citizenship" proposed

{{Editprotected}} I miss some field like "nationality" or "citizenship", especially because some officeholders naturalized first, before being eligible for office in the first place. Analogue to Birth, I would like to have a date given to the naturalization information. Could that be added by someone with significant authorization, please? MikeZ 12:11, 11 March 2007 (UTC)

Edit requested

{{editprotected}} Hi, could someone add the following code, right after {{{religion}}}?

{{#if:{{{languages_spoken|}}} |<!--then:-->
! Languages spoken
{{!}} {{{languages_spoken}}}
{{!-}}
}}

Thanks! Blast 30.03.07 0856 (UTC)

What do other people think? It looks to me like this infobox is already too long; "infobox creep" should be avoided. There is a whole article to discuss the officeholder, and not everything needs to be in the infobox. I will resolve the editprotected tag. If a large consensus for adding this develops, please feel free to add another one. CMummert · talk 14:43, 31 March 2007 (UTC)

Take out In office

{{editprotected}} Take out In office (for former office holders) and Assumed office (for incumbents). Unnecessary since following dates (eg 1990--2006 for former holder, 2006--present for incumbent) supply context.

Unnecessary since following dates supply context. --Justmeherenow (talk) 18:26, 6 March 2008 (UTC)

  Not done Please establish consensus for this change. Happymelon 19:27, 6 March 2008 (UTC)

Edit requested -- governor, lieutenant governor

Would it be possible to include the following in this template?

{{edit protected}}

{{#if:{{{lieutenantgov|}}} |<!--then:--> 
! Lieutenant governor(s)
{{!}} {{{lieutenantgov}}}
{{!-}}
}}

and

{{#if:{{{governor|}}} |<!--then:--> 
! Governor(s)
{{!}} {{{governor}}}
{{!-}}
}}

(and so on for each level of office).

My rationale is that the current Template:Infobox Governor is inadequate & limited for any governor who has held any office other than governor or lieutenant governor. As it is, this template is the most flexible & inclusive of the various officeholder templates available; it's fairly easy even to include Senator & House information, whether at Congressional or state legislative level, without any further changes to the template. Miscellaneous items like "languages spoken" (as requested by the last person) or official website, etc. can always be placed in the footnotes field. Thus, it makes it possible to have a complete infobox history of significant political offices (at least for U.S. political offices) without having to futz around -- something not possible with the existing Governor, Senator, etc. templates.

BTW, I noticed that the template as it exists already has a line for "Lieutenant(s)", but that fact is not reflected in the documentation above.

Thanks for your consideration. --Yksin 03:11, 7 April 2007 (UTC)

I'm going to disable the editprotected tag. If consensus for some particular solution develops, please feel free to add another one. CMummert · talk 12:49, 15 April 2007 (UTC)

Unlimited offices

{{editprotected}} I'd like to propose quite a big change to this template. My change, as demonstrated in my sandbox, allows for unlimited, easy to add, public offices. This is achieved through cascading sub templates.

Listing many offices could take some space. So I'm currently also working on the possibility, of dynamically toggling the offices that are less important to show by default (by using some kind of show/hide button).

  • Well, there's no special need to call it "office", I can change it to "order" if that's the problem. But still, indeed many pages probably won't work properly, because they need to input the sub template. Is it ok if I'll make the changes on Template:Infobox Officeholder 2? I'll make the necessary modifications to its linked pages too. Geva Zeichner 11:51, 14 April 2007 (UTC)
This is not the sort of thing that an editprotected request is for. You will need to write the new code yourself and find consensus for it. Only use editprotected at the very end to have an admin copy the code into this template. CMummert · talk 12:45, 15 April 2007 (UTC)

Presidents who were also governors

{{editprotected}}

I'd like to propose some additions to this template. I have created a page with the proposed changes here, look at the talk page to see all the fields in use. These are not major changes to the template.

As a previous discussion pointed out, there are some issues with putting this template on pages for Presidents who also served as governors. These edits should clear this up as they allow for an office field and will add a link to the lieutenant field when the office field is in use.

Could an administrator please copy the code from here into the template. Thank you. --Philip Stevens 06:37, 17 April 2007 (UTC)

 Y Done. --ais523 12:01, 20 April 2007 (UTC)

hCard microformat

Per WP:UF, please add hCard microformat mark-up (two HTML classes, "vcard" and "fn"), thus:

  • class="infobox" => class="infobox vcard"
  • |colspan="2" style="text-align: center; font-size:140%;"| '''{{{name|{{PAGENAME}}}}}'''
=>
|colspan="2" style="text-align: center; font-size:140%;" class="fn"| '''{{{name|{{PAGENAME}}}}}'''

and add to the documentation:

==Microformat==
{{UF-hcard-person}}

Thank you.. Andy Mabbett 20:29, 20 April 2007 (UTC)

 Y Done EVula // talk // // 22:13, 21 April 2007 (UTC)
Thank you. Andy Mabbett 22:36, 21 April 2007 (UTC)

Making compatible with {{Infobox Politician}}

If Ségolène Royal became President of France, or Gordon Brown became Prime Minister, I think there would be a few problems converting the template from {{Infobox Politician}} to {{Infobox Officeholder}}; i.e. one or two fields would no longer work. Could any changes be made to prevent this? Hera1187 08:33, 21 April 2007 (UTC)

  • There wouldn't be an issue would with Brown because this template is already used on his page, but there is a problem with Royal and many others, including who ever wins the next US presidential election. So I have written a code that will allow for the easy transfer of one template to another. Here is the code. Look at the talk page to see it in use. --Philip Stevens 15:40, 21 April 2007 (UTC)
How many templates could be merged together? Instead of doing this one at a time, wouldn't it be better to figure out which ones could be merged (i.e., Template:Infobox Congressman, Template:Infobox Senator, Template:Infobox Governor-Elect, etc.) and then merge them all at once into one single template? That way, hundreds of pages wouldn't be affected every time this code is updated. I've begun a list below of templates that could possibly be merged into this one. Please add to it. Cheers. --MZMcBride 17:45, 21 April 2007 (UTC)

Mergeable?

I expanded the list above. Also, {{esoteric}} has been changed to {{intricate}} and using the Template doc pattern would probably be a good idea as well. --MZMcBride 19:46, 21 April 2007 (UTC)
This code now works with all the templates stated above. See it working here. There is some repetition in the template and I invite anyone, who thinks they can, to clean it up. Also, if anyone can see where the code wouldn't/doesn't work, this would be appreciated. I'll leave this open for a week or so and if no problems are found, I'll request and edit. --Philip Stevens 11:32, 22 April 2007 (UTC)
I've written a usage key for the proposed code. --Philip Stevens 14:31, 22 April 2007 (UTC)
It would be good if, for example, "The Rt Hon Tony Blair MP" could be made up of three fields: honorary-prefix, name and honorary-suffix. These could then be marked up with the corresponding hCard fields, and would allow the name to be parasble separately from the honorifics. (Existing uses would be backwards-compatible; with the values still being part of "name".)) Andy Mabbett 14:36, 22 April 2007 (UTC)
Feel free to change the code to include this, I'm not that confident using hCard. --Philip Stevens 15:13, 22 April 2007 (UTC)
Thank you, I've had a go - please check! Andy Mabbett 18:45, 22 April 2007 (UTC)
I'm seeing the suffix (Blair) but not the prefix (Disraeli, Blair). I can't see why not. Andy Mabbett 19:01, 22 April 2007 (UTC)
It's working now. --Philip Stevens 19:50, 22 April 2007 (UTC)
Thank you. Does anyone have a bot that could do some updating top pages using these template? Andy Mabbett 20:07, 22 April 2007 (UTC)

Chairman positions?

Can this infobox be modified to include committee chair positions and ranking member positions? (relevant to US Senators and Representatives) -Pete 06:48, 25 April 2007 (UTC)

| name =[[Rt Hon]] James Arbuthnot, MP
| order=[[Defence Select Committee|Chairman of the Defence Select Committee]]
| term_start=[[July 13]] [[2005]]
| term_end=

Fix needed

In this box on the Umaru Yar'Adua page, it says "Assumed office: May 2007." Obviously this should say "To assume office" or something similar, showing that he has not yet assumed office. Thus, we need this template to have an alternative line for "Assumed office" or "To assume office." Can this be added by whoever it is created or maintains this template, please? Thank you, Badagnani 09:38, 27 April 2007 (UTC)

Making Mergeable

  Done Change made. CMummert · talk 13:41, 3 May 2007 (UTC)

{{|editprotected}} Following the discussion above, could an administrator please copy the code from this page into the template.

These edits will NOT change how the infobox looks or works but will allow for the merging of other infoboxes for political offices into this one template. This would standardize the political templates and mean that upgrades and additions need only be applied to one template.--Philip Stevens 05:41, 29 April 2007 (UTC)

In addition, could we switch to Template doc pattern, please? Cheers. --MZMcBride 07:46, 29 April 2007 (UTC)
I've created Template:Infobox Officeholder/doc in which I've placed a usage key for the new code, along with the categories and the interwikis. --Philip Stevens 08:21, 29 April 2007 (UTC)
I made a minor change to the documentation under "US Congressman." The US federal legislature is "Congress" but states have "legislatures" or "assemblies." Looks good otherwise, and a problem I saw with "order2" not displaying properly for presidents who were also governors seems to have been corrected.

One other question I have is with this new code is how to list US Representatives who served non-consecutive terms in office or served in different congressional districts? An example would be Charlie Norwood who served in Georgia's 10th Congressional District, then the 9th District, and back to the 10th during his career. Ciro Rodriguez served in Texas' 28th District before currently serving in the 23rd District. Is it simply a matter of adding additional "orders" until finished? The documentation isn't clear.Dcmacnut 21:34, 29 April 2007 (UTC)

  • See the top of this page for congressmen who served in different congressional districts. Look lower down the page (at Barry Goldwater) to see how to show non-consecutive terms in the same seat. I've changed the /doc page to show how to do this. --Philip Stevens 06:11, 30 April 2007 (UTC)
    • I've been looking through the change requested (which is to replace this page with User:Philip Stevens/Template:Infobox Officeholder). It looks good technically, but I've noticed a number of formatting changes (which are presumably inevitable when merging two templates with different formats), especially to the default size of the image. So I'll leave this request open for a while: does anyone have any objections to the merge, or to the formatting change that goes with it? --ais523 08:45, 30 April 2007 (UTC)
I have no problems with merging. Surely if there is an issue, it should be discussed on the talk pages of the infoboxes that would be redirected here. I can't see a problem with the image size either as the defaults are very similar. I think, as I’ve said above, having one infobox for all politicians will help standardize Wikipedia and can only be a good thing and I completely support it. Hera1187 20:20, 30 April 2007 (UTC)

Thanks for clarifying the non-consecutive/different district formula. However, the infobox you created for Ciro Rodriguez needs a slight change. He served from the 118th District in the Texas House of Representatives, not the US House of Representatives. Changing "state4" in the infobox to "state_house3" or "state_house4" causes it to display incorrectly. Is there an easier way I'm missing? A lot of U.S. Congressmen formerly served in their respective state legislatures. Other than that everything looks good to me.Dcmacnut 21:27, 30 April 2007 (UTC)

  • Sorry, that was my fault, I should have looked more carefully at his page. I fixed the problem by adding one word (state4 >> state_house4). --Philip Stevens 06:36, 1 May 2007 (UTC)
  • I've noticed that some states (California, New Jersey, Wisconsin, New York and Nevada) have assemblies and not Houses of Representatives, so I've added a new field to allow for this. --Philip Stevens 11:09, 1 May 2007 (UTC)
  • Sorry to sound like a broken record, but I have another comment or suggestion. When creating one template it's hard to accommodate every permutation. Nebraska's legislature has no House and no Senate. It is merely referred to as the Nebraska Legislature or the Nebraska Unicameral Legislature. All members of the legislatures are referred to as state senators, but they also have a Speaker. The same is true for the Legislature of the U.S. Virgin Islands (Senators/Senate President) and Guam (Senators/Speaker). It's not currently an issue, since there are no infoboxes created for any of the members from these legislatures, but if one intended purpose of creating a super-template is to create infoboxes for most legislator articles, is another parser function needed to handle "unicameral" legislatures? There are likely other examples of unicameral legislatures outside of the United States as well. Just food for thought from a political science Yank.Dcmacnut 19:43, 1 May 2007 (UTC)
  • I've added a field for legislatures. --Philip Stevens 20:09, 1 May 2007 (UTC)

Some issues following merge

{{editprotected}}

  • For the vast majority of pages the newly designed template does well. However, there are some issues which are understandable given the extent of the changes but nevertheless need to be sorted.
    1. On the Alex Salmond page, it says "Member of the Scottish Parliament", where as on the Ian Paisley page it just says "Assembly Member", shouldn't it be "Northern Ireland Assembly Member"?
    2. Also, can {{Infobox Congressional Candidate}} and {{Infobox Politician (general)}} be merged into this template, they are the only political people infoboxs left?
    3. Another thing, I've been looking through the pages that are linked to {{Infobox State Representative}} and on the Fabian Núñez page it says California twice in the same heading, I'm not American but is this correct, it looks clumsy?
    4. Finally, is the name of this template, Officeholder, the most appropriate name for this template after the merges? I am aware of my own history in the nameing of this template but I feel now that a more appropriate name considering the pages this template is now linked to is "Infobox Politician".

Please don't take the above as criticism, I am very impressed with the work that's been done, but these problems need to be addressed. Hera1187 06:26, 5 May 2007 (UTC)

  • I have fixed the code for the first three points, see here. I wouldn't support a move to Infobox Politician as the history for that page would be lost. Before I put the fixed code up for an edit request, can anyone else see any other problems that may have occurred after merging? --Philip Stevens 16:53, 5 May 2007 (UTC)

Senator and Representative

I'm attempted to improve Benjamin F. Shively. I put in the Infobox Office holder. I was able to put in his Senate information just fine. However, when I follow the sparse instructions on this infobox to "If Senator served as Congressman add:" it doesn't work. I get some dates but no line above them that I can add the words, "U.S. Representative". Instead it just adds dates under the Senate dates so it looks like he was Senator twice. If I'm just doing something wrong, can someone please point me at an example? Also, the instructions on how to add the Congressman info might need to be made clearer to help others like me in the future. Fanra 05:23, 8 May 2007 (UTC)

  • I added the info, I hope it's right. --Philip Stevens 06:51, 8 May 2007 (UTC)
  • Thanks a lot. The info you added was right. I did add some more because while you added his first term as Representative, he actually was elected again after he left office two years later for three more terms. I'm not exactly sure what you did to get it to work but I can copy it now as needed. Thanks again. Fanra 14:05, 8 May 2007 (UTC)

Infobox Judge

It looks like someone must have done some changes, as the "appointer" field no longer works. Is there a reason for this? Aboutmovies 08:28, 8 May 2007 (UTC)

Having trouble

I tried to use this template at Kevin Mannix, but it wouldn't work right. Can somebody help me figure it out? I stashed my "draft" version on the talk page. -Pete 00:39, 9 May 2007 (UTC)

The state_senate parameter contained an open wiki-link, which broke the template. I fixed the problem and added the infobox to the article. Cheers. --MZMcBride 01:10, 9 May 2007 (UTC)
Marvelous- thanks!! -Pete 21:34, 9 May 2007 (UTC)
still need further help though - many of the fields are not showing up in the box, and the grammar is all wonky due to the lack of a district number. Can you take another look? -Pete 21:38, 9 May 2007 (UTC)

Rewrite instructions

Given the above discussions, do the instructions for this template need to be rewritten or made clear? Perhaps add examples of the template in use. Hera1187 05:29, 9 May 2007 (UTC)

Very minor error

{{editprotected}} There is a very minor error in the code that I should have spotted before. If you look at Nicolas Sarkozy you'll see that Succeeding appears twice, this should not happen. Here is the code to fix it. --Philip Stevens 13:13, 9 May 2007 (UTC)

done. CMummert · talk 21:16, 9 May 2007 (UTC)