Difference between revisions of "Template:Canada Geography"

From blackwiki
Jump to navigation Jump to search
imported>Esrever
m (lc P)
imported>Moxy
 
(15 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{Navbox  
+
{{Navbox Canada
|name       = Canada Geography
+
| name     = Canada Geography
| state     = <includeonly>{{{state|collapsed}}}</includeonly>
+
| state     = {{{state<includeonly>|collapsed</includeonly>}}}
|selected    = {{{1|}}}
+
| title     = Geography of the [[Provinces and territories of Canada|provinces and territories]] of [[Canada]]
|titlestyle  = color:black; background-color:white;
+
| leaf      = yes
|title       = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).svg|20x20px]]</span>&nbsp;&nbsp;'''Geography of the <font color=#00006E>[[Provinces and territories of Canada|provinces and territories]]</font> of <font color=#00006E>[[Canada]]</font>'''
+
| bodyclass = hlist
|style      = width:100%;
+
 
|groupstyle  = padding:0.35em 1.0em; line-height:1.1em;background:white;color:black;border: 1px solid #CC0000;
+
| group1 = National
|list1style  = padding:0.35em 0; line-height:1.5em;background:white;color:black;border-top: 1px solid #CC0000;
+
| list1  =
|liststyle  = padding:0.35em 0; line-height:1.5em;background:white;color:black;
+
* [[Geography of Canada]]
| group1 = National
+
* [[Centre of Canada]]
| list1  = [[Geography of Canada]] [[Canadian Shield|Canada's landforms]]
+
 
 
| group2 = Provinces
 
| group2 = Provinces
| list2  = [[Geography of British Columbia|British Columbia]] [[Geography of Alberta|Alberta]] [[Geography of Saskatchewan|Saskatchewan]] [[Geography of Manitoba|Manitoba]] [[Geography of Ontario|Ontario]] [[Geography of Quebec|Quebec]] [[Geography of New Brunswick|New Brunswick]] [[Geography of Nova Scotia|Nova Scotia]] [[Geography of Prince Edward Island|Prince&nbsp;Edward&nbsp;Island]] [[Geography of Newfoundland and Labrador|Newfoundland and Labrador]]
+
| list2  =
| group3 = Territories  
+
* [[Geography of British Columbia|British Columbia]]
| list3  = [[Geography of Yukon|Yukon]] [[Geography of Northwest Territories|Northwest Territories]] [[Geography of Nunavut|Nunavut]]
+
* [[Geography of Alberta|Alberta]]
 +
* [[Geography of Saskatchewan|Saskatchewan]]
 +
* [[Geography of Manitoba|Manitoba]]
 +
* [[Geography of Ontario|Ontario]]
 +
* [[Geography of Quebec|Quebec]]
 +
* [[Geography of New Brunswick|New Brunswick]]
 +
* [[Geography of Nova Scotia|Nova Scotia]]
 +
* [[Geography of Prince Edward Island|Prince Edward Island]]
 +
* [[Geography of Newfoundland and Labrador|Newfoundland and Labrador]]
 +
 
 +
| group3 = Territories
 +
| list3  =
 +
* [[Geography of Yukon|Yukon]]
 +
* [[Geography of Northwest Territories|Northwest Territories]]
 +
* [[Geography of Nunavut|Nunavut]]
 +
 
 
| group4 = ''See also''
 
| group4 = ''See also''
| list4  = ''[[List of regions of Canada|Regions of Canada]] [[List of islands of Canada|Islands]] [[List of rivers of Canada|Rivers]] [[List of lakes in Canada|Lakes]] [[List of mountains in Canada|Mountains]] [[National Parks of Canada|National Parks]] [[Volcanism in Canada|Volcanoes]]''
+
| list4  =
|belowstyle  = padding:0.35em 0; line-height:1.5em;background:white;color:black;
+
* ''[[List of regions of Canada|Regions of Canada]]''
|below= ''' {{Icon|Category}} [[:Category:Geography of Canada|Category]] {{·}} {{Icon|Portal}} [[Portal:Geography of Canada|Portal]] {{·}} {{Icon|WikiProject}} [[Wikipedia:WikiProject Geography of Canada|WikiProject]]'''
+
* ''[[List of islands of Canada|Islands]]''
 +
* ''[[List of rivers of Canada|Rivers]]''
 +
* ''[[List of lakes of Canada|Lakes]]''
 +
* ''[[List of mountains of Canada|Mountains]]''
 +
* ''[[National Parks of Canada|National Parks]]''
 +
* ''[[Volcanism in Canada|Volcanoes]]''
 +
 
 +
| below =
 +
* '''{{Icon|Category}} [[:Category:Geography of Canada|Category]]'''
 +
* '''{{portal-inline|Canada}}'''
 
}}<noinclude>
 
}}<noinclude>
[[Category:Canadian navigational boxes|Geography]]
+
{{collapsible option}}
[[pt:Predefinição:Geografia do Canadá]]
+
[[Category:Canada navigational boxes|Geography]]
[[ru:Шаблон:Канадская география]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 15:26, 4 October 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: {{Canada Geography|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Canada Geography|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Canada Geography|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.