Template:NHLPlayoffs

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search


Template documentation[view] [edit] [history] [purge]

Purpose[change source]

This template is primarily designed for use in summarizing individual series in the Stanley Cup Playoffs of the NHL. However, the template is also suitable for other leagues such as the AHL and the ECHL with the use of additional parameters to modify the number of games and assignment of home games for the series.

Parameters[change source]

In the following parameters, the use of the symbol # is meant to connote a game number, which would then reflect the change with regards to application of that parameter.

Colors[change source]

The following parameters are responsible for controlling the colors included in the template.

Parameter Explanation Notes
bg1 Designates the background color for the lines for games 1, 3, 5, 7, and the bottom summary line if the last game is 2, 4, or 6. Default is EEEEEE. Optional
bg2 Designates the background color for the lines for games 2, 4, 6, and the bottom summary line if the last game is 1, 3, 5 or 7. Default is FFFFFF. Optional

Table setup[change source]

The following parameters are responsible for controlling the overall setup of the table such as the number of games included and home teams.

Parameter Explanation Notes
score# The absence of this parameter for a given game will result in the absence of that line for the template.
series The inclusion of this parameter produces a line below the last game for a summary of the series. Optional
home# Designates home advantage to either team1 or team2 for the given game by entering 1 or 2. Optional

Details[change source]

The following parameters are responsible for the content that is communicated about the series and the individual games within the series.

Parameter Explanation Notes
team1 Designates the first team; this is the home team in an NHL series.
team2 Designates the second team; this is the away team in an NHL series.
stadium1 Designates the home stadium for the first team. Optional
stadium2 Designates the home stadium for the second team. Optional
score# Required for the appearance of the given game, can be used for the game's starting time, and later the final score.
date# Displays the date of the given game.
tv# Displays the broadcast information for the given game. It is recommended that only listing national broadcasts in an abbreviated form are used. Superseded when recap# is also used for the given game. Optional
recap# Displays a external recap link when a website is entered. Please omit the http://. This parameter supersedes the tv# parameter, and will replace broadcast information if both parameters are present for a given game. Optional
won# Designates the winner of the given game by setting the team's name in bold when given 1 for team1 or 2 for team2. Also sets score in bold. Optional
ot# Identifies if the given game ended in overtime by placing the ending overtime period to the right of the score. Only enter the number of the overtime period in this case. This will also display the overtime scoring summary with the appropriate title if applicable. For an in progress game, this parameter can be used to indicate current period or time left. Optional
scoring#-1 Displays a condensed scoring summary for team1 in a collapsed summary that displays underneath the game. The use of breaks is suggested to separate individual goals. This parameter supersedes the use of period by period scoring summaries. Optional
scoring#-2 Displays a condensed scoring summary for team2 in a collapsed summary that displays underneath the game. The use of breaks is suggested to separate individual goals. This parameter supersedes the use of period by period scoring summaries. The scoring#-1 parameter must be used for this to display. Optional
#-1-1 Displays scoring by team1 for the first period of the given game. It is required when using any extent of period by period scoring. It is superseded by the condensed summary parameter when both are present for a given game. Optional
#-2-1 Displays scoring by team1 for the second period of the given game. The #-1-1 parameter must be filled for the given game for this to display. Defaults to No Scoring if unused and #-1-1 is present. Optional
#-3-1 Displays scoring by team1 for the third period of the given game. The #-1-1 parameter must be filled for the given game for this to display. Defaults to No Scoring if unused and #-1-1 is present. Optional
#-4-1 Displays scoring by team1 for an overtime period of the given game. The #-1-1 and ot# parameters must be filled for the given game for this to display. Defaults to No Scoring if unused and both #-1-1 and ot# are present. Optional
#-1-2 Displays scoring by team2 for the first period of the given game. The #-1-1 parameter must be filled for the given game for this to display. Defaults to No Scoring if unused and #-1-1 is present. Optional
#-2-2 Displays scoring by team2 for the second period of the given game. The #-1-1 parameter must be filled for the given game for this to display. Defaults to No Scoring if unused and #-1-1 is present. Optional
#-3-2 Displays scoring by team2 for the third period of the given game. The #-1-1 parameter must be filled for the given game for this to display. Defaults to No Scoring if unused and #-1-1 is present. Optional
#-4-2 Displays scoring by team2 for an overtime period of the given game. The #-1-1 and ot# parameters must be filled for the given game for this to display. Defaults to No Scoring if unused and both #-1-1 and ot# are present. Optional
goalie#-1 Displays goalie statistics for team1 for the given game. Either of the scoring summary parameters (scoring#-1 or #-1-1) must be used for this to display. Optional
goalie#-2 Displays goalie statistics for team2 for the given game. Both the goalie#-1 and either of the scoring summary parameters (scoring#-1 or #-1-1) must be used for this to display. Optional

Examples of usage[change source]

The following are useful examples for implementing the template.

Blank[change source]

The following blank version includes all parameters and can be used to copied directly for use.

 {{NHLPlayoffs
  |bg1         = 
  |bg2         = 
  |team1       = 
  |team2       = 
  |stadium1    = 
  |stadium2    = 

  |date1       = 
  |score1      = 
  |tv1         = 
  |home1       = 
  |recap1      = 
  |ot1         = 
  |won1        = 

  | scoring1-1 = 
  | scoring1-2 = 
  | 1-1-1      = 
  | 1-2-1      = 
  | 1-3-1      = 
  | 1-4-1      = 
  | 1-1-2      = 
  | 1-2-2      = 
  | 1-3-2      = 
  | 1-4-2      = 
  | goalie1-1  = 
  | goalie1-2  = 

  |date2       = 
  |score2      = 
  |tv2         = 
  |home2       = 
  |recap2      = 
  |ot2         = 
  |won2        = 

  | scoring2-1 = 
  | scoring2-2 = 
  | 2-1-1      = 
  | 2-2-1      = 
  | 2-3-1      = 
  | 2-4-1      = 
  | 2-1-2      = 
  | 2-2-2      = 
  | 2-3-2      = 
  | 2-4-2      = 
  | goalie2-1  = 
  | goalie2-2  = 

  |date3       = 
  |score3      = 
  |tv3         = 
  |home3       = 
  |recap3      = 
  |ot3         = 
  |won3        = 

  | scoring3-1 = 
  | scoring3-2 = 
  | 3-1-1      = 
  | 3-2-1      = 
  | 3-3-1      = 
  | 3-4-1      = 
  | 3-1-2      = 
  | 3-2-2      = 
  | 3-3-2      = 
  | 3-4-2      = 
  | goalie3-1  = 
  | goalie3-2  = 

  |date4       = 
  |score4      = 
  |tv4         = 
  |home4       = 
  |recap4      = 
  |ot4         = 
  |won4        = 

  | scoring4-1 = 
  | scoring4-2 = 
  | 4-1-1      = 
  | 4-2-1      = 
  | 4-3-1      = 
  | 4-4-1      = 
  | 4-1-2      = 
  | 4-2-2      = 
  | 4-3-2      = 
  | 4-4-2      = 
  | goalie4-1  = 
  | goalie4-2  = 

  |date5       = 
  |score5      = 
  |tv5         = 
  |home5       = 
  |recap5      = 
  |ot5         = 
  |won5        = 

  | scoring5-1 = 
  | scoring5-2 = 
  | 5-1-1      = 
  | 5-2-1      = 
  | 5-3-1      = 
  | 5-4-1      = 
  | 5-1-2      = 
  | 5-2-2      = 
  | 5-3-2      = 
  | 5-4-2      = 
  | goalie5-1  = 
  | goalie5-2  = 

  |date6       = 
  |score6      = 
  |tv6         = 
  |home6       = 
  |recap6      = 
  |ot6         = 
  |won6        = 

  | scoring6-1 = 
  | scoring6-2 = 
  | 6-1-1      = 
  | 6-2-1      = 
  | 6-3-1      = 
  | 6-4-1      = 
  | 6-1-2      = 
  | 6-2-2      = 
  | 6-3-2      = 
  | 6-4-2      = 
  | goalie6-1  = 
  | goalie6-2  = 

  |date7       = 
  |score7      = 
  |tv7         = 
  |home7       = 
  |recap7      = 
  |ot7         = 
  |won7        = 

  | scoring7-1 = 
  | scoring7-2 = 
  | 7-1-1      = 
  | 7-2-1      = 
  | 7-3-1      = 
  | 7-4-1      = 
  | 7-1-2      = 
  | 7-2-2      = 
  | 7-3-2      = 
  | 7-4-2      = 
  | goalie7-1  = 
  | goalie7-2  = 

  |series = 
 }}

Sample code[change source]

The following code is an example of the template at work. The following sample result is derived from this code. For further examples of the template in use, please visit the 2008 Stanley Cup Playoffs page. For nonstandard adaptations of this template, please visit the Kelly Cup Playoffs section of the 2007–08 ECHL season page.

 {{NHLPlayoffs
  |team1       = San Jose Sharks
  |team2       = Calgary Flames
  |stadium1    = [[HP Pavilion at San Jose]]
  |stadium2    = [[Pengrowth Saddledome]]

  |date1       = April 9
  |score1      = 2 – 3
  |tv1         = [[NHL on Versus|Versus]], [[Réseau Info-Sports|RIS]], [[Hockey Night in Canada|CBC]]
  |recap1      = www.nhl.com/nhl/app?service=page&page=Recap&gameNumber=161&season=20072008&gameType=3
  |won1        = 2

  | scoring1-1 = [[Ryane Clowe]] 1 - 06:06
                 <br>[[Ryane Clowe]] 2 - 59:03
  | scoring1-2 = 02:47 - [[Stéphane Yelle|Stephane Yelle]] 1
                 <br>05:17 - ''pp'' - [[Dion Phaneuf]] 1
                 <br>36:21 - [[Stéphane Yelle|Stephane Yelle]] 2
  | goalie1-1  = [[Evgeni Nabokov]] ( 20 saves / 23 shots )
  | goalie1-2  = [[Miikka Kiprusoff]] ( 37 saves / 39 shots )

  |date2       = April 10
  |score2      = 2 – 0
  |tv2         = [[Réseau Info-Sports|RIS]], [[Hockey Night in Canada|CBC]]
  |won2        = 1
  | 2-1-1      = ''No Scoring''
  | 2-2-1      = [[Joe Pavelski]] 1 - 04:56
                 <br>[[Torrey Mitchell]] 1 - ''pp'' - 18:09
  | goalie2-1  = [[Evgeni Nabokov]] ( 21 saves / 21 shots )
  | goalie2-2  = [[Miikka Kiprusoff]] ( 41 saves / 43 shots )

  |date3 = April 13
  |score3 = 4 – 3
  |tv3 = [[NHL on Versus|Versus]], [[Réseau Info-Sports|RIS]], [[Hockey Night in Canada|CBC]]
  |won3 = 2

  | scoring3-1 = 01:31 - ''pp'' - [[Ryane Clowe]] 3
                 <br>03:19 - [[Patrick Marleau]] 1
                 <br>03:33 - [[Douglas Murray (ice hockey)|Douglas Murray]] 1
  | scoring3-2 = [[Jarome Iginla]] 1 - ''pp'' - 13:22
                 <br>[[Daymond Langkow]] 1 - ''pp'' - 30:14
                 <br>[[Dion Phaneuf]] 2 - 41:18
                 <br>[[Owen Nolan]] 1 - 56:15
  | goalie3-1  = [[Evgeni Nabokov]] ( 21 saves / 25 shots )
  | goalie3-2  = [[Miikka Kiprusoff]] ( 2 saves / 5 shots )
                 <br>[[Curtis Joseph]] ( 22 saves / 22 shots )

  |date4       = April 15
  |score4      = 2 – 3
  |tv4         = [[Réseau Info-Sports|RIS]], [[Hockey Night in Canada|CBC]]
  |won4        = 1

  | 4-1-1      = ''No Scoring''
  | 4-2-1      = 10:56 - ''pp'' - [[Ryane Clowe]] 4
  | 4-3-1      = 15:06 - [[Jonathan Cheechoo]] 1
                 <br>19:50 - [[Joe Thornton]] 1
  | 4-1-2      = [[Jarome Iginla]] 2 - 03:19
  | 4-2-2      = [[Dion Phaneuf]] 3 - 18:29
  | goalie4-1  = [[Evgeni Nabokov]] ( 8 saves / 10 shots )
  | goalie4-2  = [[Miikka Kiprusoff]] ( 29 saves / 32 shots )

  |date5       = April 17
  |score5      = 4 – 3
  |tv5         = [[NHL on Versus|Versus]], [[Réseau Info-Sports|RIS]], [[Hockey Night in Canada|CBC]]
  |won5        = 1
  |ot5         = 2

  | 5-1-1      = ''No Scoring''
  | 5-2-1      = [[Joe Pavelski]] 2 - ''pp'' - 13:32<br>[[Patrick Marleau]] 2 - 18:07
  | 5-3-1      = [[Jonathan Cheechoo]] 2 - 04:52
  | 5-4-1      = [[Jonathan Cheechoo]] 3 - 08:23
  | 5-2-2      = 04:03 - ''pp'' - [[Jarome Iginla]] 3
  | 5-3-2      = 09:06 - ''pp'' - [[Daymond Langkow]] 2
                 <br>18:43 - [[David Moss (ice hockey)|David Moss]] 1
  | goalie5-1  = [[Evgeni Nabokov]] ( 33 saves / 36 shots )
  | goalie5-2  = [[Miikka Kiprusoff]] ( 22 saves / 26 shots )

  |date6       = April 20
  |tv6         = [[Réseau Info-Sports|RIS]], [[Hockey Night in Canada|CBC]]
  |score6      = 7:00pm

  |date7       = April 22
  |tv7         = [[NHL on Versus|Versus]], [[Réseau Info-Sports|RIS]], [[Hockey Night in Canada|CBC]]
  |score7      = ''7:00pm''

  |series      = San Jose leads series 3 – 2
}}

Sample result[change source]

The following is the sample result of the sample code found above. For further examples of the template in use, please visit the 2008 Stanley Cup Playoffs page. For nonstandard adaptations of this template, please visit the Kelly Cup Playoffs section of the 2007–08 ECHL season page.

San Jose leads series 3–2