Difference between revisions of "Template:Kremlin Cup tournaments"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{NavboxYears
+
{{Navbox
 
|name = Kremlin Cup tournaments
 
|name = Kremlin Cup tournaments
|title = [[Kremlin Cup|Moscow tournaments]]
+
|title = [[Kremlin Cup]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 +
|bodystyle = width:auto; min-width:33em
 
|titlestyle = background-color:#AFCD73;
 
|titlestyle = background-color:#AFCD73;
 
|list1 =  
 
|list1 =  
{{NavboxYears|Kremlin Cup|1990|1991|1992|1993|1994|1995|1996|1997|1998|1999}}
+
{{navbox decade list|link=Kremlin Cup|1990|1991|1992|1993|1994|1995|1996|1997|1998|1999}}
{{NavboxYears|Kremlin Cup|2000|2001|2002|2003|2004|2005|2006|2007|2008|2009}}
+
{{navbox decade list|link=Kremlin Cup|2000|2001|2002|2003|2004|2005|2006|2007|2008|2009}}
{{NavboxYears|Kremlin Cup|2010|2011|2012|2013| | | | | | }}
+
{{navbox decade list|link=Kremlin Cup|2010|2011|2012|2013|2014|2015|2016|2017|2018|2019}}
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:ATP Tour tournaments navigational boxes|{{PAGENAME}}]]
+
[[Category:ATP Tour tournaments navigational boxes]]
[[Category:WTA Tour tournaments navigational boxes|{{PAGENAME}}]]
+
[[Category:WTA Tour tournaments navigational boxes]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 12:09, 6 March 2020

Initial visibility: currently defaults to autocollapse

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

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