Difference between revisions of "Template:LeafsCoach"

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:#003876;color:#FFFFFF;
+
| titlestyle= background:#FFFFFF; border-top:#002664 5px solid; border-bottom:#002664  5px solid;
|title = <font color="white">[[List of Toronto Maple Leafs head coaches|Toronto Maple Leafs head coaches]]</font>
+
| groupstyle= background:#FFFFFF; border:#002664 2px solid;
 +
|title = [[List of Toronto Maple Leafs head coaches|Toronto Maple Leafs head coaches]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
| name  = LeafsCoach
 
| name  = LeafsCoach
| group1  = <font color="black">[[Toronto Arenas]]</font>
+
| group1  = [[Toronto Arenas]]
 
| list1 =
 
| list1 =
 
* [[Dick Carroll|D. Carroll]]
 
* [[Dick Carroll|D. Carroll]]
| group2 = '''Toronto St. Patricks'''
+
| group2 = [[Toronto St. Patricks]]
 
| list2 =
 
| list2 =
 
* [[Frank Heffernan|Heffernan]]
 
* [[Frank Heffernan|Heffernan]]
Line 17: Line 18:
 
* [[Eddie Powers|Powers]]
 
* [[Eddie Powers|Powers]]
 
* [[Mike Rodden|Rodden]]
 
* [[Mike Rodden|Rodden]]
| group3 = <font color="black">[[Toronto Maple Leafs]]</font>
+
| group3 = [[Toronto Maple Leafs]]
 
| list3 =
 
| list3 =
 
* [[Alex Romeril|Romeril]]
 
* [[Alex Romeril|Romeril]]

Revision as of 05:42, 6 October 2012

Initial visibility: currently defaults to autocollapse

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

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

fr:Modèle:Palette Entraîneur des Maple Leafs de Toronto sl:Predloga:LeafsCoach