Difference between revisions of "Template:Canada macroriding"

From blackwiki
Jump to navigation Jump to search
imported>117Avenue
(cat sort)
imported>Zzuuzz
m (Reverted edits by 60.121.140.83 (talk) to last version by Freddiem)
 
(4 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
| name      = Canada macroriding
 
| name      = Canada macroriding
 
| title    = [[Elections in Canada|Canadian federal election results by region]]
 
| title    = [[Elections in Canada|Canadian federal election results by region]]
 +
| state    = {{{state|autocollapse}}}
 
| leaf      = yes
 
| leaf      = yes
 
| listclass = hlist
 
| listclass = hlist
Line 7: Line 8:
 
| group1 = [[Western Canada]]
 
| group1 = [[Western Canada]]
 
| list1  =
 
| list1  =
* [[Canadian federal election results in Vancouver Island|Vancouver Island]]
+
* [[Canadian federal election results on Vancouver Island|Vancouver Island]]
 
* [[Canadian federal election results in Greater Vancouver and the Sunshine Coast|Greater Vancouver and the Sunshine Coast]]
 
* [[Canadian federal election results in Greater Vancouver and the Sunshine Coast|Greater Vancouver and the Sunshine Coast]]
 
* [[Canadian federal election results in the Fraser Valley|Fraser Valley]]
 
* [[Canadian federal election results in the Fraser Valley|Fraser Valley]]
Line 56: Line 57:
 
| list5  =
 
| list5  =
 
* [[Yukon (electoral district)|Yukon]]
 
* [[Yukon (electoral district)|Yukon]]
* [[Western Arctic|Northwest Territories]]
+
* [[Northwest Territories (electoral district)|Northwest Territories]]
 
* [[Nunavut (electoral district)|Nunavut]]
 
* [[Nunavut (electoral district)|Nunavut]]
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Canada federal politics and government navigational boxes|Riding]]
 
[[Category:Canada federal politics and government navigational boxes|Riding]]
 
</noinclude>
 
</noinclude>

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