Difference between revisions of "Template:Bears2010DraftPicks"

From blackwiki
Jump to navigation Jump to search
imported>Moe Epsilon
(Undid revision 464569309 by Moe Epsilon (talk); found error on NFL navbox rather)
imported>HandsomeFella
(no reason for articles on this year's draft picks to link to every other years' template; copyedit)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{NFL navbox
+
{{Navbox
| name     = Bears2010DraftPicks
+
| name       = Bears2010DraftPicks
| title     = [[Chicago Bears|<span style="color:#df6108">Chicago Bears</span>]] [[2010 NFL Draft|<span style="color:#df6108">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
| color    = #03182f
+
| state = {{{state|autocollapse}}}
| fontcolor = #df6108
+
| titlestyle = {{NFLPrimaryStyle|Chicago Bears|border=2}};
  | body     = [[Major Wright]] [[Corey Wootton]] [[Joshua Moore (American football)|Joshua Moore]] [[Dan LeFevour]] [[J'Marcus Webb]]
+
| bodyclass = hlist
|below      = {{Chicago Bears Draft template list}}
+
| list1     =
|belowstyle = background:#df6108; width:100%;
+
* [[Major Wright]]
}}
+
* [[Corey Wootton]]
<noinclude>[[Category:Chicago Bears draft navigational boxes|{{PAGENAME}}]]</noinclude>
+
* [[Joshua Moore (American football)|Joshua Moore]]
 +
* [[Dan LeFevour]]
 +
* [[J'Marcus Webb]]
 +
* [[Harvey Unga]] (supp.)
 +
<noinclude>
 +
| below      = {{Chicago Bears Draft template list}}
 +
| belowstyle = {{NFLAltPrimaryColor|Chicago Bears|year=2010}}
 +
</noinclude>
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:Chicago Bears draft navigational boxes|2010]]</noinclude>

Latest revision as of 19:26, 17 September 2015

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.