Template:Second Cameron Cabinet

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Second Cameron Cabinet|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Second Cameron Cabinet|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Second Cameron Cabinet|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbox}}, 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. Lua error in Module:Documentation at line 140: message: type error in message cfg.container (string expected, got nil).

Navigation template to go at the bottom of articles for members of the Second Cameron ministry.

Template parameters

This template prefers inline formatting of parameters.

Parameter Description Type Status
State state

Template's visibility to readers when it first appears. 'collapsed' means it is hidden apart from its titlebar; 'visible' means it is expanded to show the template in its expanded state, and 'autocollapse'show the template in its collapsed state but only if there is another template of the same type on the page.

Default
autocollapse
Example
collapsed
Auto value
empty
String optional