Difference between revisions of "Template:Calgary Flames seasons"

From blackwiki
Jump to navigation Jump to search
imported>Jmj713
Line 6: Line 6:
 
| titlestyle= background:#FFFFFF;border-top:#E03A3E 5px solid;border-bottom:#FFC758 5px solid;
 
| titlestyle= background:#FFFFFF;border-top:#E03A3E 5px solid;border-bottom:#FFC758 5px solid;
 
| groupstyle= background:#FFFFFF;border:#FFC758 2px solid;
 
| groupstyle= background:#FFFFFF;border:#FFC758 2px solid;
|belowstyle= background:#FFFFFF;border:#E03A3E 2px solid;
+
| belowstyle = background:#FFFFFF;border:#FFC758 2px solid
  
 
|group1= Pre-1980
 
|group1= Pre-1980
Line 57: Line 57:
 
* [[2013–14 Calgary Flames season|2013–14]]
 
* [[2013–14 Calgary Flames season|2013–14]]
  
|below= Highlighted seasons indicate [[Stanley Cup]] championship
+
| below = {{#ifeq:{{PAGENAME}}|Calgary||[[File:{{Portal/Images/Calgary}}|30px]] '''[[Portal:Calgary|The Calgary portal]]'''}}
 +
Highlighted seasons indicate [[Stanley Cup]] championship
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 16:21, 29 August 2013

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.