Difference between revisions of "Template:Grand Prix Hassan II tournaments"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(convert to NavboxYears)
imported>Wolbo
m (Corr.)
 
(23 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{NavboxYears
+
{{Navbox
 
|name = Grand Prix Hassan II tournaments
 
|name = Grand Prix Hassan II tournaments
 
|title = [[Grand Prix Hassan II|Casablanca tournaments]]
 
|title = [[Grand Prix Hassan II|Casablanca tournaments]]
|titlestyle = background-color:#CC1111;
+
|state = {{{state|collapsed}}}
 +
|bodystyle = width:auto; min-width:33em
 +
|titlestyle = background-color:#FDF5E6;
 
|list1 =  
 
|list1 =  
{{NavboxYears|Grand Prix Hassan II|    |    |    |    |1984|1985|1986|1987|1988|1989}}
+
{{navbox decade list|link=Grand Prix Hassan II|    |    |    |    |1984|1985|1986|1987|1988|1989}}
{{NavboxYears|Grand Prix Hassan II|1990|NH |1992|1993|1994|1995|1996|1997|1998|1999}}
+
{{navbox decade list|link=Grand Prix Hassan II|[[1990 Casablanca Open|1990]]| NH |1992|1993|1994|1995|1996|1997|1998|1999}}
{{NavboxYears|Grand Prix Hassan II|2000|2001|2002|2003|2004|2005|2006|2007|2008|   }}
+
{{navbox decade list|link=Grand Prix Hassan II|2000|2001|2002|2003|2004|2005|2006|2007|2008|2009}}
 +
{{navbox decade list|link=Grand Prix Hassan II|2010|2011|2012|2013|2014|2015|2016|2017|2018|2019}}
 
}}<noinclude>
 
}}<noinclude>
[[Category:ATP Tour tournaments navbox templates|{{PAGENAME}}]]
+
{{collapsible option}}
 
+
[[Category:ATP Tour tournaments navigational boxes]]
[[fr:Modèle:Grand-Prix Hassan II (ATP)]]
+
[[Category:Morocco tennis templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23:58, 3 January 2020

Initial visibility: currently defaults to autocollapse

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

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