Difference between revisions of "Template:Bears2016DraftPicks"

From blackwiki
Jump to navigation Jump to search
imported>Tom Danson
(Created page with '{{Navbox | name = Bears2016DraftPicks | title = <span style="color:white">Chicago Bears</span> 2016 NFL draft|<span style="color:white">2016...')
 
imported>ZappaOMatic
(Keep consistent with other tables)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = Bears2016DraftPicks
+
| name       = Bears2016DraftPicks
| title = [[Chicago Bears|<span style="color:white">Chicago Bears</span>]] [[2016 NFL draft|<span style="color:white">2016 NFL draft</span>]] selections
+
| title     = [[Chicago Bears|<span style="{{NFLSecondaryColor|Chicago Bears}}">Chicago Bears</span>]] [[2016 NFL draft|<span style="{{NFLSecondaryColor|Chicago Bears}}">2016 NFL draft</span>]] selections
| listclass = hlist
+
| state     = {{{state|autocollapse}}}
| state = {{{state|autocollapse}}}
 
 
| titlestyle = {{NFLPrimaryStyle|Chicago Bears|border=2}};
 
| titlestyle = {{NFLPrimaryStyle|Chicago Bears|border=2}};
| list1 =
+
| bodyclass  = hlist
 +
| list1     =
 
* [[Leonard Floyd]]
 
* [[Leonard Floyd]]
 
<noinclude>
 
<noinclude>
 
| below      = {{Chicago Bears Draft template list}}
 
| below      = {{Chicago Bears Draft template list}}
| belowstyle = {{NFLSecondaryColor|Chicago Bears|year=2016}}
+
| belowstyle = {{NFLAltPrimaryColor|Chicago Bears|year=2016}}
 
</noinclude>
 
</noinclude>
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Chicago Bears draft navigational boxes|2016]]
+
[[Category:Chicago Bears draft navigational boxes|2016]]</noinclude>
</noinclude>
 

Revision as of 01:24, 29 April 2016

Initial visibility: currently defaults to autocollapse

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

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