Difference between revisions of "Template:French Open drawsheets"

From blackwiki
Jump to navigation Jump to search
imported>OVVL
Line 3: Line 3:
 
| title = [[French Open|<span style="color:#FFFFFF;">French Open singles drawsheets</span>]]
 
| title = [[French Open|<span style="color:#FFFFFF;">French Open singles drawsheets</span>]]
 
| bodyclass = hlist
 
| bodyclass = hlist
| basestyle = background:#05482F; color:#FFFFFF; {{box-shadow border|a|#D35220|2px}};
+
| basestyle = background:#05482F; color:#D35220; {{box-shadow border|a|#05482F|2px}};
 
| evenodd = odd
 
| evenodd = odd
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
  
| group1 = [[List of French Open men's singles champions|<span style="color:#FFFFFF;">Men's singles</span>]]
+
| group1 = [[List of French Open men's singles champions|<div style="text-align:center;"><span style="color:#FFFFFF;">Men's singles</span></div>]]
 
| list1 =
 
| list1 =
 
* [[1968 French Open – Men's Singles|1968]]
 
* [[1968 French Open – Men's Singles|1968]]
Line 63: Line 63:
 
* [[2020 French Open – Men's Singles|2020]]
 
* [[2020 French Open – Men's Singles|2020]]
  
| group2 = [[List of French Open women's singles champions|<span style="color:#FFFFFF;">Women's singles</span>]]
+
| group2 = [[List of French Open women's singles champions|<div style="text-align:center;"><span style="color:#FFFFFF;">Women's singles</span></div>]]
 
| list2 =
 
| list2 =
 
* [[1968 French Open – Women's Singles|1968]]
 
* [[1968 French Open – Women's Singles|1968]]

Revision as of 18:38, 25 September 2020

Initial visibility: currently defaults to autocollapse

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

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