Difference between revisions of "Template:2012 NFL Draft"

From blackwiki
Jump to navigation Jump to search
blackwiki>Bagumba
m (Wikipedia_talk:WikiProject_National_Football_League#Navbox_inside_another_navbox: replaced: {{NFL Draft template list}} → <noinclude>{{NFL Draft template list}}</noinclude> using AWB)
blackwiki>HandsomeFella
(no reason for player articles transcluding this template to link to other years' templates; fix miscaps and compound modifier)
Line 1: Line 1:
 
{{navbox
 
{{navbox
|title = [[2012 NFL Draft|2012 NFL Draft First Round Selections]]
+
|title = [[2012 NFL draft|2012 NFL draft first-round selections]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
Line 37: Line 37:
 
* [[Doug Martin (running back)|Doug Martin]]
 
* [[Doug Martin (running back)|Doug Martin]]
 
* [[David Wilson (American football)|David Wilson]]
 
* [[David Wilson (American football)|David Wilson]]
|below = <noinclude>{{NFL Draft template list}}</noinclude>
+
<noinclude>
 +
|below = {{NFL Draft template list}}
 +
</noinclude>
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:NFL first round draft picks navigational boxes|2012 NFL Draft]]
 
[[Category:NFL first round draft picks navigational boxes|2012 NFL Draft]]
 
</noinclude>
 
</noinclude>

Revision as of 20:46, 14 September 2015

Initial visibility: currently defaults to autocollapse

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

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