Difference between revisions of "Template:Green Bay Packers seasons"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>Armchair QB
(+ {{NFLPrimaryStyle}})
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = Green Bay Packers seasons
+
| name       = Green Bay Packers seasons
| title = [[List of Green Bay Packers seasons|<span style=color:white>Green Bay Packers seasons<span/>]]
+
| title     = [[List of Green Bay Packers seasons|<span style=color:white>Green Bay Packers seasons<span/>]]
|listclass = hlist
+
| listclass = hlist
| state = {{{state|autocollapse}}}
+
| state     = {{{state|autocollapse}}}
| titlestyle = background:#213D30; color:white; border:2px solid #FFCC00;
+
| titlestyle = {{NFLPrimaryStyle|Green Bay Packers|border=2}}
 +
 
 
| list1 =
 
| list1 =
 
* [[1919 Green Bay Packers season|1919]]
 
* [[1919 Green Bay Packers season|1919]]
Line 101: Line 102:
 
* [[2012 Green Bay Packers season|2012]]
 
* [[2012 Green Bay Packers season|2012]]
  
|list3 = '''Bold''' indicates NFL Championship winning season
+
| list3 = '''Bold''' indicates NFL Championship winning season
 +
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:National Football League team season templates]]
 
[[Category:National Football League team season templates]]
[[Category:Green Bay Packers templates]]</noinclude>
+
[[Category:Green Bay Packers templates]]
 +
</noinclude>

Revision as of 22:12, 20 May 2013

Initial visibility: currently defaults to autocollapse

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

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