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

From blackwiki
Jump to navigation Jump to search
imported>Jenks24
(use listclass = hlist in navbox as per WP:HLIST)
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Navbox  
+
{{Navbox Canada
|name = CA-Ministers of Defence
+
| name     = CA-Ministers of Defence
|state = <includeonly>{{{state|collapsed}}}</includeonly>
+
| state     = {{{state<includeonly>|collapsed</includeonly>}}}
|titlestyle = color:black; background-color:white;
+
| title     = [[Minister of National Defence (Canada)|Ministers of Defence]]
|title = <span style="vertical-align:1px;">[[Image:Maple_Leaf_(from_roundel).png|20x20px]]</span>&nbsp;&nbsp;'''<font color=#00006E>[[Minister of National Defence (Canada)|Ministers of Defence]]</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;
 
  
|group1 = <font color=#00006E>[[Minister of Militia and Defence (Canada)|Ministers of Militia and Defence]]</font> (1867–1923)
+
| group1 = [[Minister of Militia and Defence (Canada)|Ministers of Militia and Defence]] (1867–1923)
|list1 =
+
| list1 =
 
* [[George-Étienne Cartier|Cartier]]
 
* [[George-Étienne Cartier|Cartier]]
 
* [[Hector-Louis Langevin|Langevin]] (acting)
 
* [[Hector-Louis Langevin|Langevin]] (acting)
Line 19: Line 15:
 
* [[Alfred Gilpin Jones|Jones]]
 
* [[Alfred Gilpin Jones|Jones]]
 
* [[Louis-Rodrigue Masson|Masson]]
 
* [[Louis-Rodrigue Masson|Masson]]
* [[Alexander Campbell (Canadian politician)|Campbell]]
+
* [[Alexander Campbell (Canadian senator)|Campbell]]
 
* [[Adolphe-Philippe Caron|Caron]]
 
* [[Adolphe-Philippe Caron|Caron]]
 
* [[Mackenzie Bowell|Bowell]]
 
* [[Mackenzie Bowell|Bowell]]
Line 35: Line 31:
 
* [[George Perry Graham|G. Graham]]
 
* [[George Perry Graham|G. Graham]]
  
|group2 = <font color=#00006E>[[Minister of National Defence (Canada)|Ministers of National Defence]]</font> (1923–)
+
| group2 = [[Minister of National Defence (Canada)|Ministers of National Defence]] (1923–)
|list2  =
+
| list2  =
 
* [[George Perry Graham|G. Graham]]
 
* [[George Perry Graham|G. Graham]]
 
* [[Edward Mortimer Macdonald|E. Macdonald]]
 
* [[Edward Mortimer Macdonald|E. Macdonald]]
Line 83: Line 79:
 
* [[Gordon O'Connor|O'Connor]]
 
* [[Gordon O'Connor|O'Connor]]
 
* [[Peter MacKay|MacKay]]
 
* [[Peter MacKay|MacKay]]
 +
* [[Rob Nicholson|Nicholson]]
 +
* [[Jason Kenney|Kenney]]
 +
* [[Harjit Sajjan|Sajjan]]
  
|group3 = Associate Ministers of National Defence (1953–2006)
+
| group3 = Associate Ministers of National Defence (1953–2013, 2015–)
|list3  =
+
| list3  =
 
* [[Charles Gavan Power|Power]]
 
* [[Charles Gavan Power|Power]]
 
* [[Ralph Campney|Campney]]
 
* [[Ralph Campney|Campney]]
Line 97: Line 96:
 
* [[Albina Guarnieri|Guarnieri]]
 
* [[Albina Guarnieri|Guarnieri]]
 
* [[Mauril Bélanger|Bélanger]]
 
* [[Mauril Bélanger|Bélanger]]
 +
* [[Julian Fantino|Fantino]]
 +
* [[Bernard Valcourt|Valcourt]]
 +
* [[Kerry-Lynne Findlay|Findlay]]
 +
* [[Julian Fantino|Fantino]]
 +
* [[Kent Hehr|Hehr]]
 +
* [[Seamus O'Regan|O'Regan]]
 +
* [[Jody Wilson-Raybould|Wilson-Raybould]]
 +
* [[Harjit Sajjan|Sajjan]] (acting)
 +
* [[Lawrence MacAulay|MacAulay]]
  
|group4 = Ministers of the Naval Service (1910–1922)
+
| group4 = Ministers of the Naval Service (1910–22)
|list4  =
+
| list4  =
 
* [[Louis-Philippe Brodeur|Brodeur]]
 
* [[Louis-Philippe Brodeur|Brodeur]]
 
* [[Rodolphe Lemieux|Lemieux]]
 
* [[Rodolphe Lemieux|Lemieux]]
Line 106: Line 114:
 
* [[George Perry Graham|G. Graham]]
 
* [[George Perry Graham|G. Graham]]
  
|group5 = World War I
+
| group5 = World War I
|list5  =
+
| list5  =
* '''Ministers of the Overseas Military Forces (1916–1920):''' [[George Halsey Perley|Perley]]
+
;Ministers of the Overseas Military Forces (1916–20)
* [[Albert Edward Kemp|Kemp]]
+
: [[George Halsey Perley|Perley]]
 +
: [[Albert Edward Kemp|Kemp]]
  
|group6 = World War II
+
| group6 = World War II
|list6 =  
+
| list6 =
* '''[[Minister of National Defence for Air (Canada)|Ministers of National Defence for Air]] (1940–1946):''' [[Charles Gavan Power|Power]]
+
;[[Minister of National Defence for Air (Canada)|Ministers of National Defence for Air]] (1940–46)
* [[Angus Lewis Macdonald|Macdonald]] (acting)
+
: [[Charles Gavan Power|Power]]
* [[Colin W. G. Gibson|Gibson]]
+
: [[Angus Lewis Macdonald|Macdonald]] (acting)
 +
: [[Colin W. G. Gibson|Gibson]]
  
* '''[[Minister of National Defence for Naval Services (Canada)|Ministers of National Defence for Naval Services]] (1940–1946):''' [[Angus Lewis Macdonald|Macdonald]]
+
;[[Minister of National Defence for Naval Services (Canada)|Ministers of National Defence for Naval Services]] (1940–46)
* [[Douglas Abbott|Abbott]]
+
: [[Angus Lewis Macdonald|Macdonald]]
 +
: [[Douglas Abbott|Abbott]]
  
* '''Ministers of National War Services (1940–1948):''' [[James Garfield Gardiner|Gardiner]]
+
;Ministers of National War Services (1940–48)
* [[Joseph Thorarinn Thorson|Thorson]]
+
: [[James Garfield Gardiner|Gardiner]]
* [[Léo Richer Laflèche|Laflèche]]
+
: [[Joseph Thorarinn Thorson|Thorson]]
* [[James Joseph McCann|McCann]]
+
: [[Léo Richer Laflèche|Laflèche]]
 +
: [[James Joseph McCann|McCann]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Canadian ministers navigational boxes]]
 
[[Category:Canadian ministers navigational boxes]]
 
</noinclude>
 
</noinclude>

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