Template talk:Infobox U.S. Cabinet

Foreign Affairs breakage
It seems with the addition of the Foreign Affairs field, the template leaves behind a '}}' upon usage; the George Washington article is an example. The template syntax no longer displays properly here either. Please make whatever corrections are needed. &mdash;Adavidb 10:17, 7 December 2007 (UTC)

I reverted the changes and added the sandbox and testcases pages so that changes can be tested before making them live. The sandbox version has the last changes by Therequiembellishere. Please let me know if there are any questions about using the sandbox. --— Gadget850 (Ed)  talk  -  12:19, 7 December 2007 (UTC)

vice president
Traditionally, the Vice President was not a member of the cabinet, did not attend cabinet meetings, etc. Each president's VP is listed elsewhere on the page - why should they be listed in this infobox as well? john k (talk) 16:52, 12 April 2008 (UTC)

This has, admittedly, changed somewhat with the VPs from Mondale onwards. But pretty much no earlier VPs were considered to be cabinet members. john k (talk) 16:53, 12 April 2008 (UTC)
 * From United States Cabinet: "During a meeting of the President's Cabinet, members are seated according to the order of precedence, with higher ranking officers sitting closer to the center of the table. Hence, the President and Vice President sit directly across from each other at the middle of the oval shaped table." --MZMcBride (talk) 16:57, 12 April 2008 (UTC)
 * Since 1977 or so only. Before that the VP never attended cabinet meetings.  LBJ was not at Kennedy's cabinet meetings, Hannibal Hamlin did not attend civil war cabinet meetings, John Adams never attended Washington's cabinet.  The VP as a member of the cabinet is a very recent phenomenon, and we shouldn't anachronistically read that back into earlier times. john k (talk) 17:22, 12 April 2008 (UTC)
 * Also, please don't quote Wikipedia articles as though they're reliable sources for what other wikipedia articles should say. john k (talk) 17:23, 12 April 2008 (UTC)


 * This 1974 Atlantic article by Schlesinger discusses the history of the issue. Apparently the first VP to attend cabinet meetings was Wilson's VP, Thomas R. Marshall, but this was only to preside while Wilson was in Paris, and was considered unofficial and somewhat improper.  Apparently Coolidge then regularly attended cabinet meetings, but Dawes and Curtis did not, and it only became regular from Roosevelt onwards.  So I was in error, the practice began in 1921 or 1933 rather than 1977, but still, the VPs before Garner (other than Coolidge and possibly Marshall) should not be included in the cabinet template. john k (talk) 17:43, 12 April 2008 (UTC)

US ambassador to UN needs added
 ↜Just me, here, now … 02:22, 19 January 2009 (UTC)

According to United States Cabinet: Under some administrations, the U.S. Permanent Representative to the United Nations was allowed to sit in for cabinet meetings.[citation needed]

Before we add this field, this needs to be verified and "some administrations" needs to be defined. --—— Gadget850 (Ed)  talk  -  12:29, 19 January 2009 (UTC)
 * OK, Gadget850 -- Peter Baker in Nov. 30th's NYT:"Mr. Obama may also announce former Assistant Secretary of State Susan E. Rice as ambassador to the United Nations, a job that will be given cabinet rank in his cabinet, as it had under President Bill Clinton."  ↜Just me, here, now … 09:36, 20 January 2009 (UTC)

Footnotes code
I just made these edits to the sandbox code to include a footnotes field. I think this will be useful for adding footnotes such as those seen in the wikitable at Presidency of Barack Obama. To make a footnote, simply type an asterisk (*) or any other symbol you wish after the person's name, then define that symbol in the footnotes field.

An example would be: |Defense = Robert Gates* ... rest of infobox ... |Footnotes = *Remained from previous administration The footnotes render at 90% font-size at the bottom of the table under a black line. If no one objects, I'll add this into the main code. --Dudemanfellabra (talk) 06:22, 26 January 2009 (UTC)
 * Code has been added; see example at Template:Obama cabinet infobox. --Dudemanfellabra (talk) 16:41, 26 January 2009 (UTC)

Center Alignment
Hi, how can it be made to have an align center on this template? Spinach Monster (talk) 18:31, 24 February 2009 (UTC)

Template:Infobox SCOTUS Appointments
Hello, I have created a similar template for SCOTUS appointments, based on the source code for the cabinet template. This worked out so far but I have a problem with getting more than four appointments shown properly, as can be seen in the George Washington article. (The code that created problems and showed up directly in the article is currently commented out.) What can I do to change this? Str1977 (talk) 23:00, 23 November 2009 (UTC)

View problems
For some reason, later appointees are not correctly ordered and are not properly justified. Can anyone solve this? --Checco (talk) 13:06, 13 January 2019 (UTC)
 * Pinging, who made the most recent edits to Infobox cabinet members. When I look at that template's documentation, I see the offices in the order "a, c, b, e, d", and sometimes other orders, instead of "a, b, c, d, e". Please make it so that they are alphabetized, which the previous version appears to have done. I have put the pre-Lua 2017 version into the sandbox so that Template:Infobox cabinet members/testcases shows that the old version was alphabetical. – Jonesey95 (talk) 20:39, 15 February 2019 (UTC)
 * thanks for the ping. Can either you or elaborate on the issue or link to an example? I'm having a hard time seeing what the problem is... Also going to ping  as she did the bulk of the work on the module. NOT trying to pass the buck here! I'm happy to fix the issue myself, I'm just not really clear on what is broken... -- Zack mann  (Talk to me/What I been doing) 20:47, 15 February 2019 (UTC)
 * The infobox is not putting cabinet members for each office in order correctly. Take a look at User:Jonesey95/sandbox3. Vice president should go Garner, Wallace, Truman. I see Garner, Truman, Wallace. Secretary of the Navy is similarly out of order. If you look at the underlying code of that sandbox page, you will see that the people are listed in the correct order. Somehow, the infobox is rendering the rows out of order. Scroll down on my sandbox page to see the previous version, currently resident in the template's sandbox. It renders the rows in the correct order. – Jonesey95 (talk) 20:57, 15 February 2019 (UTC)
 * Thanks, User:Jonesey95, for clarifying what I meant! I also see that the text is not correctly justified. --Checco (talk) 21:25, 15 February 2019 (UTC)
 * the sort order should be fixed now (sorting a hash is not the same as sorting a table). I'm not sure what you mean about the text justification.  this is sometimes a difference between web browsers, with different web browsers doing different things when the justification is not explicitly specified. Frietjes (talk) 12:45, 16 February 2019 (UTC)
 * Thanks, . Sorting looks great. I don't see any justification problems. A screen shot may be needed. – Jonesey95 (talk) 13:36, 16 February 2019 (UTC)
 * Uhm, I am actually reporting the justification problem I was talking about before... --Checco (talk) 14:55, 16 February 2019 (UTC)
 * If you're talking about a problem with the left-to-right alignment of text, we don't see any problems with it. If the infobox still looks wrong to you, please try to describe the problems you see using different words. Also let us know what web browser you use, and whether the problem occurs with a different web browser and when you are logged out of your Wikipedia account. – Jonesey95 (talk) 15:03, 16 February 2019 (UTC)
 * The names of the cabinet officials who replaced the original ones (Kerry, Lew, Hagel, Carter, Lynch, etc.) are not aligned with their predecessors (Clinton, Geithner, Gates, Holder, etc.), but with the office (Secretary of State, Secretary of Treasury, etc.). I am using Mozzilla Firefox. And, you are right, the problem occurs only when I am logged in. --Checco (talk) 06:28, 21 February 2019 (UTC)
 * That may mean that there is something not quite right in your personal CSS settings. You may have to ask the technical gurus at WP:VPT. – Jonesey95 (talk) 08:55, 21 February 2019 (UTC)

Additional Cabinet-rank positions
I am trying to add four new positions for the infoboxes of previous U.S. Presidents. Those four new positions are "Counselor to the President", "Director of Central Intelligence", "Director of the Federal Emergency Management Agency", and "White House Counsel." These four positions were at Cabinet-ranking in certain previous administrations. I need someone to add these four positons to the template for the infobox so I can start using them. When I try to add them to an infobox now, they don't show up when I publish the changes. — Preceding unsigned comment added by 99.2.40.212 (talk) 15:07, 6 November 2019 (UTC)

Missing OPM director parameter
Clinton apparently made OPM director a cabinet-level position during the tenure of Janice Lachance, so could somebody add that as a parameter? Star Garnet (talk) 22:50, 2 August 2023 (UTC)