Difference between revisions of "Template:Hayes 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 = Hayes cabinet
 
| name = Hayes cabinet
 
| title = [[Cabinet of the United States|Cabinet]] of [[President of the United States|President]] [[Rutherford B. Hayes]] (1877–1881)
 
| title = [[Cabinet of the United States|Cabinet]] of [[President of the United States|President]] [[Rutherford B. Hayes]] (1877–1881)
 +
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
 
| image = [[File:Rhayes.png|100px|Rutherford B. Hayes, nineteenth President of the United States|alt=Rutherford B. Hayes, nineteenth President of the United States]]
 
| image = [[File:Rhayes.png|100px|Rutherford B. Hayes, nineteenth President of the United States|alt=Rutherford B. Hayes, nineteenth President of the United States]]
Line 41: Line 42:
  
 
}}<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:Hayes administration cabinet members|*]]
 
[[Category:Hayes administration cabinet members|*]]

Revision as of 18:27, 1 January 2013

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Hayes cabinet|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Hayes cabinet|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Hayes 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:Шаблон:Кабинет Ратерфорда Хейса simple:Template:Hayes cabinet zh:Template:Rutherford B. Hayes cabinet