Difference between revisions of "Template:Lions2011DraftPicks"

From blackwiki
Jump to navigation Jump to search
imported>Cydebot
m (Robot - Speedily moving category Detroit Lions draft navbox templates to Category:Detroit Lions draft navigational boxes per CFDS.)
imported>Joeykai
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
  | name      = Lions2011DraftPicks
 
  | name      = Lions2011DraftPicks
| title      = [[Detroit Lions|<span style="color:white">Detroit Lions</span>]] [[2011 NFL Draft|<span style="color:white">2011 NFL Draft</span>]] selections
+
| title      = [[Detroit Lions|{{color|white|Detroit Lions}}]] [[2011 NFL Draft|{{color|white|2011 NFL draft}}]] selections
  | titlestyle = background:#005da6; color:white; border:2px solid #C5C7CF;
+
| listclass = hlist
 
+
| state     = {{{state|autocollapse}}}
| list1     = [[Nick Fairley]]{{·}} [[Titus Young]]{{·}} [[Mikel Leshoure]]{{·}} [[Doug Hogue]]{{·}} [[Johnny Culbreath]]
+
| titlestyle = {{NFLPrimaryStyle|Detroit Lions|year=2011|border=2}}
  
 +
| list1      =
 +
* [[Nick Fairley]]
 +
* [[Titus Young]]
 +
* [[Mikel Leshoure]]
 +
* [[Doug Hogue]]
 +
* [[Johnny Culbreath]]
 +
<noinclude>
 +
| below      = {{Detroit Lions Draft template list}}
 +
| belowstyle = {{NFLAltPrimaryColor|Detroit Lions|year=2011}}
 +
</noinclude>
 
}}<noinclude>
 
}}<noinclude>
[[Category:Detroit Lions draft navigational boxes|{{PAGENAME}}]]</noinclude>
+
{{collapsible option}}
 +
[[Category:Detroit Lions draft navigational boxes]]</noinclude>

Latest revision as of 18:31, 26 October 2018

Initial visibility: currently defaults to autocollapse

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

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