Template:Ice hockey box/doc

Usage
This template is primary used for ice hockey. For field hockey, use Template:Fieldhockeybox.

This template was originally created in French, at fr:Modèle:Hockeybox, and credit belongs with the creator there.

Sample result:

Blank template
All available parameters are shown here. The template is "blank" for easy copy & paste.

Parameters

 * id: Unique anchor to the match.
 * date: Date of the match. Use Start date (see: WP:ENGVAR for date (df=y) or month (mf=y) first options)
 * time: Time of the match. The local time of the match (local to the stadium it took place in).  Either 24h or 12h formats are acceptable.
 * team1 and team2: Typically team1 is the home team. Both should be wikilined to a team page if there is one.
 * score: the numerical score of the game, with the two respective scores separated by an en dash (–). (The en dash should be used in any circumstance in which a score is displayed.)
 * periods: The score at the end of each of the periods of the game, each separated by a comma.
 * reference: The url of an official score sheet. Examples would include summaries and stat sheets published by leagues such as the NHL or KHL, teams such as the Pittsburgh Penguins or HV71, or governing bodies such as Hockey Canada or the IIHF. Enter the link as a bare url; the template will format the link.
 * goalie1 and goalie2: The names of the goalies for the corresponding teams.
 * progression: The progression of the game score with each score separated by a spaced-forward slash ( / ).
 * goals1 and goals2: The name of the player, piped to only display the last name, to score each goal, separated by spaced forward slashes ( / ) in order to align the name of the player with the corresponding goal listed in the "progression" field. The names of players to assist the goal can be including in parentheses, and the type of goal, such as power play (PP), short-handed (SH), etc. may also be indicated. No player's name should be wikilinked more than once.
 * pnote: An optional field to add a comment below the score progression
 * soshots1 and soshots2: Shots in any overtime shootout. use   and   for goals and misses.
 * sonote: An optional field to add a comment below the shootout progression.
 * official and official2: The name of the game official and second game official, if necessary.
 * linesman and linesman2: The name of the linesmen, if necessary.
 * stadium: The name of the stadium or arena in which the game is played.
 * attendance: Total attendance of the game.
 * penalties1 and penalties2: The total penalty minutes for each respective team.
 * shots1 and shots2: The total number of shots on goal for each respective team.
 * bg: An optional field to change the background color of the entire box score. If you want it grey, don't add the "bg" parameter. If you do, and leave it blank, the background color will be white.
 * note: An optional field to add comment at bottom of template, for example regarding aggregatescore in Champions Hockey League.

Tracking categories
One of the following categories may be added to articles using this template (via Module:Ice hockey box):