Difference between revisions of "Template:Grand Slam champions"

From blackwiki
Jump to navigation Jump to search
imported>ApprenticeFan
imported>OVVL
 
Line 10: Line 10:
  
 
  | group1style = background:#0091D2;
 
  | group1style = background:#0091D2;
  | group2style = background:#05482F; {{box-shadow border|a|#D35220|2px}};
+
  | group2style = background:#D35220; {{box-shadow border|a|#05482F|2px}};
 
  | group3style = background:#006633; {{box-shadow border|a|#54008B|2px}};
 
  | group3style = background:#006633; {{box-shadow border|a|#54008B|2px}};
 
  | group4style = background:#00288C; {{box-shadow border|a|#FFD400|2px}};
 
  | group4style = background:#00288C; {{box-shadow border|a|#FFD400|2px}};

Latest revision as of 21:49, 25 September 2020

Initial visibility: currently defaults to autocollapse

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

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