Difference between revisions of "Template:CA-Solicitors General of Canada"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>SilkTork
(Doug Lewis (politician))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Navbox  
+
{{Navbox Canada
 
|name = CA-Solicitors General of Canada
 
|name = CA-Solicitors General of Canada
|state = <includeonly>{{{state|collapsed}}}</includeonly>
+
|state = {{{state<includeonly>|collapsed</includeonly>}}}
|titlestyle = color:black; background-color:white;
+
|title = [[Solicitor General of Canada|Solicitors General of Canada]]
|title = <span style="vertical-align:1px;">[[Image:Maple_Leaf_(from_roundel).png|20x20px]]</span>  '''<font color=#00006E>[[Solicitor General of Canada|Solicitors General of Canada]]</font>'''
+
|leaf = yes
 
|listclass = hlist
 
|listclass = hlist
|style = width:100%;
 
|groupstyle = padding:0.35em 1.0em; line-height:1.1em;background:white;color:black;border: 1px solid #CC0000;
 
|list1style = padding:0.35em 0; line-height:1.5em;background:white;color:black;border-top: 1px solid #CC0000;
 
|liststyle = padding:0.35em 0; line-height:1.5em;background:white;color:black;
 
|belowstyle = background:#DCDCDC;color:black;
 
  
 
|list1 =
 
|list1 =
Line 51: Line 46:
 
* [[Pierre Blais|Blais]]
 
* [[Pierre Blais|Blais]]
 
* [[Pierre Cadieux|Cadieux]]
 
* [[Pierre Cadieux|Cadieux]]
* [[Doug Lewis|Lewis]]
+
* [[Doug Lewis (politician)|Lewis]]
 
* [[Herb Gray|Gray]]
 
* [[Herb Gray|Gray]]
 
* [[Andy Scott (politician)|Scott]]
 
* [[Andy Scott (politician)|Scott]]
Line 58: Line 53:
 
|below= <sup>1</sup>The office of Solicitor General was abolished and the office of Minister of Public Safety and Emergency Preparedness was in force April 4, 2005.
 
|below= <sup>1</sup>The office of Solicitor General was abolished and the office of Minister of Public Safety and Emergency Preparedness was in force April 4, 2005.
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Canadian ministers navigational boxes]]
 
[[Category:Canadian ministers navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:44, 20 July 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: {{CA-Solicitors General of Canada|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{CA-Solicitors General of Canada|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{CA-Solicitors General of Canada|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.