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

From blackwiki
Jump to navigation Jump to search
imported>117Avenue
imported>Frietjes
m (copyedit)
Line 1: Line 1:
{{Navbox  
+
{{Navbox Canada
|name       = Lists of Prime Ministers of Canada
+
| name     = Lists of Prime Ministers of Canada
| state     = <includeonly>{{{state|collapsed}}}</includeonly>
+
| state     = {{{state<includeonly>|collapsed</includeonly>}}}
|selected    = {{{1|}}}
+
| title     = Lists of [[Prime Minister of Canada|Prime Ministers]] of [[Canada]]
|titlestyle  = color:black; background-color:white;
+
| leaf      = yes
|title       = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).svg|20x20px]]</span>  '''Lists of <font color=#00006E>[[Prime Minister of Canada|Prime Ministers]]</font> of <font color=#00006E>[[Canada]]</font>'''
+
| bodyclass = hlist
|listclass = hlist
 
  
|style      = width:100%;
+
| group1 = Main
|groupstyle  = padding:0.35em 1.0em; line-height:1.1em;background:white;color:black;border: 1px solid #CC0000;
+
| list1  =
|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 = Main
 
|list1  =
 
 
* [[List of Prime Ministers of Canada]]
 
* [[List of Prime Ministers of Canada]]
 
* [[Timeline of Prime Ministers of Canada|Graphical timeline]]
 
* [[Timeline of Prime Ministers of Canada|Graphical 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]]
Line 29: Line 23:
 
* [[List of Prime Ministers of Canada by age|Age]]
 
* [[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 residence|Residence]]
 
* [[List of Prime Ministers of Canada by military service|Military service]]
 
* [[List of Prime Ministers of Canada by military service|Military service]]
Line 41: Line 35:
 
* [[Prime Ministers of Canada in popular culture|Popular culture]]
 
* [[Prime Ministers of Canada in popular culture|Popular culture]]
  
|group4 = Lists of related positions
+
| group4 = Lists of related positions
|list4  =
+
| list4  =
* [[List of Joint Premiers of the Province of Canada|Joint Premiers of the Province of Canada]] ([[List of Joint Premiers of the Province of Canada by time in office|by time in office]])
+
* [[List of Joint Premiers of the Province of Canada|Joint Premiers of the Province of Canada]]
 +
** [[List of Joint Premiers of the Province of Canada by time in office|by time in office]]
 
* [[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 Canadian Leaders of the Opposition|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 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]]
 
* [[List of Canadian political parties by time in office|Political parties by time in office]]
Line 56: Line 51:
 
* [[List of Canadian political families|Political families]]
 
* [[List of Canadian political families|Political families]]
  
|list5style  = padding:0.35em 0; line-height:1.5em;background:white;color:black;border-bottom: 1px solid #CC0000;
+
| below =
 
 
|belowclass = hlist
 
|below=  
 
 
* '''{{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:Canadian politics|Portal]]'''
|belowstyle = color:black; background-color:white;
+
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 15:34, 8 April 2013

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. el:Πρότυπο:Πρωθυπουργοί του Καναδά fr:Modèle:Palette Premier ministre du Canada