Difference between revisions of "Template:McKinley cabinet"

From blackwiki
Jump to navigation Jump to search
imported>Cydebot
m (Robot - Speedily moving category United States Executive Cabinet by President navigational boxes to Category:United States Executive Cabinet members by presidential administration navigational boxes per CFDS.)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name = McKinley cabinet
 
| name = McKinley cabinet
 
| title = [[Cabinet of the United States|Cabinet]] of [[President of the United States|President]] [[William McKinley]] (1897–1901)
 
| title = [[Cabinet of the United States|Cabinet]] of [[President of the United States|President]] [[William McKinley]] (1897–1901)
 +
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
 
| image = [[File:Official White House portrait of William McKinley.jpg|120px|William McKinley, 25th President of the United States|alt=William McKinley, 25th President of the United States]]
 
| image = [[File:Official White House portrait of William McKinley.jpg|120px|William McKinley, 25th President of the United States|alt=William McKinley, 25th President of the United States]]
Line 51: Line 52:
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:United States Executive Cabinet members by presidential administration navigational boxes]]
 
[[Category:United States Executive Cabinet members by presidential administration navigational boxes]]
 
[[Category:McKinley administration cabinet members|*]]
 
[[Category:McKinley administration cabinet members|*]]

Revision as of 18:30, 1 January 2013

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.

ru:Шаблон:Кабинет Уильяма Маккинли zh:Template:William McKinley cabinet