Template:Canadian first ministers: Difference between revisions
No edit summary |
|||
(22 intermediate revisions by 16 users not shown) | |||
Line 1: | Line 1: | ||
{{Navbox |
{{Navbox |
||
| bodyclass = hlist |
|||
|name = Canadian |
| name = Canadian first ministers |
||
|state = <includeonly>{{{state|collapsed}}}</includeonly> |
|||
| title = Lists of Canadian [[Premier (Canada)|first minister]]s |
|||
|titlestyle = color:black; background-color:white; |
|||
| leaf=yes |
|||
|title = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).svg|20x20px]]</span> '''Lists of Canadian <font color=black>[[Premier (Canada)|first minister]]</font>s''' |
|||
| state = {{{state|autocollapse}}} |
|||
|style = width:100%; |
|||
| listclass = hlist |
|||
|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 = |
| group1 = Cross-Canada |
||
| list1 = |
|||
⚫ | |||
* [[List of current Canadian first ministers|Current]] |
|||
⚫ | |||
* [[List of female first ministers in Canada|Women]] |
|||
| list2 = '''[[List of current Canadian first ministers|Current]]'''{{·}} '''[[History of Canadian first ministers|History]]'''{{·}} [[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 Asian-Canadian first ministers|Asian-Canadians]] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
| group2 = Federal |
|||
[[Category:Canada political leader templates|{{PAGENAME}}]] |
|||
| list2 = |
|||
* [[List of prime ministers of Canada|Canada]] |
|||
⚫ | |||
⚫ | |||
| list3 = |
|||
* [[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]] |
|||
⚫ | |||
| list4 = |
|||
* [[List of premiers of Yukon|Yukon]] |
|||
⚫ | |||
* [[List of premiers of Nunavut|Nunavut]] |
|||
|below=''' {{Icon|Portal}} [[Portal:Canada]]''' |
|||
⚫ | |||
{{navbox documentation}} |
|||
[[Category:Canada first ministers navigational boxes]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 16:24, 31 August 2023
This template does not display in the mobile view of Wikipedia; it is desktop only. Read the documentation for an explanation. |
This is a navigational template created using {{navbox}}. It can be transcluded on pages by placing {{Canadian first ministers}}
below the standard article appendices.
Initial visibility
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{Canadian first ministers|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Canadian first ministers|state=expanded}}
will show the template expanded, i.e. fully visible.
Templates using the classes class=navbox
({{navbox}}) or class=nomobile
({{sidebar}}) are not displayed on the mobile web site of English Wikipedia. Mobile page views account for approximately 68% of all page views (90-day average as of September 2024[update]). Briefly, these templates are not included because 1) they are not well designed for mobile, and 2) they significantly increase page sizes—bad for mobile downloads—in a way that is not useful for the mobile use case. You can review/watch phab:T124168 for further discussion.
TemplateData
A navigational box that can be placed at the bottom of articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
State | state | The initial visibility of the navbox
| String | suggested |
Template transclusions
Transclusion maintenance |
---|
Check completeness of transclusions |