Difference between revisions of "Template:Bears1999DraftPicks"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name      = Bears1999DraftPicks
 
| name      = Bears1999DraftPicks
 
| title      = [[Chicago Bears|<span style="{{NFLSecondaryColor|Chicago Bears}}">Chicago Bears</span>]] [[1999 NFL Draft|<span style="{{NFLSecondaryColor|Chicago Bears}}">1999 NFL Draft</span>]] selections
 
| title      = [[Chicago Bears|<span style="{{NFLSecondaryColor|Chicago Bears}}">Chicago Bears</span>]] [[1999 NFL Draft|<span style="{{NFLSecondaryColor|Chicago Bears}}">1999 NFL Draft</span>]] selections
 +
| state = {{{state|autocollapse}}}
 
| titlestyle = {{NFLPrimaryColor|Chicago Bears}}; {{NFLSecondaryColor|Chicago Bears}};
 
| titlestyle = {{NFLPrimaryColor|Chicago Bears}}; {{NFLSecondaryColor|Chicago Bears}};
 
| bodyclass  = hlist
 
| bodyclass  = hlist
Line 21: Line 22:
 
| belowstyle = {{NFLAltPrimaryColor|Chicago Bears}}
 
| belowstyle = {{NFLAltPrimaryColor|Chicago Bears}}
  
}}<noinclude>[[Category:Chicago Bears draft navigational boxes|1999]]</noinclude>
+
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Chicago Bears draft navigational boxes|1999]]</noinclude>

Revision as of 02:29, 10 April 2012

Initial visibility: currently defaults to autocollapse

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

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