Difference between revisions of "Template:Canada topic"

From blackwiki
Jump to navigation Jump to search
imported>Sawol
m
imported>Danachos
(Updated)
Line 1: Line 1:
 
{{Navbox Canada
 
{{Navbox Canada
 
|name      = Canada topic
 
|name      = Canada topic
|title      = {{#if:{{{2|}}}|<!--then:-->[[{{{2}}}]]|<!--else:-->[[{{{1|}}} 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      = {{#if:{{{2|}}}|<!--then:-->[[{{{2}}}]]|<!--else:-->[[{{{1|}}} 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, territory]] [[Indigenous peoples in Canada|or Indigenous Nations]])
 
|leaf      = yes
 
|leaf      = yes
 
|state      = {{{state|autocollapse}}}
 
|state      = {{{state|autocollapse}}}
Line 23: Line 23:
 
* [[{{{1|}}} Nunavut|Nunavut]]  
 
* [[{{{1|}}} Nunavut|Nunavut]]  
 
* [[{{{1|}}} Yukon|Yukon]]
 
* [[{{{1|}}} Yukon|Yukon]]
 +
 +
|group3    = {{#if:{{{exclude-wdc|}}} | | Indigenous </br> Nations }}
 +
|list3      = {{#if:{{{exclude-wdc|}}} | | }}
 +
* [[{{{1|}}} Grand Council of the Crees|Eeyou-Istchee ᐃᔨᔫ ᐊᔅᒌ / ᐃᓅ ᐊᔅᒌ]]
 +
* [[{{{1|}}} Inuit Tapiriit Kanatami|Inuit Tapiriit Kanatami ᐃᓄᐃᑦ ᑕᐱᕇᑦ ᑲᓇᑕᒥ]]
 +
* [[{{{1|}}} Nisga'a|Nisg̱a'a]]
 +
* [[{{{1|}}} Nunavik|Nunavik ᓄᓇᕕᒃ]]
 +
* [[{{{1|}}} Squamish Nation|Sḵwx̱wú7mesh Úxwumixw]]
 +
* [[{{{1|}}} Council of the Haida Nation|X̱aaydaG̱a Waadlux̱an Naay]]
 +
  
 
|below=  
 
|below=  

Revision as of 18:59, 15 September 2017

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

  • First parameter: Prefix for topic in question (e.g. Geography of)
  • Second parameter: Unlinked title, if different from "First parameter of Canada". (e.g. Canada's Geography)
  • provinces_only set as provinces_only=true to not display the territories.

See also