Difference between revisions of "Template:2004 Football HOF"

From blackwiki
Jump to navigation Jump to search
blackwiki>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
m (7 revisions imported)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name  = 2004 Football HOF
 
| name  = 2004 Football HOF
| title = [[Pro Football Hall of Fame|<font color="white">Pro Football Hall of Fame</font>]] [[List of Pro Football Hall of Fame inductees|<font color="white">Class of 2004</font>]]
+
| title = [[Pro Football Hall of Fame|<span style="color:white;">Pro Football Hall of Fame</span>]] [[List of Pro Football Hall of Fame inductees|<span style="color:white;">Class of 2004</span>]]
 +
| state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
| titlestyle = background:#003b7b; color:white; border: 2px solid #C80815;
+
| titlestyle = {{NFLPrimaryStyle|NFL|border=2}};
 
| list1 =
 
| list1 =
 
* [[Bob Brown (offensive lineman)|Bob Brown]]
 
* [[Bob Brown (offensive lineman)|Bob Brown]]
Line 10: Line 11:
 
* [[Barry Sanders]]
 
* [[Barry Sanders]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Pro Football Hall of Fame navigational boxes]]  
 
[[Category:Pro Football Hall of Fame navigational boxes]]  
 
</noinclude>
 
</noinclude>

Latest revision as of 16:05, 4 October 2020

Initial visibility: currently defaults to autocollapse

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

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