Template:Navbox ice hockey
Appearance
Template documentation
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 = ...
}}