Difference between revisions of "Template:2012 ATP World Tour"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
blackwiki>Wolbo
m (Formatting (standard project colors))
Line 5: Line 5:
 
|titlestyle=background:#465945; color:white;
 
|titlestyle=background:#465945; color:white;
 
|belowstyle=background:#465945; color:white;
 
|belowstyle=background:#465945; color:white;
|group1style=background:#e5d1cb;
+
|group1style=background:#f3e6d7;
|group2style=background:#dfe2e9;
+
|group2style=background:#e9e9e9;
|group3style=background:#d0f0c0;
+
|group3style=background:#d4f1c5;
 
|group4style=background:#ffffff;
 
|group4style=background:#ffffff;
|group5style=background:#ECF2FF;
+
|group5style=background:#ecf2ff;
 
|selected={{{1|}}}
 
|selected={{{1|}}}
 
|state= {{{state<includeonly>|collapsed</includeonly>}}}
 
|state= {{{state<includeonly>|collapsed</includeonly>}}}

Revision as of 01:37, 29 August 2015

Initial visibility: currently defaults to autocollapse

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

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