Difference between revisions of "Template:CA-Ministers of Labour"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{collapse_state}}})
imported>Benj7090
Line 70: Line 70:
 
* [[Rona Ambrose|Ambrose]]
 
* [[Rona Ambrose|Ambrose]]
 
* [[Lisa Raitt|Raitt]]
 
* [[Lisa Raitt|Raitt]]
 +
* [[Kellie Leitch|Leitch]]
 
| belowstyle = font-size:smaller;
 
| belowstyle = font-size:smaller;
 
| below = <sup>1</sup>Until 1909, the office of the minister of Labour was a secondary function of the Postmaster-General of Canada. W.L.M. King was the first to hold the office independently. <br />
 
| below = <sup>1</sup>Until 1909, the office of the minister of Labour was a secondary function of the Postmaster-General of Canada. W.L.M. King was the first to hold the office independently. <br />

Revision as of 23:18, 6 August 2013

Template:Navbox Canada Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{CA-Ministers of Labour|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{CA-Ministers of Labour|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{CA-Ministers of Labour|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.