Difference between revisions of "Template:Grant cabinet"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>GoodDay
Line 10: Line 10:
 
* [[Schuyler Colfax]] (1869–1873)
 
* [[Schuyler Colfax]] (1869–1873)
 
* [[Henry Wilson]] (1873–1875)
 
* [[Henry Wilson]] (1873–1875)
 +
* ''None'' (1875–1877)
  
 
|group2=[[United States Secretary of State|Secretary of State]]
 
|group2=[[United States Secretary of State|Secretary of State]]

Revision as of 02:11, 3 February 2013

Initial visibility: currently defaults to autocollapse

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

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