Difference between revisions of "Template:Detroit Tigers"

From blackwiki
Jump to navigation Jump to search
imported>Charlesaaronthompson
imported>Charlesaaronthompson
(Updated the official HTML colors: http://mlb.mlb.com/mlb/components/events/all_star/y2015/franchise_four/images/club_headers/det.svg)
Line 4: Line 4:
 
| state      = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state      = {{{state<includeonly>|collapsed</includeonly>}}}
 
| listclass  = hlist
 
| listclass  = hlist
| groupstyle = background:#FF6500; color:#FFFFFF; width:9em;
+
| groupstyle = background:#FF6600; color:#FFFFFF; width:9em;
| titlestyle = background:#0D2D56; color:#FFFFFF;
+
| titlestyle = background:#0C2C56; color:#FFFFFF;
| abovestyle = background:#FF6500; color:#FFFFFF;
+
| abovestyle = background:#FF6600; color:#FFFFFF;
  
 
| above = Based in [[Detroit, Michigan|{{color|white|Detroit, Michigan}}]]
 
| above = Based in [[Detroit, Michigan|{{color|white|Detroit, Michigan}}]]
Line 54: Line 54:
 
| list6      =
 
| list6      =
 
   {{Navbox|subgroup
 
   {{Navbox|subgroup
   | groupstyle = background:#FF6500; color:#FFFFFF; width:9em
+
   | groupstyle = background:#FF6600; color:#FFFFFF; width:9em
  
 
   | group1 = [[National Baseball Hall of Fame and Museum|<font color="white">Hall of Fame</font>]] members
 
   | group1 = [[National Baseball Hall of Fame and Museum|<font color="white">Hall of Fame</font>]] members
Line 146: Line 146:
 
   | state      = collapsed
 
   | state      = collapsed
 
   | title      = Seasons (115)
 
   | title      = Seasons (115)
   | groupstyle = background:#FF6500; color:#FFFFFF; width:9em;
+
   | groupstyle = background:#FF6600; color:#FFFFFF; width:9em;
   | titlestyle = background:#0D2D56; color:#FFFFFF;
+
   | titlestyle = background:#0C2C56; color:#FFFFFF;
  
 
   | group1 = 1900s
 
   | group1 = 1900s

Revision as of 22:30, 11 April 2015

Initial visibility: currently defaults to autocollapse

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

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