Difference between revisions of "Template:Canadian federal political parties"

From blackwiki
Jump to navigation Jump to search
imported>Everyone But You
imported>RA0808
(updating standings)
Line 8: Line 8:
 
| list1 =
 
| list1 =
 
* [[Liberal Party of Canada|Liberal]] (182)
 
* [[Liberal Party of Canada|Liberal]] (182)
* [[Conservative Party of Canada|Conservative]] (97)
+
* [[Conservative Party of Canada|Conservative]] (96)
 
* [[New Democratic Party|New Democratic]] (44)
 
* [[New Democratic Party|New Democratic]] (44)
 
* [[Bloc Québécois]] (10)
 
* [[Bloc Québécois]] (10)
 
* [[Green Party of Canada|Green]] (1)
 
* [[Green Party of Canada|Green]] (1)
 +
* Independent (1)
  
 
| group2 = [[Senate of Canada|Senate]]
 
| group2 = [[Senate of Canada|Senate]]
 
| list2 =
 
| list2 =
* [[Conservative Party of Canada|Conservative]] (42)
+
* Independent (44)
* [[Liberal Party of Canada|Liberal]] (26)
+
* [[Conservative Party of Canada|Conservative]] (40)
* Independent (19)
+
* [[Liberal Party of Canada|Independent Liberal]] (21)
  
 
| group3 = Other [[Elections Canada|recognized]] parties
 
| group3 = Other [[Elections Canada|recognized]] parties

Revision as of 17:36, 4 November 2016

Template:Navbox Canada

Initial visibility: currently defaults to autocollapse

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

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