Difference between revisions of "Template:Buffalo Sabres"

From blackwiki
Jump to navigation Jump to search
imported>Charlesaaronthompson
m (I updated the HTML color codes in the template, per https://assets.nhle.com/logos/nhl/svg/BUF_light.svg)
Line 4: Line 4:
 
| bodyclass = hlist
 
| bodyclass = hlist
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| titlestyle = background:#FFFFFF; border-top:#003087 5px solid; border-bottom:#FCB514 5px solid;
+
| titlestyle = background:#FFFFFF; border-top:#003087 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|#003087|2px}}
 
| belowstyle = background:#FFFFFF; {{box-shadow border|a|#003087|2px}}
  

Revision as of 18:33, 11 August 2020

Initial visibility: currently defaults to autocollapse

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

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