Difference between revisions of "Template:Kennedy cabinet"

From blackwiki
Jump to navigation Jump to search
imported>Matt Fitzpatrick
(unlinked, null alt text for image; "President John F. Kennedy" in template title is sufficient alternative text)
imported>Randy Kryn
m (full years if not consecutive per Wikipedia style)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = Kennedy cabinet
 
| name = Kennedy cabinet
| title = [[Cabinet of the United States|Cabinet]] of [[President of the United States|President]] [[John F. Kennedy]] (1961–63)
+
| title = [[Cabinet of the United States|Cabinet]] of [[President of the United States|President]] [[John F. Kennedy]] (1961–1963)
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
Line 8: Line 8:
 
| group1 = [[Vice President of the United States|Vice President]]
 
| group1 = [[Vice President of the United States|Vice President]]
 
| list1 =
 
| list1 =
* [[Lyndon B. Johnson]] (1961–63)
+
* [[Lyndon B. Johnson]] (1961–1963)
  
 
| group2 = [[United States Secretary of State|Secretary of State]]
 
| group2 = [[United States Secretary of State|Secretary of State]]
 
| list2 =
 
| list2 =
* [[Dean Rusk]] (1961–63)
+
* [[Dean Rusk]] (1961–1963)
  
 
| group3 = [[United States Secretary of the Treasury|Secretary of the Treasury]]
 
| group3 = [[United States Secretary of the Treasury|Secretary of the Treasury]]
 
| list3 =
 
| list3 =
* [[C. Douglas Dillon]] (1961–63)
+
* [[C. Douglas Dillon]] (1961–1963)
  
 
| group4 = [[United States Secretary of Defense|Secretary of Defense]]
 
| group4 = [[United States Secretary of Defense|Secretary of Defense]]
 
| list4 =
 
| list4 =
* [[Robert McNamara]] (1961–63)
+
* [[Robert McNamara]] (1961–1963)
  
 
| group5 = [[United States Attorney General|Attorney General]]
 
| group5 = [[United States Attorney General|Attorney General]]
 
| list5 =
 
| list5 =
* [[Robert F. Kennedy]] (1961–63)
+
* [[Robert F. Kennedy]] (1961–1963)
  
 
| group6 = [[United States Postmaster General|Postmaster General]]
 
| group6 = [[United States Postmaster General|Postmaster General]]
 
| list6 =  
 
| list6 =  
* [[J. Edward Day]] (1961–63)
+
* [[J. Edward Day]] (1961–1963)
 
* [[John A. Gronouski]] (1963)
 
* [[John A. Gronouski]] (1963)
  
Line 37: Line 37:
 
| group8 = [[United States Secretary of Agriculture|Secretary of Agriculture]]
 
| group8 = [[United States Secretary of Agriculture|Secretary of Agriculture]]
 
| list8  =
 
| list8  =
* [[Orville Freeman]] (1961–63)
+
* [[Orville Freeman]] (1961–1963)
  
 
| group9 = [[United States Secretary of Commerce|Secretary of Commerce]]
 
| group9 = [[United States Secretary of Commerce|Secretary of Commerce]]
 
| list9 =
 
| list9 =
* [[Luther H. Hodges]] (1961–63)
+
* [[Luther H. Hodges]] (1961–1963)
  
 
| group10 = [[United States Secretary of Labor|Secretary of Labor]]
 
| group10 = [[United States Secretary of Labor|Secretary of Labor]]

Revision as of 23:54, 12 April 2019

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Kennedy cabinet|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Kennedy cabinet|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Kennedy cabinet|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.