Difference between revisions of "Template:CA-Ministers of National Revenue"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>Good Olfactory
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Navbox  
+
{{Navbox Canada
|name = CA-Ministers of National Revenue
+
| name     = CA-Ministers of National Revenue
|state = <includeonly>{{{state|collapsed}}}</includeonly>
+
| title    = Ministers of National Revenue
|titlestyle = color:black; background-color:white;
+
| leaf      = yes
|title = <span style="vertical-align:1px;">[[Image:Maple_Leaf_(from_roundel).png|20x20px]]</span>  <font color=#00006E>'''Ministers of National Revenue'''</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;
 
  
|group1 =<font color=#00006E> Ministers of Customs and Inland Revenue</font>(1918-1921)
+
| group1 = Ministers of Customs and Inland Revenue (1918–21)
|list1  =
+
| list1  =
 
* [[Arthur Sifton|Sifton]]
 
* [[Arthur Sifton|Sifton]]
 
* [[John Dowsley Reid|Reid]] (acting)
 
* [[John Dowsley Reid|Reid]] (acting)
 
* [[Martin Burrell|Burrell]]
 
* [[Martin Burrell|Burrell]]
 
* [[Rupert Wilson Wigmore|Wigmore]]
 
* [[Rupert Wilson Wigmore|Wigmore]]
|group2 = <font color=#00006E>Ministers of Customs and Excise</font> (1921-1927)
+
| group2 = Ministers of Customs and Excise (1921–27)
|list2  =
+
| list2  =
 
* [[Rupert Wilson Wigmore|Wigmore]]
 
* [[Rupert Wilson Wigmore|Wigmore]]
 
* [[John Babington Macaulay Baxter|Baxter]]
 
* [[John Babington Macaulay Baxter|Baxter]]
Line 25: Line 20:
 
* [[Henry Herbert Stevens|Stevens]]
 
* [[Henry Herbert Stevens|Stevens]]
 
* [[William Daum Euler|Euler]]
 
* [[William Daum Euler|Euler]]
|group3 = <font color=#00006E>[[Minister of National Revenue (Canada)|Ministers of National Revenue]]</font> (1927-present)
+
| group3 = [[Minister of National Revenue (Canada)|Ministers of National Revenue]] (1927–present)
|list3  =
+
| list3  =
 
* [[William Daum Euler|Euler]]
 
* [[William Daum Euler|Euler]]
 
* [[Edmond Baird Ryckman|Ryckman]]
 
* [[Edmond Baird Ryckman|Ryckman]]
Line 39: Line 34:
 
* [[George Nowlan|Nowlan]]
 
* [[George Nowlan|Nowlan]]
 
* [[Hugh John Flemming|Flemming]]
 
* [[Hugh John Flemming|Flemming]]
* [[Jack Garland|Garland]]
+
* [[Jack Garland (Canadian politician)|Garland]]
 
* [[George McIlraith|McIlraith]]
 
* [[George McIlraith|McIlraith]]
 
* [[Edgar Benson|Benson]]
 
* [[Edgar Benson|Benson]]
Line 54: Line 49:
 
* [[Bill Rompkey|Rompkey]]
 
* [[Bill Rompkey|Rompkey]]
 
* [[Pierre Bussières|Bussières]]
 
* [[Pierre Bussières|Bussières]]
* [[Roy MacLaren|R. MacLaren]]
+
* [[Roy MacLaren (politician)|R. MacLaren]]
 
* [[Perrin Beatty|Beatty]]
 
* [[Perrin Beatty|Beatty]]
 
* [[Elmer MacKay|MacKay]]
 
* [[Elmer MacKay|MacKay]]
Line 71: Line 66:
 
* [[Keith Ashfield|Ashfield]]
 
* [[Keith Ashfield|Ashfield]]
 
* [[Gail Shea|Shea]]
 
* [[Gail Shea|Shea]]
 +
* [[Kerry-Lynne Findlay|Findlay]]
 +
* [[Diane Lebouthillier|Lebouthillier]]
 
}}<noinclude>
 
}}<noinclude>
[[Category:Canadian ministers navigational boxes]]
+
{{collapsible option}}
 +
[[Category:Canadian ministers navigational boxes|Ministers of National Revenue]]
 
</noinclude>
 
</noinclude>

Latest revision as of 01:54, 19 July 2016

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