Difference between revisions of "Template:Bolton Wanderers F.C. Player of the Year"

From blackwiki
Jump to navigation Jump to search
imported>PeeJay
(fixed)
imported>PeeJay
(cleanup)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name      = Bolton Wanderers F.C. Player of the Year
+
| name      = Bolton Wanderers F.C. Player of the Year
|title      = [[Bolton Wanderers F.C. Player of the Year|<span style="color:000033">Bolton Wanderers F.C. &ndash; Player of the Year</span>]]
+
| title      = [[Bolton Wanderers F.C. Player of the Year|<span style="color:cc0000">Bolton Wanderers F.C. &ndash; Player of the Year</span>]]
|basestyle = background:#ffffff;color:#000033;{{box-shadow border|a|#000033|2px}}
+
| basestyle   = background:#ffffff;color:#cc0000;{{box-shadow border|a|#000033|2px}}
|listclass = hlist
+
| listclass   = hlist
|nowrapitems = yes
+
| nowrapitems = yes
|state      = {{{state|autocollapse}}}
+
| state      = {{{state|autocollapse}}}
|list1      =  
+
| list1      =  
 
* 2002: [[Simon Charlton|Charlton]]
 
* 2002: [[Simon Charlton|Charlton]]
 
* 2003: [[Jay-Jay Okocha|Okocha]]
 
* 2003: [[Jay-Jay Okocha|Okocha]]

Revision as of 08:00, 8 April 2020

Initial visibility: currently defaults to autocollapse

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

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