Difference between revisions of "Template:Atlanta Braves"

From blackwiki
Jump to navigation Jump to search
blackwiki>Charlesaaronthompson
(Changed the official HTML color code for Navy blue to #13274F: http://mlb.mlb.com/mlb/components/events/all_star/y2015/franchise_four/images/club_headers/atl.svg)
Line 3: Line 3:
 
| title      = [[Atlanta Braves|{{white|Atlanta Braves}}]]
 
| title      = [[Atlanta Braves|{{white|Atlanta Braves}}]]
 
| bodyclass  = hlist
 
| bodyclass  = hlist
| titlestyle = background:#0F437C; color:white; border:2px solid #CE1141;
+
| titlestyle = background:#13274F; color:white; border:2px solid #CE1141;
 
| basestyle  = background:#CE1141; color:white;
 
| basestyle  = background:#CE1141; color:white;
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
Line 162: Line 162:
 
   | state      = collapsed
 
   | state      = collapsed
 
   | title      = Seasons (144)
 
   | title      = Seasons (144)
   | titlestyle = background:#0F437C; color:white;
+
   | titlestyle = background:#13274F; color:white;
 
   | groupstyle = background:#CE1141; color:white; width:9em;
 
   | groupstyle = background:#CE1141; color:white; width:9em;
  

Revision as of 06:51, 9 April 2015

Initial visibility: currently defaults to autocollapse

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

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