Difference between revisions of "Template:Dallas Cowboys"

From blackwiki
Jump to navigation Jump to search
imported>Spparky
(move seaons to a sub template)
imported>Spparky
(add links to titles)
Line 44: Line 44:
 
   |child
 
   |child
 
   |state = collapsed
 
   |state = collapsed
   |title=Seasons (53)
+
   |title=<font style="color:white;">[[List of Dallas Cowboys seasons|Seasons (53)]]</font>
 
   | titlestyle =  background:#0D254C; color:white; border: 2px solid #c5ced6;
 
   | titlestyle =  background:#0D254C; color:white; border: 2px solid #c5ced6;
 
   | groupstyle = background-color:#c5ced6; color:#0D254C; border: 2px solid #001942;
 
   | groupstyle = background-color:#c5ced6; color:#0D254C; border: 2px solid #001942;

Revision as of 04:06, 29 May 2012

Initial visibility: currently defaults to autocollapse

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

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