Difference between revisions of "Template:Colorado Rockies"

From blackwiki
Jump to navigation Jump to search
imported>ItGurl90
m
imported>ItGurl90
m
Line 4: Line 4:
 
| bodyclass  = hlist
 
| bodyclass  = hlist
 
| titlestyle = background:black; color:#CACDCD; border:2px solid #333366;
 
| titlestyle = background:black; color:#CACDCD; border:2px solid #333366;
| basestyle  = background:#333366; color:white;
+
| basestyle  = background:#333366; color:white; border:2px solid black;
 
| 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 83: Line 83:
 
| listclass  = hlist
 
| listclass  = hlist
 
| titlestyle = background:black; color:#CACDCD; border:2px solid #333366;
 
| titlestyle = background:black; color:#CACDCD; border:2px solid #333366;
| groupstyle = background:#333366; color:white;width:9em;
+
| groupstyle = background:#333366; color:white; border:2px solid black;width:9em;
  
 
| group1 = 1990s
 
| group1 = 1990s

Revision as of 08:02, 5 April 2013

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.