Difference between revisions of "Template:Giants2007DraftPicks"

From blackwiki
Jump to navigation Jump to search
imported>WikiOriginal-9
imported>HandsomeFella
(no reason for articles on this year's draft picks to link to every other years' template; copyedit)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Giants2007DraftPicks
 
| name      = Giants2007DraftPicks
| titlestyle = color:white; background-color:#192f6b;
+
| titlestyle = {{NFLPrimaryStyle|New York Giants|border=2}}
| title      = [[New York Giants|<span style="color:white">New York Giants</span>]] [[2007 NFL Draft|<span style="color:white">2007 NFL Draft</span>]] selections
+
| title      = [[New York Giants|<span style="color:white">New York Giants</span>]] [[2007 NFL draft|<span style="color:white">2007 NFL draft</span>]] selections
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
 
| listclass  = hlist
 
| listclass  = hlist
Line 14: Line 14:
 
* [[Michael Johnson (safety)|Michael Johnson]]
 
* [[Michael Johnson (safety)|Michael Johnson]]
 
* [[Ahmad Bradshaw]]
 
* [[Ahmad Bradshaw]]
 +
<noinclude>
 
| below      = {{New York Giants Draft template list}}
 
| below      = {{New York Giants Draft template list}}
 
| belowstyle = {{NFLAltPrimaryColor|New York Giants|year=2007}}
 
| belowstyle = {{NFLAltPrimaryColor|New York Giants|year=2007}}
 +
</noinclude>
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:New York Giants draft navigational boxes]]</noinclude>
 
[[Category:New York Giants draft navigational boxes]]</noinclude>

Latest revision as of 18:27, 6 October 2015

Initial visibility: currently defaults to autocollapse

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

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