Difference between revisions of "Template:Lists of prime ministers of Canada"

From blackwiki
Jump to navigation Jump to search
(It's ugly, the other countries of the Anglosphere doesn't use this type of Navbox.)
imported>Eddie891
 
(19 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Navbox
+
{{Navbox Canada
| name      = Lists of Prime Ministers of Canada
+
| name      = Lists of prime ministers of Canada
 
| state    = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state    = {{{state<includeonly>|collapsed</includeonly>}}}
| title    = Lists of [[Prime Minister of Canada|Prime Ministers]] of [[Canada]]
+
| title    = Lists of [[Prime Minister of Canada|prime ministers]] of [[Canada]]
 
| leaf      = yes
 
| leaf      = yes
 
| bodyclass = hlist
 
| bodyclass = hlist
Line 8: Line 8:
 
| group1 = Main
 
| group1 = Main
 
| list1  =
 
| list1  =
* [[List of Prime Ministers of Canada]]
+
* [[List of prime ministers of Canada|List of prime ministers ]]
* [[Timeline of Prime Ministers of Canada|Graphical timeline]]
+
* [[Timeline of prime ministers of Canada|Premiership timeline]]
 +
* [[Lifespan timeline of prime ministers of Canada|Lifespan timeline]]
  
 
| group2 = Ranked
 
| group2 = Ranked
 
| list2  =
 
| list2  =
* [[List of Prime Ministers of Canada by time in office|Time in office]]
+
* [[List of prime ministers of Canada by time in office|Time in office]]
* [[List of Prime Ministers of Canada by constituency|Constituency]]
+
* [[List of prime ministers of Canada by constituency|Constituency]]
* [[List of Prime Ministers of Canada by religious affiliation|Religion]]
+
* [[List of prime ministers of Canada by religious affiliation|Religion]]
* [[Historical rankings of Canadian prime ministers|Surveys]]
+
* [[Historical rankings of prime ministers of Canada|Surveys]]
* [[List of Prime Ministers of Canada by place of birth|Place of birth]]
+
* [[List of prime ministers of Canada by date and place of birth|Birth date and place]]
* [[List of Prime Ministers of Canada by longevity|Longevity]]
+
* [[List of prime ministers of Canada by longevity|Longevity]]
* [[List of Prime Ministers of Canada by date of birth|Date of birth]]
+
* [[List of prime ministers of Canada by date of death|Date of death]]
* [[List of Prime Ministers of Canada by date of death|Date of death]]
 
* [[List of Prime Ministers of Canada by age|Age]]
 
  
 
| group3 = Personal
 
| group3 = Personal
 
| list3  =
 
| list3  =
* [[List of Prime Ministers of Canada by residence|Residence]]
+
* [[List of prime ministers of Canada by military service|Military service]]
* [[List of Prime Ministers of Canada by military service|Military service]]
+
* [[List of prime ministers of Canada by academic degrees|Education]]
* [[List of Prime Ministers of Canada by academic degrees|Education]]
+
* [[Prime ministers of Canada in popular culture|Popular culture]]
* [[Spouses of the Prime Ministers of Canada|Spouses]]
+
* [[List of prime ministers of Canada by approval rating|Approval rating]]
* [[Children of the Prime Ministers of Canada|Children]]
+
* [[Spouse of the Prime Minister of Canada|Spouses]]
* [[Parents of the Prime Ministers of Canada|Parents]]
 
* [[List of burial places for Prime Ministers of Canada|Burial places]]
 
* [[List of Prime Ministers of Canada by languages spoken|Language]]
 
* [[Prime Ministers of Canada in popular culture|Popular culture]]
 
  
 
| group4 = Lists of related positions
 
| group4 = Lists of related positions
Line 41: Line 36:
 
* [[List of Governors General of Canada|Governors General of Canada]]
 
* [[List of Governors General of Canada|Governors General of Canada]]
 
* [[List of Canadian monarchs|Canadian monarchs]]
 
* [[List of Canadian monarchs|Canadian monarchs]]
* [[List of Canadian Leaders of the Opposition|Leaders of the Opposition]]
+
* [[List of Leaders of the Official Opposition (Canada)|Leaders of the Opposition]]
  
 
| group5 = Related lists
 
| group5 = Related lists
 
| list5  =
 
| list5  =
* [[List of books about Prime Ministers of Canada|Bibliography]]
+
* [[List of books about prime ministers of Canada|Bibliography]]
 +
* [[List of Canadian ministries|Ministries]]
 
* [[List of Canadian federal parliaments|Federal parliaments]]
 
* [[List of Canadian federal parliaments|Federal parliaments]]
* [[List of Canadian political parties by time in office|Political parties by time in office]]
 
 
* [[Minority governments in Canada|Minority governments]]
 
* [[Minority governments in Canada|Minority governments]]
 
* [[List of Canadian political families|Political families]]
 
* [[List of Canadian political families|Political families]]
Line 54: Line 49:
 
* '''{{Icon|book}} [[Book:Prime Ministers of Canada|Book]]'''
 
* '''{{Icon|book}} [[Book:Prime Ministers of Canada|Book]]'''
 
* '''{{Icon|Category}} [[:Category:Prime Ministers of Canada|Category]]'''
 
* '''{{Icon|Category}} [[:Category:Prime Ministers of Canada|Category]]'''
* '''{{Icon|Portal}} [[Portal:Canadian politics|Portal]]'''
+
* '''{{Icon|Portal}} [[Portal:Canada|Portal]]'''
  
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 21:53, 18 January 2021

Template:Navbox Canada Initial visibility: currently defaults to autocollapse

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

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