Difference between revisions of "Template:Geology of Canada"

From blackwiki
Jump to navigation Jump to search
imported>Woodensuperman
(No external links in navboxes. Portals should match topic exactly.)
imported>Woodensuperman
(Simplify)
 
Line 1: Line 1:
{{Navbox Canada
+
{{Navbox
|name      = Canada topic
+
|name      = Geology of Canada
|title      = {{#if:{{{2|}}}|<!--then:-->[[{{{2}}}]]|<!--else:-->[[{{{1|}}} Geology of Canada]]}} (by [[{{#ifexist:{{str crop|{{{1}}}|2}} by province or territory|{{str crop|{{{1}}}|2}} by province or territory|Provinces and territories of Canada}}|province or territory]])
+
|title      = [[Geology of Canada]]
|leaf      = yes
 
 
|state      = {{{state|autocollapse}}}
 
|state      = {{{state|autocollapse}}}
 
|bodyclass  = hlist
 
|bodyclass  = hlist
|group1    = {{{group1|Provinces}}}
+
 
 +
|group1    = Provinces
 
|list1      =  
 
|list1      =  
* [[{{{1|}}} Geology of Alberta|Alberta]]
+
* [[Geology of Alberta|Alberta]]
* [[{{{1|}}} Geology of British Columbia|British Columbia]]
+
* [[Geology of British Columbia|British Columbia]]
* [[{{{1|}}} Geology of Manitoba|Manitoba]]
+
* [[Geology of Manitoba|Manitoba]]
* [[{{{1|}}} Geology of New Brunswick| New Brunswick]]
+
* [[Geology of New Brunswick| New Brunswick]]
* [[{{{1|}}} Geology of Newfoundland and Labrador|Newfoundland and Labrador]]
+
* [[Geology of Newfoundland and Labrador|Newfoundland and Labrador]]
* [[{{{1|}}} Geology of Nova Scotia|Nova Scotia]]
+
* [[Geology of Nova Scotia|Nova Scotia]]
* [[{{{1|}}} Geology of Ontario|Ontario]]
+
* [[Geology of Ontario|Ontario]]
* [[{{{1|}}} Geology of Prince Edward Island|Prince Edward Island]]
+
* [[Geology of Prince Edward Island|Prince Edward Island]]
* [[{{{1|}}} Geology of Quebec|Quebec]]
+
* [[Geology of Quebec|Quebec]]
* [[{{{1|}}} Geology of Saskatchewan|Saskatchewan]]
+
* [[Geology of Saskatchewan|Saskatchewan]]
  
|group2    = {{#if:{{{exclude-wdc|}}} | | Territories }}
+
|group2    = Territories
|list2      = {{#if:{{{exclude-wdc|}}} | | }}
+
|list2      =  
* [[{{{1|}}} Geology of the Northwest Territories|Northwest Territories]]
+
* [[Geology of the Northwest Territories|Northwest Territories]]
* [[{{{1|}}} Geology of Nunavut|Nunavut]]
+
* [[Geology of Nunavut|Nunavut]]
* [[{{{1|}}} Geology of Yukon|Yukon]]  
+
* [[Geology of Yukon|Yukon]]  
  
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
* '''<code>First parameter</code>''': Prefix for topic in question (e.g. <code>Geography of</code>)
 
* '''<code>Second parameter</code>''': Unlinked title, if different from "''<code>First parameter</code>'' of Canada". (e.g. <code>Canada's Geography</code>)
 
* '''<code>provinces_only</code>''' set as ''<code>provinces_only=true</code>'' to not display the territories.
 
  
 
==See also==
 
==See also==
 
*[[Template:Canada provinces map]]
 
*[[Template:Canada provinces map]]
<!--Categories-->
+
 
[[Category:Canada navigational boxes| ]]
+
[[Category:Canada navigational boxes]]
[[Category:Configurable area-topic templates]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 15:42, 8 May 2019

Initial visibility: currently defaults to autocollapse

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

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

See also