Difference between revisions of "Template:Los Angeles Dodgers"

From blackwiki
Jump to navigation Jump to search
imported>Spanneraol
imported>B2project
(color taken from team website)
Line 3: Line 3:
 
| title = <font color="white">[[Los Angeles Dodgers]]</font>
 
| title = <font color="white">[[Los Angeles Dodgers]]</font>
 
|listclass = hlist
 
|listclass = hlist
| titlestyle = background:#005596; color:white;
+
| titlestyle = background:#005A9C; color:white;
| groupstyle = background:#005596; color:white; width:9em;
+
| groupstyle = background:#005A9C; color:white; width:9em;
 
| liststyle = width:auto;
 
| liststyle = width:auto;
 
| 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-->
Line 189: Line 189:
 
   |state = collapsed
 
   |state = collapsed
 
   |title=Seasons (133)
 
   |title=Seasons (133)
   |titlestyle = background:#005596; color:white;
+
   |titlestyle = background:#005A9C; color:white;
   |groupstyle = background:#005596; color:white; width:9em;
+
   |groupstyle = background:#005A9C; color:white; width:9em;
 
   |liststyle = width:auto;
 
   |liststyle = width:auto;
  

Revision as of 19:26, 16 November 2014

Initial visibility: currently defaults to autocollapse

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

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