Difference between revisions of "Template:Edmonton Oilers"

From blackwiki
Jump to navigation Jump to search
imported>117Avenue
m (Reverted edits by Newlife512 (talk) to last version by 198.102.153.1)
imported>B2project
(Updated to match format discussed here)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = Edmonton Oilers
 
| name = Edmonton Oilers
| title = <font color="#E56B1F">[[Edmonton Oilers]]</font>
+
| title = [[Edmonton Oilers]]
 +
| image = [[File:Logo Edmonton Oilers.svg|80px]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| basestyle = background:#003876; color:#FFFFFF;
+
| titlestyle = background:#FFFFFF;border-top:#003876 5px solid;border-bottom:#E56B1F 5px solid;
| groupstyle = background:#E56B1F; color:#FFFFFF;
+
| groupstyle = background:#FFFFFF;border:#E56B1F 2px solid;
 +
| belowstyle = background:#FFFFFF;border:#E56B1F 2px solid;
 
| listclass = hlist
 
| listclass = hlist
  
Line 57: Line 59:
 
* [[CHED (AM)|630 CHED]]
 
* [[CHED (AM)|630 CHED]]
  
| below = {{#ifeq:{{PAGENAME}}|Edmonton||[[File:{{Portal/Images/Edmonton}}|30px]] '''[[Portal:Edmonton|<font color="#E56B1F">The Edmonton portal</font>]]'''}}
+
| below = {{#ifeq:{{PAGENAME}}|Edmonton||[[File:{{Portal/Images/Edmonton}}|30px]] '''[[Portal:Edmonton|The Edmonton portal]]'''}}
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 02:02, 5 October 2012

Initial visibility: currently defaults to autocollapse

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

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