Difference between revisions of "Template:Buchanan 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 = Buchanan cabinet
 
|name = Buchanan cabinet
 
|title = [[Cabinet of the United States|Cabinet]] of [[President of the United States|President]] [[James Buchanan]] (1857–1861)
 
|title = [[Cabinet of the United States|Cabinet]] of [[President of the United States|President]] [[James Buchanan]] (1857–1861)
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|image = [[File:James Buchanan.jpg|100px|James Buchanan, fifteenth President of the United States|alt=James Buchanan, fifteenth President of the United States]]
 
|image = [[File:James Buchanan.jpg|100px|James Buchanan, fifteenth President of the United States|alt=James Buchanan, fifteenth President of the United States]]
Line 45: Line 46:
  
 
}}<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:Buchanan administration cabinet members|*]]
 
[[Category:Buchanan administration cabinet members|*]]

Revision as of 18:23, 1 January 2013

Initial visibility: currently defaults to autocollapse

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

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