Difference between revisions of "Template:Cowboys2008DraftPicks"

From blackwiki
Jump to navigation Jump to search
imported>Bender235
(implemented NFL team color templates)
imported>DB1729
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
  | name      = Cowboys2008DraftPicks
 
  | name      = Cowboys2008DraftPicks
  | title    = [[Dallas Cowboys|<span style="{{NFLSecondaryColor|Dallas Cowboys}}">Dallas Cowboys</span>]] [[2008 NFL Draft|<span style="{{NFLSecondaryColor|Dallas Cowboys}}">2008 NFL Draft</span>]] selections
+
  | title    = [[Dallas Cowboys|<span style="{{NFLSecondaryColor|Dallas Cowboys}}">Dallas Cowboys</span>]] [[2008 NFL draft|<span style="{{NFLSecondaryColor|Dallas Cowboys}}">2008 NFL draft</span>]] selections
| titlestyle= {{NFLPrimaryColor|Dallas Cowboys}}; {{NFLSecondaryColor|Dallas Cowboys}};
+
|listclass = hlist
  | list1    = [[Felix Jones]] [[Mike Jenkins]] [[Martellus Bennett]] [[Tashard Choice]] [[Orlando Scandrick]] [[Erik Walden]]  
+
| state = {{{state|autocollapse}}}
| below      = {{Dallas Cowboys Draft template list}}
+
| titlestyle= {{NFLPrimaryStyle|Dallas Cowboys|border=2}};
| belowstyle = {{NFLAltPrimaryColor|Dallas Cowboys}}; width:100%;
+
 
}}
+
  | list1    =
<noinclude>[[Category:Dallas Cowboys draft navbox templates|{{PAGENAME}}]]</noinclude>
+
* [[Felix Jones]]
 +
* [[Mike Jenkins (American football)|Mike Jenkins]]
 +
* [[Martellus Bennett]]
 +
* [[Tashard Choice]]
 +
* [[Orlando Scandrick]]
 +
* [[Erik Walden]]
 +
<noinclude>
 +
| below      = {{Dallas Cowboys Draft template list}}
 +
| belowstyle = {{NFLAltPrimaryColor|Dallas Cowboys|year=2008}}
 +
</noinclude>
 +
}}<noinclude>
 +
{{collapsible option}}
 +
 
 +
[[Category:Dallas Cowboys draft navigational boxes|2008]]</noinclude>

Latest revision as of 03:23, 1 July 2020

Initial visibility: currently defaults to autocollapse

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

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