Difference between revisions of "Template:Arizona Cardinals 2020 draft navbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>DetroitFan7
blackwiki>Charlesaaronthompson
m (I adjusted the spacing in the template.)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name       = Arizona Cardinals 2020 draft navbox
+
| name = Arizona Cardinals 2020 draft navbox
| title     = [[Arizona Cardinals|<span style="{{NFLSecondaryColor|Arizona Cardinals}}">Arizona Cardinals</span>]] [[2020 NFL draft|<span style="{{NFLSecondaryColor|Arizona Cardinals}}">2020 NFL draft</span>]] selections
+
| title = [[Arizona Cardinals|<span style="{{NFLSecondaryColor|Arizona Cardinals}}">Arizona Cardinals</span>]] [[2020 NFL draft|<span style="{{NFLSecondaryColor|Arizona Cardinals}}">2020 NFL draft</span>]] selections
| listclass = hlist
+
| listclass = hlist
| state     = {{{state|autocollapse}}}
+
| state = {{{state|autocollapse}}}
 
| titlestyle = {{NFLPrimaryStyle|Arizona Cardinals|border=2}}
 
| titlestyle = {{NFLPrimaryStyle|Arizona Cardinals|border=2}}
 
| list1 =
 
| list1 =
Line 13: Line 13:
 
* [[Eno Benjamin]]
 
* [[Eno Benjamin]]
 
<noinclude>
 
<noinclude>
| below     = {{Arizona Cardinals Draft template list}}
+
| below = {{Arizona Cardinals Draft template list}}
 
| belowstyle = {{NFLAltPrimaryColor|Arizona Cardinals|year=2020}}
 
| belowstyle = {{NFLAltPrimaryColor|Arizona Cardinals|year=2020}}
 
</noinclude>
 
</noinclude>

Revision as of 20:14, 11 May 2020

Initial visibility: currently defaults to autocollapse

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

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