Difference between revisions of "Template:Canada macroriding"

From blackwiki
Jump to navigation Jump to search
imported>Zzuuzz
m (Reverted edits by 60.121.140.83 (talk) to last version by Freddiem)
 
(23 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{Navbox
+
{{Navbox Canada
| name   = Canada macroriding
+
| name     = Canada macroriding
| title = [[Elections in Canada|Canadian federal election results by region]] {{flagicon|Canada}}
+
| title     = [[Elections in Canada|Canadian federal election results by region]]
| group1 = [[Western Canada]]
+
| state    = {{{state|autocollapse}}}
| list1  = [[Canadian federal election results in Vancouver Island|Vancouver Island]] [[Canadian federal election results in Vancouver and the Northern Lower Mainland|Vancouver and N. Lwr. Mainland]] [[Canadian federal election results in the Fraser Valley and Southern Lower Mainland|Fraser Valley and S. Lwr. Mainland]] [[Canadian federal election results in the British Columbia Interior|BC Interior]] [[Canadian federal election results in Calgary|Calgary]] [[Canadian federal election results in Edmonton and environs|Edmonton and Environs]] [[Canadian federal election results in Rural Alberta|Rural Alberta]] [[Canadian federal election results in Northern Saskatchewan|Northern Saskatchewan]] [[Canadian federal election results in Southern Saskatchewan|Southern Saskatchewan]] [[Canadian federal election results in Rural Manitoba|Rural Manitoba]] [[Canadian federal election results in Winnipeg|Winnipeg]]|- bgcolor="#F9F9F9"
+
| leaf      = yes
| group2 = [[Ontario]]
+
| listclass = hlist
| list2  = [[Canadian federal election results in Northern Ontario|Northern Ontario]] [[Canadian federal election results in Southwestern Ontario|Southwestern Ontario]] [[Canadian federal election results in Midwestern Ontario|Midwestern Ontario]] [[Canadian federal election results in Hamilton, Burlington and Niagara|Hamilton, Burlington and Niagara]] [[Canadian federal election results in Brampton, Mississauga and Oakville|Brampton, Mississauga and Oakville]] [[Canadian federal election results in Central Toronto|Central Toronto]] [[Canadian federal election results in Suburban Toronto|Suburban Toronto]] [[Canadian federal election results in Southern Durham and York|Southern Durham and York]] [[Canadian federal election results in Central Ontario|Central Ontario]] [[Canadian federal election results in Eastern Ontario|Eastern Ontario]] [[Canadian federal election results in Ottawa|Ottawa]]
+
 
|- bgcolor="#F9F9F9"
+
| group1 = [[Western Canada]]
| group3 = [[Quebec]]
+
| list1  =
| list3  = [[Canadian federal election results in the Laurentides, Outaouais and Northern Quebec|Laurentides, Outaouais and Northern Quebec]] [[Canadian federal election results in Northern Montreal and Laval|Northern Montreal and Laval]] [[Canadian federal election results in Western Montreal|Western Montreal]] [[Canadian federal election results in Eastern Montreal|Eastern Montreal]] [[Canadian federal election results in Montérégie|Montérégie]] [[Canadian federal election results in the Eastern Townships|Eastern Townships]] [[Canadian federal election results in Central Quebec|Central Quebec]] [[Canadian federal election results in Quebec City|Quebec City]] [[Canadian federal election results in the Côte-Nord and Saguenay|Côte-Nord and Saguenay]] [[Canadian federal election results in Eastern Quebec|Eastern Quebec]]
+
* [[Canadian federal election results on Vancouver Island|Vancouver Island]]
| group4 = [[Maritimes]], [[Atlantic Canada|Atlantic]]
+
* [[Canadian federal election results in Greater Vancouver and the Sunshine Coast|Greater Vancouver and the Sunshine Coast]]
| list4  = [[Canadian federal election results in New Brunswick|New Brunswick]] [[Canadian federal election results in Nova Scotia|Nova Scotia]] [[Canadian federal election results in Prince Edward Island|Prince Edward Island]] [[Canadian federal election results in Newfoundland and Labrador|Newfoundland and Labrador]]  
+
* [[Canadian federal election results in the Fraser Valley|Fraser Valley]]
| group5 = [[Northern Canada]]
+
* [[Canadian federal election results in the British Columbia Interior|BC Interior]]
| list5  = [[Canadian federal election results in Yukon|Yukon]] [[Canadian federal election results in the Northwest Territories |Northwest Territories]] [[Canadian federal election results in Nunavut|Nunavut]]
+
* [[Canadian federal election results in Calgary|Calgary]]
|- bgcolor="#F9F9F9"
+
* [[Canadian federal election results in Edmonton and environs|Edmonton and Environs]]
 +
* [[Canadian federal election results in rural Alberta|Rural Alberta]]
 +
* [[Canadian federal election results in Northern Saskatchewan|Northern Saskatchewan]]
 +
* [[Canadian federal election results in Southern Saskatchewan|Southern Saskatchewan]]
 +
* [[Canadian federal election results in Rural Manitoba|Rural Manitoba]]
 +
* [[Canadian federal election results in Winnipeg|Winnipeg]]
 +
 
 +
| group2 = [[Ontario]]
 +
| list2  =
 +
* [[Canadian federal election results in Northern Ontario|Northern Ontario]]
 +
* [[Canadian federal election results in Southwestern Ontario|Southwestern Ontario]]
 +
* [[Canadian federal election results in Midwestern Ontario|Midwestern Ontario]]
 +
* [[Canadian federal election results in Hamilton, Burlington and Niagara|Hamilton, Burlington and Niagara]]
 +
* [[Canadian federal election results in Brampton, Mississauga and Oakville|Brampton, Mississauga and Oakville]]
 +
* [[Canadian federal election results in Central Toronto|Central Toronto]]
 +
* [[Canadian federal election results in Suburban Toronto|Suburban Toronto]]
 +
* [[Canadian federal election results in Southern Durham and York|Southern Durham and York]]
 +
* [[Canadian federal election results in Central Ontario|Central Ontario]]
 +
* [[Canadian federal election results in Eastern Ontario|Eastern Ontario]]
 +
* [[Canadian federal election results in Ottawa|Ottawa]]
 +
 
 +
| group3 = [[Quebec]]
 +
| list3  =
 +
* [[Canadian federal election results in the Laurentides, Outaouais and Northern Quebec|Laurentides, Outaouais and Northern Quebec]]
 +
* [[Canadian federal election results in Northern Montreal and Laval|Northern Montreal and Laval]]
 +
* [[Canadian federal election results in Western Montreal|Western Montreal]]
 +
* [[Canadian federal election results in Eastern Montreal|Eastern Montreal]]
 +
* [[Canadian federal election results in Montérégie|Montérégie]]
 +
* [[Canadian federal election results in the Eastern Townships|Eastern Townships]]
 +
* [[Canadian federal election results in Central Quebec|Central Quebec]]
 +
* [[Canadian federal election results in Quebec City|Quebec City]]
 +
* [[Canadian federal election results in the Côte-Nord and Saguenay|Côte-Nord and Saguenay]]
 +
* [[Canadian federal election results in Eastern Quebec|Eastern Quebec]]
 +
 
 +
| group4 = [[Atlantic Canada]]
 +
| list4  =
 +
* [[Canadian federal election results in New Brunswick|New Brunswick]]
 +
* [[Canadian federal election results in Nova Scotia|Nova Scotia]]
 +
* [[Canadian federal election results in Prince Edward Island|Prince Edward Island]]
 +
* [[Canadian federal election results in Newfoundland and Labrador|Newfoundland and Labrador]]
 +
 
 +
| group5 = [[Northern Canada]]
 +
| list5  =
 +
* [[Yukon (electoral district)|Yukon]]
 +
* [[Northwest Territories (electoral district)|Northwest Territories]]
 +
* [[Nunavut (electoral district)|Nunavut]]
 +
 
 
}}<noinclude>
 
}}<noinclude>
[[Category:Canadian politics and government navigational boxes|{{PAGENAME}}]]
+
{{collapsible option}}
 +
[[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.