Difference between revisions of "Template:Conservative Party of Canada"

From blackwiki
Jump to navigation Jump to search
imported>Jack Cox
(Created page with '{{navbox |name = Conservative Party of Canada |title = <font color=white>Conservative Party of Canada</font> |state = {{{state|autocollapse}}} |listclass...')
 
imported>WOSlinker
(tidy style for better HTML5 compatibility)
Line 1: Line 1:
 
{{navbox
 
{{navbox
 
|name  = Conservative Party of Canada
 
|name  = Conservative Party of Canada
|title  = <font color=white>[[Conservative Party of Canada]]</font>
+
|title  = [[Conservative Party of Canada|<span style="color:white;">Conservative Party of Canada</span>]]
 
|state  = {{{state|autocollapse}}}
 
|state  = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
Line 20: Line 20:
  
 
}}
 
}}
|group3 = <font color=white>[[Conservative Party of Canada leadership elections|Leadership elections]]</font>
+
|group3 = [[Conservative Party of Canada leadership elections|<span style="color:white;">Leadership elections</span>]]
 
|list3 =
 
|list3 =
 
* [[Conservative Party of Canada leadership election, 2004|2004]]
 
* [[Conservative Party of Canada leadership election, 2004|2004]]
Line 32: Line 32:
 
* [[Conservative Party of Canada candidates, 2015 Canadian federal election|2015]]
 
* [[Conservative Party of Canada candidates, 2015 Canadian federal election|2015]]
  
|group5 = <font color=white>[[History of the Conservative Party of Canada|Predecessors]]</font>
+
|group5 = [[History of the Conservative Party of Canada|<span style="color:white;">Predecessors</span>]]
 
|list5 =
 
|list5 =
 
* [[History of the Conservative Party of Canada|History]]
 
* [[History of the Conservative Party of Canada|History]]

Revision as of 20:58, 22 April 2015

Initial visibility: currently defaults to autocollapse

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

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