Difference between revisions of "Template:China Open tournaments"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(convert to NavboxYears)
imported>LH7605
(+ 2019 edition)
 
(27 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{NavboxYears
+
{{Navbox
 
|name = China Open tournaments
 
|name = China Open tournaments
|title = [[China Open (tennis)|China Open tournaments]]
+
|title = [[China Open (tennis)|China Open]]
|titlestyle = background-color:#FF0000;
+
|state = {{{state|autocollapse}}}
 +
|bodystyle = width:auto; min-width:33em
 +
|titlestyle = background-color:#F1DBF1;
 
|list1 =  
 
|list1 =  
{{NavboxYears|China Open (tennis)|    |    |   |1993|1994|1995|1996|1997|1998|1999}}
+
{{navbox decade list|link=Salem Open-Beijing|    |    |     |1993|1994|[[1995 Nokia Open|1995]]|[[1996 Nokia Open|1996]]|[[1997 Nokia Open|1997]]| NH | NH }}
{{NavboxYears|China Open (tennis)|2000|2001|2002|2003|2004|2005|2006|2007|2008|   }}
+
{{navbox decade list|link=China Open (tennis)| NH | NH | NH | NH |2004|2005|2006|2007|2008|2009}}
 +
{{navbox decade list|link=China Open (tennis)|2010|2011|2012|2013|2014|2015|2016|2017|2018|2019}}
 
}}<noinclude>
 
}}<noinclude>
[[Category:ATP Tour tournaments navbox templates|{{PAGENAME}}]]
+
{{collapsible option}}
[[Category:WTA Tour tournaments navbox templates|{{PAGENAME}}]]
+
[[Category:ATP Tour tournaments navigational boxes]]
 +
[[Category:WTA Tour tournaments navigational boxes]]
 +
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:55, 5 October 2019

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.