Difference between revisions of "Template:China Open tournaments"

From blackwiki
Jump to navigation Jump to search
imported>Nickst
(2013)
imported>Wolbo
m (Updated color (closer to WCAG 2.0 compliance))
Line 3: Line 3:
 
|title = [[China Open (tennis)|China Open]]
 
|title = [[China Open (tennis)|China Open]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
|titlestyle = background-color:#D8BFD8;
+
|titlestyle = background-color:#F1DBF1;
 
|list1 =  
 
|list1 =  
 
{{NavboxYears|Salem Open-Beijing|    |    |    |1993|1994|[[1995 Nokia Open|1995]]|[[1996 Nokia Open|1996]]|[[1997 Nokia Open|1997]]| NH | NH }}
 
{{NavboxYears|Salem Open-Beijing|    |    |    |1993|1994|[[1995 Nokia Open|1995]]|[[1996 Nokia Open|1996]]|[[1997 Nokia Open|1997]]| NH | NH }}

Revision as of 07:59, 4 October 2013

Template:NavboxYears Initial visibility: currently defaults to autocollapse

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

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