Difference between revisions of "Template:FlamesGM"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>B2project
(Updated to match format discussed here)
Line 1: Line 1:
 
{{navbox
 
{{navbox
|titlestyle= background-color:#E13A3E;color:#FFC859;
+
|titlestyle= background:#FFFFFF;border-top:#E13A3E 5px solid;border-bottom:#FFC859 5px solid;
|groupstyle= background-color:black;color:#FFC859;
+
|groupstyle= background:#FFFFFF;border:#FFC859 2px solid;
|title = <font color=#FFC859>[[List of Calgary Flames general managers|Atlanta / Calgary Flames general managers]]</font>
+
|title = [[List of Calgary Flames general managers|Atlanta / Calgary Flames general managers]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|name  = FlamesGM
 
|name  = FlamesGM
|group1 = <font color=#FFC859>[[List of Calgary Flames general managers|Atlanta Flames]]</font>
+
|group1 = [[List of Calgary Flames general managers|Atlanta Flames]]
 
|list1 =
 
|list1 =
 
* [[Cliff Fletcher|Fletcher]]  
 
* [[Cliff Fletcher|Fletcher]]  
|group2 = <font color=#FFC859>[[List of Calgary Flames head coaches|Calgary Flames]]</font>
+
|group2 = [[List of Calgary Flames head coaches|Calgary Flames]]
 
|list2 =
 
|list2 =
 
* [[Cliff Fletcher|Fletcher]]
 
* [[Cliff Fletcher|Fletcher]]

Revision as of 02:59, 6 October 2012

Initial visibility: currently defaults to autocollapse

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

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