Difference between revisions of "Template:Australian Open men's doubles champions"

From blackwiki
Jump to navigation Jump to search
imported>Flix11
(add)
imported>Charlesaaronthompson
(I adjusted the spacing in the template. I also changed the HTML color code, which was derived from https://ausopen.com/)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Australian Open men's doubles champions
+
| name = Australian Open men's doubles champions
|title = [[List of Australian Open men's doubles champions|Australian Open men's doubles champions]]
+
| title = [[List of Australian Open men's doubles champions|<span style="color:#FFF;">Australian Open men's doubles champions</span>]]
|bodyclass = hlist
+
| bodyclass = hlist
|titlestyle = background:#F9D251;
+
| titlestyle = background:#0091D2; color:#FFF;
|state= {{{state|autocollapse}}}
+
| state = {{{state|autocollapse}}}
 
+
| list1 =
|list1=
 
 
* 1969: [[Rod Laver]] / [[Roy Emerson]]
 
* 1969: [[Rod Laver]] / [[Roy Emerson]]
 
* 1970: [[Bob Lutz (tennis)|Bob Lutz]] / [[Stan Smith]]
 
* 1970: [[Bob Lutz (tennis)|Bob Lutz]] / [[Stan Smith]]
Line 61: Line 60:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
 
[[Category:Australian Open navigational boxes]]
 
[[Category:Australian Open navigational boxes]]
 
</noinclude>
 
</noinclude>

Revision as of 04:55, 16 September 2020

Initial visibility: currently defaults to autocollapse

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

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