Difference between revisions of "Template:McKinley cabinet"

From blackwiki
Jump to navigation Jump to search
Line 4: Line 4:
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
| image = [[File:File:Mckinley.jpg|120px|William McKinley, 25th President of the United States|alt=William McKinley, 25th President of the United States]]
+
| image = [[File:Mckinley.jpg|120px|William McKinley, 25th President of the United States|alt=William McKinley, 25th President of the United States]]
  
 
| group1 = [[Vice President of the United States|Vice President]]
 
| group1 = [[Vice President of the United States|Vice President]]
| list1 =
+
| list1 =
 
* [[Garret Hobart|Garret A. Hobart]] (1897–1899)
 
* [[Garret Hobart|Garret A. Hobart]] (1897–1899)
 
* ''None'' (1899–1901)
 
* ''None'' (1899–1901)
Line 13: Line 13:
  
 
| group2 = [[United States Secretary of State|Secretary of State]]
 
| group2 = [[United States Secretary of State|Secretary of State]]
| list2 =
+
| list2 =
 
* [[John Sherman]] (1897–1898)
 
* [[John Sherman]] (1897–1898)
 
* [[William R. Day]] (1898)
 
* [[William R. Day]] (1898)
Line 19: Line 19:
  
 
| group3 = [[United States Secretary of the Treasury|Secretary of the Treasury]]
 
| group3 = [[United States Secretary of the Treasury|Secretary of the Treasury]]
| list3 =
+
| list3 =
 
* [[Lyman J. Gage]] (1897–1901)
 
* [[Lyman J. Gage]] (1897–1901)
  
 
| group4 = [[United States Secretary of War|Secretary of War]]
 
| group4 = [[United States Secretary of War|Secretary of War]]
| list4 =
+
| list4 =
 
* [[Russell A. Alger]] (1897–1899)
 
* [[Russell A. Alger]] (1897–1899)
 
* [[Elihu Root]] (1899–1901)
 
* [[Elihu Root]] (1899–1901)
  
 
| group5 = [[United States Attorney General|Attorney General]]
 
| group5 = [[United States Attorney General|Attorney General]]
| list5 =
+
| list5 =
 
* [[Joseph McKenna]] (1897–1898)
 
* [[Joseph McKenna]] (1897–1898)
 
* [[John W. Griggs]] (1898–1901)
 
* [[John W. Griggs]] (1898–1901)
Line 34: Line 34:
  
 
| group6 = [[United States Postmaster General|Postmaster General]]
 
| group6 = [[United States Postmaster General|Postmaster General]]
| list6 =
+
| list6 =
 
* [[James Albert Gary|James A. Gary]] (1897–1898)
 
* [[James Albert Gary|James A. Gary]] (1897–1898)
 
* [[Charles Emory Smith]] (1898–1901)
 
* [[Charles Emory Smith]] (1898–1901)
  
 
| group7 = [[United States Secretary of the Navy|Secretary of the Navy]]
 
| group7 = [[United States Secretary of the Navy|Secretary of the Navy]]
| list7 =
+
| list7 =
 
* [[John Davis Long|John D. Long]] (1897–1901)
 
* [[John Davis Long|John D. Long]] (1897–1901)
  
 
| group8 = [[United States Secretary of the Interior|Secretary of the Interior]]
 
| group8 = [[United States Secretary of the Interior|Secretary of the Interior]]
| list8 =
+
| list8 =
 
* [[Cornelius Newton Bliss|Cornelius N. Bliss]] (1897–1899)
 
* [[Cornelius Newton Bliss|Cornelius N. Bliss]] (1897–1899)
 
* [[Ethan A. Hitchcock (Interior)|Ethan A. Hitchcock]] (1899–1901)
 
* [[Ethan A. Hitchcock (Interior)|Ethan A. Hitchcock]] (1899–1901)
  
 
| group9 = [[United States Secretary of Agriculture|Secretary of Agriculture]]
 
| group9 = [[United States Secretary of Agriculture|Secretary of Agriculture]]
| list9 =
+
| list9 =
 
* [[James Wilson (U.S. politician)|James Wilson]] (1897–1901)
 
* [[James Wilson (U.S. politician)|James Wilson]] (1897–1901)
  

Revision as of 14:17, 11 January 2014

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{McKinley cabinet|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{McKinley cabinet|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{McKinley 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.