Template:ICHLPlayoffs

From MicrasWiki
Jump to navigationJump to search


[edit] [purge] Template documentation

Template:Intricate template

Purpose

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

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

Colors

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

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
homeright Designates home team to the right side of the table if used ("homeright=yes"). Default remains home team on left side. Optional

Details

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 listed on the left side in Game 1 of the series.
team2 Designates the second team listed the right side in Game 1 of the 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 an 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

The following are useful examples for implementing the template.

Blank

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

 {{ICHLPlayoffs
  |bg1         = 
  |bg2         = 
  |homeright   = 
  |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 = 
 }}