Difference between revisions of "Template:CapitalsCoach"

From blackwiki
Jump to navigation Jump to search
imported>Jack Cox
imported>B2project
(Updated to match format discussed here)
Line 1: Line 1:
 
{{navbox
 
{{navbox
 
| name  = CapitalsCoach
 
| name  = CapitalsCoach
| title = <font color=#FFFFFF>[[List of Washington Capitals head coaches|Washington Capitals head coaches]]</font>
+
| title = [[List of Washington Capitals head coaches|Washington Capitals head coaches]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|titlestyle = background:#e51937; color:white; border: 2px solid #002d62;
+
| titlestyle = background:#FFFFFF; border-top:#CF142B 5px solid; border-bottom:#003453 5px solid;
 
| list1  =
 
| list1  =
 
* [[Jim Anderson (ice hockey)|Anderson]]
 
* [[Jim Anderson (ice hockey)|Anderson]]

Revision as of 05:50, 6 October 2012

Initial visibility: currently defaults to autocollapse

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

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