Difference between revisions of "Template:French Open drawsheets"

From blackwiki
Jump to navigation Jump to search
imported>Itxia
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 3: Line 3:
 
|title = [[French Open|French Open drawsheets]]
 
|title = [[French Open|French Open drawsheets]]
 
|titlestyle = background-color: #FF915F;
 
|titlestyle = background-color: #FF915F;
|state = collapsed
+
|state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|list1 = [[List of French Open men's singles champions|Men's singles]]
 
|list1 = [[List of French Open men's singles champions|Men's singles]]
 
{{NavboxYears|French Open – Men's Singles|    |    |    |    |    |    |    |    |1968|1969}}
 
{{NavboxYears|French Open – Men's Singles|    |    |    |    |    |    |    |    |1968|1969}}
Line 19: Line 19:
 
{{NavboxYears|French Open – Women's Singles|2010|2011|2012|    |    |    |    |    |    |    }}
 
{{NavboxYears|French Open – Women's Singles|2010|2011|2012|    |    |    |    |    |    |    }}
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:French Open navigational boxes|{{PAGENAME}}]]</noinclude>
 
[[Category:French Open navigational boxes|{{PAGENAME}}]]</noinclude>

Revision as of 02:40, 30 January 2013

Template:NavboxYears 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.