Difference between revisions of "Template:Canada Geography"

From blackwiki
Jump to navigation Jump to search
imported>Kevlar67
(remove weird redirect)
imported>Moxy
 
(13 intermediate revisions by 10 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>  '''Geography of the <font color=#00006E>[[Provinces and territories of Canada|provinces and territories]]</font> of <font color=#00006E>[[Canada]]</font>'''
+
| bodyclass = hlist
|listclass = hlist
+
 
|style      = width:100%;
+
| group1 = National
|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 = National
 
 
| list1  =
 
| list1  =
 
* [[Geography of Canada]]
 
* [[Geography of Canada]]
 
* [[Centre of Canada]]
 
* [[Centre of Canada]]
 +
 
| group2 = Provinces
 
| group2 = Provinces
 
| list2  =
 
| list2  =
Line 26: Line 23:
 
* [[Geography of Prince Edward Island|Prince Edward Island]]
 
* [[Geography of Prince Edward Island|Prince Edward Island]]
 
* [[Geography of Newfoundland and Labrador|Newfoundland and Labrador]]
 
* [[Geography of Newfoundland and Labrador|Newfoundland and Labrador]]
| group3 = Territories  
+
 
 +
| group3 = Territories
 
| list3  =
 
| list3  =
 
* [[Geography of Yukon|Yukon]]
 
* [[Geography of Yukon|Yukon]]
 
* [[Geography of Northwest Territories|Northwest Territories]]
 
* [[Geography of Northwest Territories|Northwest Territories]]
 
* [[Geography of Nunavut|Nunavut]]
 
* [[Geography of Nunavut|Nunavut]]
 +
 
| group4 = ''See also''
 
| group4 = ''See also''
 
| list4  =
 
| list4  =
Line 36: Line 35:
 
* ''[[List of islands of Canada|Islands]]''
 
* ''[[List of islands of Canada|Islands]]''
 
* ''[[List of rivers of Canada|Rivers]]''
 
* ''[[List of rivers of Canada|Rivers]]''
* ''[[List of lakes in Canada|Lakes]]''
+
* ''[[List of lakes of Canada|Lakes]]''
* ''[[List of mountains in Canada|Mountains]]''
+
* ''[[List of mountains of Canada|Mountains]]''
 
* ''[[National Parks of Canada|National Parks]]''
 
* ''[[National Parks of Canada|National Parks]]''
 
* ''[[Volcanism in Canada|Volcanoes]]''
 
* ''[[Volcanism in Canada|Volcanoes]]''
|belowstyle  = padding:0.35em 0; line-height:1.5em;background:white;color:black;
+
 
|belowclass = hlist
+
| below =
|below=  
 
 
* '''{{Icon|Category}} [[:Category:Geography of Canada|Category]]'''
 
* '''{{Icon|Category}} [[:Category:Geography of Canada|Category]]'''
* '''{{Icon|Portal}} [[Portal:Geography of Canada|Portal]]'''
+
* '''{{portal-inline|Canada}}'''
* '''{{Icon|WikiProject}} [[Wikipedia:WikiProject Geography of Canada|WikiProject]]'''
 
 
}}<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.