Difference between revisions of "Template:CA-Ministers of Immigration and Colonization"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>Roman Spinner
(Adjusting links for Charles Stewart (Alberta politician, born 1868)|Charles Stewart, so that these point to Charles Stewart (premier)|Charles Stewart, thus obviating redirects)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Navbox  
+
{{Navbox Canada
 
|name = CA-Ministers of Immigration and Colonization
 
|name = CA-Ministers of Immigration and Colonization
|state = <includeonly>{{{state|collapsed}}}</includeonly>
+
|title = [[Minister of Immigration and Colonization (Canada)|Ministers of Immigration and Colonization]]
|titlestyle = color:black; background-color:white;
+
|leaf = yes
|title = <span style="vertical-align:1px;">[[Image:Maple_Leaf_(from_roundel).png|20x20px|link=]]</span>  '''<font color=#00006E>[[Minister of Immigration and Colonization (Canada)|Ministers of Immigration and Colonization]]</font>'''
+
|state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|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 15: Line 10:
 
* [[John Wesley Edwards|Edwards]]
 
* [[John Wesley Edwards|Edwards]]
 
* [[Hewitt Bostock|Bostock]] (acting)
 
* [[Hewitt Bostock|Bostock]] (acting)
* [[Charles Stewart (Canadian politician)|Stewart]] (acting)
+
* [[Charles Stewart (premier)|Stewart]] (acting)
 
* [[James Robb (politician)|Robb]]
 
* [[James Robb (politician)|Robb]]
 
* [[George Newcombe Gordon|Gordon]]
 
* [[George Newcombe Gordon|Gordon]]
* [[Charles Stewart (Canadian politician)|Stewart]] (acting)
+
* [[Charles Stewart (premier)|Stewart]] (acting)
 
* [[Robert James Manion|Manion]] (acting)
 
* [[Robert James Manion|Manion]] (acting)
 
* [[Henry Lumley Drayton|Drayton]] (acting)
 
* [[Henry Lumley Drayton|Drayton]] (acting)
 
* [[Robert Forke|Forke]]
 
* [[Robert Forke|Forke]]
* [[Charles Stewart (Canadian politician)|Stewart]] (acting)
+
* [[Charles Stewart (premier)|Stewart]] (acting)
 
* [[Ian Alistair Mackenzie|Mackenzie]]
 
* [[Ian Alistair Mackenzie|Mackenzie]]
 
* [[Wesley Ashton Gordon|Gordon]]
 
* [[Wesley Ashton Gordon|Gordon]]
Line 28: Line 23:
 
|below = <sup>1</sup>The offices of Minister of Immigration and Colonization, Minister of the Interior, Minister of Mines and Superintendent-General of Indian Affairs were abolished and the office of [[Minister of Mines and Resources (Canada)|Minister of Mines and Resources]] was created and proclaimed in force December 1, 1936.
 
|below = <sup>1</sup>The offices of Minister of Immigration and Colonization, Minister of the Interior, Minister of Mines and Superintendent-General of Indian Affairs were abolished and the office of [[Minister of Mines and Resources (Canada)|Minister of Mines and Resources]] was created and proclaimed in force December 1, 1936.
 
}}<noinclude>
 
}}<noinclude>
[[Category:Canadian ministers navigational boxes]]
+
{{collapsible option}}
 +
[[Category:Canadian ministers navigational boxes|Ministers of Immigration and Colonization]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:25, 18 March 2020

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