Difference between revisions of "Template:Geneva Open tournaments"

From blackwiki
Jump to navigation Jump to search
imported>03md
(Created page with '{{NavboxYears |name = Geneva Open tournaments |title = Geneva Open |titlestyle = background-color:#e32636; |list1 = {{NavboxYears|Geneva Open|1980|1981|1982|19…')
 
imported>ApprenticeFan
 
(10 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{NavboxYears
+
{{Navbox
 
|name = Geneva Open tournaments
 
|name = Geneva Open tournaments
 
|title = [[Geneva Open]]
 
|title = [[Geneva Open]]
|titlestyle = background-color:#e32636;
+
|state = {{{state|autocollapse}}}
 +
|bodystyle = width:auto; min-width:33em
 +
|titlestyle = background-color:#F0F8FF;
 
|list1 =  
 
|list1 =  
{{NavboxYears|Geneva Open|1980|1981|1982|1983|1984|1985|1986|1987|1988|1989}}
+
{{navbox decade list|link=Geneva Open|1980|1981|1982|1983|1984|1985|1986|1987|1988|1989}}
{{NavboxYears|Geneva Open|1990|1991}}
+
{{navbox decade list|link=Geneva Open|1990|1991|NH|NH|NH|NH|NH|NH|NH|NH}}
 +
{{navbox decade list|link=Geneva Open|NH|NH|NH|NH|NH|NH|NH|NH|NH|NH}}
 +
{{navbox decade list|link=Geneva Open|NH|NH|NH|NH|NH|2015|2016|2017|2018|2019}}
 +
{{navbox decade list|link=Geneva Open|<s>2020</s>}}
 
}}<noinclude>
 
}}<noinclude>
[[Category:ATP Tour tournaments navbox templates|{{PAGENAME}}]]
+
{{collapsible option}}
 +
[[Category:ATP Tour tournaments navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:35, 12 April 2020

Initial visibility: currently defaults to autocollapse

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

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