Difference between revisions of "Template:Bears2010DraftPicks"

From blackwiki
Jump to navigation Jump to search
imported>DSisyphBot
m (r2.5.1) (Robot: Adding fr:Modèle:Palette 2010 Bears Draft)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name      = Bears2010DraftPicks
 
| name      = Bears2010DraftPicks
 
| title      = [[Chicago Bears|<span style="{{NFLSecondaryColor|Chicago Bears}}">Chicago Bears</span>]] [[2010 NFL Draft|<span style="{{NFLSecondaryColor|Chicago Bears}}">2010 NFL Draft</span>]] selections
 
| title      = [[Chicago Bears|<span style="{{NFLSecondaryColor|Chicago Bears}}">Chicago Bears</span>]] [[2010 NFL Draft|<span style="{{NFLSecondaryColor|Chicago Bears}}">2010 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 13: Line 14:
 
| belowstyle = {{NFLAltPrimaryColor|Chicago Bears}}
 
| belowstyle = {{NFLAltPrimaryColor|Chicago Bears}}
  
}}<noinclude>[[Category:Chicago Bears draft navigational boxes|2010]][[fr:Modèle:Palette 2010 Bears Draft]]
+
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Chicago Bears draft navigational boxes|2010]][[fr:Modèle:Palette 2010 Bears Draft]]
 
</noinclude>
 
</noinclude>

Revision as of 02:33, 10 April 2012

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Bears2010DraftPicks|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Bears2010DraftPicks|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Bears2010DraftPicks|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.fr:Modèle:Palette 2010 Bears Draft