Difference between revisions of "Template:Colorado Rockies"

From blackwiki
Jump to navigation Jump to search
imported>Roxnstuff98
(added 2016 season link)
imported>Joeykai
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Colorado Rockies
 
| name      = Colorado Rockies
| title      = [[Colorado Rockies|<span style="color:#C4CED4;">Colorado Rockies</span>]]
+
| title      = [[Colorado Rockies|<span style="color:#{{#invoke:Baseball color|color|Colorado Rockies|2}};">Colorado Rockies</span>]]
 
| bodyclass  = hlist
 
| bodyclass  = hlist
| titlestyle = background:#000000; color:#C4CED4; border:2px solid #333366;
+
| titlestyle = {{Baseball primary style|Colorado Rockies|border=2}}
| basestyle  = background:#333366; color:#FFFFFF; border:2px solid #000000;
+
| basestyle  = {{Baseball secondary style|Colorado Rockies}}
 
| bodystyle  = width:{{{width|100%}}}; <!--if width not specified, use width of former template-->
 
| bodystyle  = width:{{{width|100%}}}; <!--if width not specified, use width of former template-->
 
| state      = {{{state<includeonly>|autocollapse</includeonly>}}}
 
| state      = {{{state<includeonly>|autocollapse</includeonly>}}}
Line 79: Line 79:
 
| title      = Seasons (24)
 
| title      = Seasons (24)
 
| listclass  = hlist
 
| listclass  = hlist
| titlestyle = background:#000000; color:#C4CED4; border:2px solid #333366;
+
| titlestyle = {{Baseball primary style|Colorado Rockies|border=2}}
| groupstyle = background:#333366; color:#FFFFFF; border:2px solid #000000;width:9em;
+
| basestyle  = {{Baseball secondary style|Colorado Rockies}}
  
 
| group1 = 1990s
 
| group1 = 1990s

Revision as of 04:43, 19 September 2015

Initial visibility: currently defaults to autocollapse

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

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