Difference between revisions of "Template:Giants2006DraftPicks"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
m (wikify)
imported>HandsomeFella
(no reason for articles on this year's draft picks to link to every other years' template; copyedit)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Giants2006DraftPicks
 
| name      = Giants2006DraftPicks
| 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>]] [[2006 NFL Draft|<span style="color:white">2006 NFL Draft</span>]] selections
+
| title      = [[New York Giants|<span style="color:white">New York Giants</span>]] [[2006 NFL draft|<span style="color:white">2006 NFL draft</span>]] selections
| state      = autocollapse
+
| state      = {{{state|autocollapse}}}
 
| listclass  = hlist
 
| listclass  = hlist
 
| list1      =
 
| list1      =
Line 13: Line 13:
 
* [[Charlie Peprah]]
 
* [[Charlie Peprah]]
 
* [[Gerrick McPhearson]]
 
* [[Gerrick McPhearson]]
 
+
<noinclude>
}}<noinclude>[[Category:New York Giants draft navigational boxes]]</noinclude>
+
| below      = {{New York Giants Draft template list}}
 +
| belowstyle = {{NFLAltPrimaryColor|New York Giants|year=2006}}
 +
</noinclude>
 +
}}<noinclude>
 +
{{collapsible option}}
 +
[[Category:New York Giants draft navigational boxes]]</noinclude>

Latest revision as of 18:58, 6 October 2015

Initial visibility: currently defaults to autocollapse

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

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