Difference between revisions of "Template:Cowboys2010DraftPicks"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>DB1729
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
  | name      = Cowboys2010DraftPicks
 
  | name      = Cowboys2010DraftPicks
  | title    = [[Dallas Cowboys|<span style="{{NFLSecondaryColor|Dallas Cowboys}}">Dallas Cowboys</span>]] [[2010 NFL Draft|<span style="{{NFLSecondaryColor|Dallas Cowboys}}">2010 NFL Draft</span>]] selections
+
  | title    = [[Dallas Cowboys|<span style="{{NFLSecondaryColor|Dallas Cowboys}}">Dallas Cowboys</span>]] [[2010 NFL draft|<span style="{{NFLSecondaryColor|Dallas Cowboys}}">2010 NFL draft</span>]] selections
 +
|listclass = hlist
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
  | titlestyle= {{NFLPrimaryColor|Dallas Cowboys}}; {{NFLSecondaryColor|Dallas Cowboys}};
+
  | titlestyle= {{NFLPrimaryStyle|Dallas Cowboys|border=2}};
  | list1    = [[Dez Bryant]] [[Sean Lee]] [[Akwasi Owusu-Ansah]] [[Sam Young (American football)|Sam Young]] [[Jamar Wall]] [[Sean Lissemore]]
+
  | list1    =
| below      = {{Dallas Cowboys Draft template list}}
+
* [[Dez Bryant]]
| belowstyle = {{NFLAltPrimaryColor|Dallas Cowboys}}; width:100%;
+
* [[Sean Lee]]
}}
+
* [[Akwasi Owusu-Ansah]]
 +
* [[Sam Young (American football)|Sam Young]]
 +
* [[Jamar Wall]]
 +
* [[Sean Lissemore]]
 +
* [[Josh Brent]] (supp.)
 
<noinclude>
 
<noinclude>
 +
| below      = {{Dallas Cowboys Draft template list}}
 +
| belowstyle = {{NFLAltPrimaryColor|Dallas Cowboys|year=2010}}
 +
</noinclude>
 +
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:Dallas Cowboys draft navigational boxes|{{PAGENAME}}]][[fr:Modèle:Palette 2010 Cowboys Draft]]
+
[[Category:Dallas Cowboys draft navigational boxes|2010]]</noinclude>
</noinclude>
 

Latest revision as of 03:24, 1 July 2020

Initial visibility: currently defaults to autocollapse

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

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