Difference between revisions of "Template:Calgary Flames seasons"

From blackwiki
Jump to navigation Jump to search
imported>Sabbatino
(Update)
imported>Charlesaaronthompson
m (I updated the HTML color codes in the template, per https://cms.nhl.bamgrid.com/images/assets/binary/319279210/binary-file/file.svg)
Line 4: Line 4:
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
| titlestyle = background:#FFFFFF;border-top:#CE1126 5px solid;border-bottom:#F3BC52 5px solid;
+
| titlestyle = background:#FFFFFF;border-top:#CE0E2D 5px solid;border-bottom:#F3BD48 5px solid;
| groupstyle= background:#FFFFFF; {{box-shadow border|a|#F3BC52|2px}}
+
| groupstyle= background:#FFFFFF; {{box-shadow border|a|#F3BD48|2px}}
| belowstyle= background:#FFFFFF; {{box-shadow border|a|#CE1126|2px}}
+
| belowstyle= background:#FFFFFF; {{box-shadow border|a|#CE0E2D|2px}}
  
 
| group1 = Pre-1980
 
| group1 = Pre-1980

Revision as of 20:20, 5 October 2020

Initial visibility: currently defaults to autocollapse

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

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