Difference between revisions of "Template:ATP seasons"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
m
Line 1: Line 1:
{{NavboxYears
+
{{Navbox
 
|name = ATP seasons
 
|name = ATP seasons
|title = <span style="color:white;">[[Grand Prix tennis circuit|<span style="color:white;">Grand Prix</span>]] / [[Association of Tennis Professionals|<span style="color:white;">ATP Tour seasons</span>]]</span>
+
|title = [[Grand Prix tennis circuit|<span style="color:white;">Grand Prix</span>]] / [[Association of Tennis Professionals|<span style="color:white;">ATP Tour seasons</span>]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 +
|bodystyle = width:auto; min-width:30em
 
|titlestyle=background:#465945; color:white;
 
|titlestyle=background:#465945; color:white;
 
|list1 =  
 
|list1 =  
{{NavboxYears|Grand Prix (tennis)|1970|1971|1972|1973|1974|1975|1976|1977|1978|1979}}
+
{{Navbox decade list|link=Grand Prix (tennis)|1970|1971|1972|1973|1974|1975|1976|1977|1978|1979}}
{{NavboxYears|Grand Prix (tennis)|1980|1981|1982|1983|1984|1985|1986|1987|1988|1989}}
+
{{Navbox decade list|link=Grand Prix (tennis)|1980|1981|1982|1983|1984|1985|1986|1987|1988|1989}}
{{NavboxYears|ATP Tour|1990|1991|1992|1993|1994|1995|1996|1997|1998|1999}}
+
{{Navbox decade list|link=ATP Tour|1990|1991|1992|1993|1994|1995|1996|1997|1998|1999}}
{{NavboxYears|ATP Tour|2000|2001|2002|2003|2004|2005|2006|2007|2008|[[2009 ATP World Tour|2009]]}}
+
{{Navbox decade list|link=ATP Tour|2000|2001|2002|2003|2004|2005|2006|2007|2008|[[2009 ATP World Tour|2009]]}}
{{NavboxYears|ATP World Tour|2010|2011|2012|2013|2014|2015}}
+
{{Navbox decade list|link=ATP World Tour|2010|2011|2012|2013|2014|2015}}
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:ATP Tour navigational boxes|+ATP seasons]]
 
[[Category:ATP Tour navigational boxes|+ATP seasons]]
 
</noinclude>
 
</noinclude>

Revision as of 13:10, 20 April 2014

Initial visibility: currently defaults to autocollapse

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

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