Difference between revisions of "Template:Bengals2011DraftPicks"

From blackwiki
Jump to navigation Jump to search
imported>Cydebot
m (Robot - Speedily moving category Cincinnati Bengals draft navbox templates to Category:Cincinnati Bengals draft navigational boxes per CFDS.)
imported>HandsomeFella
(no reason for articles on this year's draft picks to link to every other years' template; copyedit)
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
  | name      = Bengals2011DraftPicks
 
  | name      = Bengals2011DraftPicks
  | title      = [[Cincinnati Bengals|<span style="{{NFLSecondaryColor|Cincinnati Bengals}}">Cincinnati Bengals</span>]] [[2011 NFL Draft|<span style="{{NFLSecondaryColor|Cincinnati Bengals}}">2011 NFL Draft</span>]] selections
+
  | title      = [[Cincinnati Bengals|<span style="color:white;">Cincinnati Bengals</span>]] [[2011 NFL draft|<span style="color:white;">2011 NFL draft</span>]] selections
  | titlestyle = {{NFLPrimaryColor|Cincinnati Bengals}}; {{NFLSecondaryColor|Cincinnati Bengals}}; border:2px solid black;
+
  | listclass = hlist
  | list1      = [[A. J. Green]] [[Andy Dalton (American football)|Andy Dalton]] [[Dontay Moch]] [[Clint Boling]] [[Robert Sands (American football)|Robert Sands]] [[Ryan Whalen]] [[Korey Lindsey]] [[Jay Finley]]
+
| state = {{{state|autocollapse}}}
 +
| titlestyle = background:black; color:white; border:2px solid #FB4F14;
 +
  | list1      =
 +
* [[A. J. Green]]
 +
* [[Andy Dalton]]
 +
* [[Dontay Moch]]
 +
* [[Clint Boling]]
 +
* [[Robert Sands (American football)|Robert Sands]]
 +
* [[Ryan Whalen]]
 +
* [[Korey Lindsey]]
 +
* [[Jay Finley]]
 +
<noinclude>
 +
| below      = {{Cincinnati Bengals Draft template list}}
 +
| belowstyle = {{NFLAltPrimaryColor|Cincinnati Bengals|year=2011}}
 +
</noinclude>
 
}}
 
}}
<noinclude>[[Category:Cincinnati Bengals draft navigational boxes|{{PAGENAME}}]]</noinclude>
+
<noinclude>
 +
{{collapsible option}}
 +
[[Category:Cincinnati Bengals draft navigational boxes|2011]]</noinclude>

Latest revision as of 09:25, 18 September 2015

Initial visibility: currently defaults to autocollapse

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

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