Template:Navbox ice hockey
Appearance
![](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
![]() | This template uses Lua: |
This is a wrapper for {{navbox}} (via Module:Navbox ice hockey and Module:Navbox) to facilitate uniform coloring of National Hockey League navigational boxes. The syntax is almost identical to {{navbox}} with one required parameter, |teamname=
. If |teamname=
is set to a a valid NHL team name (as determined by the colors listed in Module:Sports color/ice hockey), the values for |titlestyle=
, |abovestyle=
, |groupstyle=
, and |belowstyle=
are automatically set. In addition, the default bodyclass is set to hlist for horizontal lists.
Example usage
{{navbox ice hockey
| name = {{subst:PAGENAME}}
| teamname = Anaheim Ducks
| title = [[Anaheim Ducks]]<!-- By default this is set to [[{{{teamname}}}]] -->
| state = {{{state|autocollapse}}}
| above =
* Formerly the '''Mighty Ducks of Anaheim'''
* Founded in '''[[1993–94 NHL season|1993]]'''
* Based in '''[[Anaheim, California]]'''
| group1 = Franchise
| list1 = ...
}}