Difference between revisions of "Template:Canadian Player of the Year"

From blackwiki
Jump to navigation Jump to search
imported>SPFCSeasons
imported>Frietjes
(navbox syntax update)
Line 5: Line 5:
 
|listclass = hlist
 
|listclass = hlist
 
|nowrapitems = yes
 
|nowrapitems = yes
|titlestyle = background: red;
+
|basestyle = background: red;color:white;
|groupstyle = background: red;
+
 
<!--
+
|group1 = Men
  help prevent overflow outside of the Navbox
 
-->
 
|group1 = <span style="color:white;">Men</span>
 
 
|list1 =  
 
|list1 =  
 
* 1993: [[Alex Bunbury|Bunbury]]  
 
* 1993: [[Alex Bunbury|Bunbury]]  
Line 37: Line 34:
 
* 2016: [[Atiba Hutchinson|Hutchinson]]  
 
* 2016: [[Atiba Hutchinson|Hutchinson]]  
 
* 2017: [[Atiba Hutchinson|Hutchinson]]  
 
* 2017: [[Atiba Hutchinson|Hutchinson]]  
|group2 = <span style="color:white;">Women</span>
+
|group2 = Women
 
|list2 =  
 
|list2 =  
 
* 1994: [[Charmaine Hooper|Hooper]]  
 
* 1994: [[Charmaine Hooper|Hooper]]  

Revision as of 21:18, 16 January 2018

Initial visibility: currently defaults to autocollapse

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

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