Difference between revisions of "Template:2017 Football HOF"

From blackwiki
Jump to navigation Jump to search
blackwiki>Spparky
(Create template)
 
blackwiki>Charlesaaronthompson
(I updated the HTML color codes used in the template.)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = 2017 Football HOF
+
| name = 2017 Football HOF
| 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 2017</span>]]
+
| title = [[Pro Football Hall of Fame|<span style="color:#FFFFFF;">Pro Football Hall of Fame</span>]] [[List of Pro Football Hall of Fame inductees|<span style="color:#FFFFFF;">Class of 2017</span>]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
|listclass = hlist
+
| listclass = hlist
| titlestyle = background:#003b7b; color:white; border: 2px solid #C80815;
+
| titlestyle = background:#013369; color:#FFFFFF; border:2px solid #D50A0A;
 
| list1 =
 
| list1 =
 
* [[Morten Andersen]]
 
* [[Morten Andersen]]
Line 13: Line 13:
 
* [[LaDainian Tomlinson]]
 
* [[LaDainian Tomlinson]]
 
* [[Kurt Warner]]
 
* [[Kurt Warner]]
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Pro Football Hall of Fame navigational boxes]]  
 
[[Category:Pro Football Hall of Fame navigational boxes]]  
 
</noinclude>
 
</noinclude>

Revision as of 06:37, 5 February 2017

Initial visibility: currently defaults to autocollapse

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

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