Difference between revisions of "Template:2K-Sports-NHL-series"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
blackwiki>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
Line 3: Line 3:
 
|titlestyle = background:#DEDEDE; color:black
 
|titlestyle = background:#DEDEDE; color:black
 
|title = ''[[NHL 2K]]''
 
|title = ''[[NHL 2K]]''
 +
|listclass = hlist
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
| list1 = ''[[NHL 2K]]''{{·}} ''[[NHL 2K|2]]''{{·}} ''[[NHL 2K3|3]]''{{·}} ''[[ESPN NHL Hockey|4]]''{{·}} ''[[ESPN NHL 2K5|5]]''{{·}} ''[[NHL 2K6|6]]''{{·}} ''[[NHL 2K7|7]]''{{·}} ''[[NHL 2K8|8]]''{{·}} ''[[NHL 2K9|9]]''{{·}} ''[[NHL 2K10|10]]''{{·}} ''[[NHL 2K11|11]]''
+
| list1 =
}}
+
* ''[[NHL 2K]]''
<noinclude>
+
* ''[[NHL 2K|2]]''
 +
* ''[[NHL 2K3|3]]''
 +
* ''[[ESPN NHL Hockey|4]]''
 +
* ''[[ESPN NHL 2K5|5]]''
 +
* ''[[NHL 2K6|6]]''
 +
* ''[[NHL 2K7|7]]''
 +
* ''[[NHL 2K8|8]]''
 +
* ''[[NHL 2K9|9]]''
 +
* ''[[NHL 2K10|10]]''
 +
* ''[[NHL 2K11|11]]''
 +
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Ice hockey navigational boxes]]
 
[[Category:Ice hockey navigational boxes]]
 
</noinclude>
 
</noinclude>

Revision as of 06:29, 9 April 2012

Initial visibility: currently defaults to autocollapse

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

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