Difference between revisions of "Template:Canadian First Ministers"

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
(use a portal which actually exists)
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Navbox  
+
{{Navbox Canada
|name = Canadian First Ministers
+
| name = Canadian First Ministers
| titlestyle = color: black; background-color: white;
+
| title = Lists of Canadian [[Premier (Canada)|first minister]]s
| title = <span style="vertical-align: 1px;">[[File:Maple Leaf (from roundel).svg|20x20px|link=|alt=]]</span> Lists of Canadian [[Premier (Canada)|first minister]]s
+
| leaf=yes
| style = width: 100%;
+
| state = {{{state|autocollapse}}}
| groupstyle = padding: 0.35em 1.0em; line-height:1.1em; background:#CC0000; color:white; border: 1px solid #CC0000;
+
| listclass = hlist
| 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 = color:black;background-color:white;border-top: 1px solid #CC0000;
 
  
| group1 = Federal
+
| group1 = Cross-Canada
|  list1 = [[List of Prime Ministers of Canada|Canada]] • [[List of Joint Premiers of the Province of Canada|Province of Canada (historical)]]
+
|  list1 =
| group2 = Provincial
+
* [[List of current Canadian first ministers|Current]]
|  list2 = '''[[List of current Canadian first ministers|Current]]'''{{·}} '''[[History of Canadian first ministers|History]]'''{{·}} '''[[List of female premiers in Canada|Women]]'''{{·}} [[List of premiers of British Columbia|British Columbia]] •  [[List of premiers of Alberta|Alberta]] • [[List of premiers of Saskatchewan|Saskatchewan]] • [[List of premiers of Manitoba|Manitoba]] • [[List of premiers of Ontario|Ontario]] • [[List of premiers of Quebec|Quebec]] • [[List of premiers of New Brunswick|New Brunswick]] • [[List of premiers of Prince Edward Island|Prince Edward Island]] • [[List of premiers of Nova Scotia|Nova Scotia]] • [[List of premiers of Newfoundland and Labrador|Newfoundland and Labrador]]
+
* [[List of female first ministers in Canada|Women]]
| group3 = Territorial
+
* [[List of Asian-Canadian first ministers|Asian-Canadians]]
|  list3 = [[List of premiers of Yukon|Yukon]] • [[List of premiers of the Northwest Territories|Northwest Territories]] • [[List of premiers of Nunavut|Nunavut]]
 
  
|below=''' {{Icon|Portal}} [[Portal:Canadian politics]]'''
+
| group2 = Federal
}}<noinclude>
+
| list2 =
 +
* [[List of Prime Ministers of Canada|Canada]]
 +
* [[List of Joint Premiers of the Province of Canada|Province of Canada (historical)]]
  
[[Category:Canada political leader navigational boxes|{{PAGENAME}}]]
+
| group3 = Provincial
 
+
|  list3 =
[[fr:Modèle:Listes de premiers ministres au Canada]]
+
* [[List of premiers of British Columbia|British Columbia]]
 +
* [[List of premiers of Alberta|Alberta]]
 +
* [[List of premiers of Saskatchewan|Saskatchewan]]
 +
* [[List of premiers of Manitoba|Manitoba]]
 +
* [[List of premiers of Ontario|Ontario]]
 +
* [[List of premiers of Quebec|Quebec]]
 +
* [[List of premiers of New Brunswick|New Brunswick]]
 +
* [[List of premiers of Prince Edward Island|Prince Edward Island]]
 +
* [[List of premiers of Nova Scotia|Nova Scotia]]
 +
* [[List of premiers of Newfoundland and Labrador|Newfoundland and Labrador]]
  
 +
| group4 = Territorial
 +
|  list4 =
 +
* [[List of premiers of Yukon|Yukon]]
 +
* [[List of premiers of the Northwest Territories|Northwest Territories]]
 +
* [[List of premiers of Nunavut|Nunavut]]
  
 +
|below=''' {{Icon|Portal}} [[Portal:Canada]]'''
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Canada first ministers navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:44, 22 August 2019

Template:Navbox Canada Initial visibility: currently defaults to autocollapse

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

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