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

From blackwiki
Jump to navigation Jump to search
(A now ex-NDP and Independent MP turns into another Green MP, just weeks before the next federal election.)
imported>BrownHairedGirl
(Portal:Canadian politics has been deleted, so use a portal which actually exists: Portal:Canada)
Line 61: Line 61:
 
| below =
 
| below =
 
''Italics'' indicate a [[parliamentary group]] that acts as a party in the legislature, but does not contest elections
 
''Italics'' indicate a [[parliamentary group]] that acts as a party in the legislature, but does not contest elections
* [[Portal:Canadian politics]]
+
* [[Portal:Canada]]
 
* [[List of ruling political parties by country|List of political parties]]
 
* [[List of ruling political parties by country|List of political parties]]
 
* [[Politics of Canada]]
 
* [[Politics of Canada]]

Revision as of 16:45, 22 August 2019

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.