Difference between revisions of "Template:Justin Trudeau Ministry"

From blackwiki
Jump to navigation Jump to search
imported>Jack Cox
Line 1: Line 1:
 
{{Navbox Canada
 
{{Navbox Canada
|name = Justin Trudeau Ministry
+
|name = Justin Trudeau Ministry
 
|title = [[29th Canadian Ministry|Cabinet]] of [[Prime  Minister of Canada|Prime Minister]] [[Justin Trudeau]] (2015–present)
 
|title = [[29th Canadian Ministry|Cabinet]] of [[Prime  Minister of Canada|Prime Minister]] [[Justin Trudeau]] (2015–present)
 
|listclass = hlist
 
|listclass = hlist
 
|state = <includeonly>collapsed</includeonly>
 
|state = <includeonly>collapsed</includeonly>
| leaf     = yes
+
|leaf = yes
 +
 
 
|list1 = Current ministers
 
|list1 = Current ministers
'''[[Justin Trudeau]]'''<br>
+
'''[[Justin Trudeau]]'''<br />
 
* [[Navdeep Bains]]
 
* [[Navdeep Bains]]
 
* [[Carolyn Bennett]]
 
* [[Carolyn Bennett]]
Line 42: Line 43:
 
* [[Jonathan Wilkinson (politician)|Jonathan Wilkinson]]
 
* [[Jonathan Wilkinson (politician)|Jonathan Wilkinson]]
 
* [[Jody Wilson-Raybould]]
 
* [[Jody Wilson-Raybould]]
 +
 
|list2 = Former ministers:
 
|list2 = Former ministers:
 
* [[Scott Brison]]
 
* [[Scott Brison]]
Line 51: Line 53:
 
* [[Hunter Tootoo]]
 
* [[Hunter Tootoo]]
 
}}<noinclude>
 
}}<noinclude>
 +
 
{{collapsible option}}
 
{{collapsible option}}
 +
 
[[Category:Canadian ministers navigational boxes]]
 
[[Category:Canadian ministers navigational boxes]]
 
</noinclude>
 
</noinclude>

Revision as of 20:25, 28 January 2019

Template:Navbox Canada

Initial visibility: currently defaults to autocollapse

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

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