Difference between revisions of "Template:Boston Bruins"

From blackwiki
Jump to navigation Jump to search
imported>Sabbatino
(Format)
imported>Charlesaaronthompson
m (I adjusted the HTML color codes in the template, per https://assets.nhle.com/logos/nhl/svg/BOS_light.svg)
 
Line 4: Line 4:
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| titlestyle = background:#FFFFFF; border-top:#111111 5px solid; border-bottom:#FCB514 5px solid;
+
| titlestyle = background:#FFFFFF; border-top:#010101 5px solid; border-bottom:#FFB81C 5px solid;
| groupstyle = background:#FFFFFF; {{box-shadow border|a|#FCB514|2px}}
+
| groupstyle = background:#FFFFFF; {{box-shadow border|a|#FFB81C|2px}}
| abovestyle = background:#FFFFFF; {{box-shadow border|a|#FCB514|2px}}
+
| abovestyle = background:#FFFFFF; {{box-shadow border|a|#FFB81C|2px}}
| belowstyle = background:#FFFFFF; {{box-shadow border|a|#111111|2px}}
+
| belowstyle = background:#FFFFFF; {{box-shadow border|a|#010101|2px}}
  
 
| above =
 
| above =

Latest revision as of 22:43, 4 August 2020

Initial visibility: currently defaults to autocollapse

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

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