Template:NLLCareerStats/doc

From WikiProjectMed
Jump to navigation Jump to search

Syntax

Full template

{{NLLCareerStats
  |hideLegend=
  |player_name_link=
  |player_name=

  |season#_year=
  |season#_team_link=
  |season#_team=

  |season#_games_played=
  |season#_goals=
  |season#_assists=
  |season#_loose_balls=
  |season#_faceoffs_won=
  |season#_faceoffs_att=
  |season#_penalty_minutes=

  |season#_playoff_games_played=
  |season#_playoff_goals=
  |season#_playoff_assists=
  |season#_playoff_loose_balls=
  |season#_playoff_faceoffs_won=
  |season#_playoff_faceoffs_att=
  |season#_playoff_penalty_minutes=
}}

Explanation of fields

{{NLLCareerStats
  |hideLegend=                      Set to 1 to hide the legend at the bottom of the table (purely aesthetic).
  |player_name_link=                Optional: Wikipedia entry for the player.
  |player_name=                     Optional: The name of the player (use if different from player_name_link, or Wikipedia entry does not exist).

  |season#_year=                    The year this season taking place in.
  |season#_team_link=               The Wikipedia entry for the team the player is on, or entry for the particular season.
  |season#_team=                    The name of the team the player plays for (use if different from team_link, or Wikipedia entry does not exist).
  |season#_games_played=            The number of games played by the player during this season.
                                    If you include this parameter, set it to "--" to indicate they haven't played any games.
  |season#_goals=                   The number of goals scored by the player during this season.
  |season#_assists=                 The number of assists awarded to the player during this season.
  |season#_loose_balls=             The number of loose balls collected by the player during this season.
  |season#_faceoffs_won=            The number of faceoffs won by the player during the season.
  |season#_faceoffs_att=            The number of faceoffs attempted by the player during the season
  |season#_penalty_minutes=         The number of penalty minutes served during this season.

  |season#_playoff_games_played=    The number of games played by the player during these particular playoffs.
                                    If you include this parameter, set it to "--" to indicate they haven't played any games.
  |season#_playoff_goals=           The number of goals scored by the player during these particular playoffs.
  |season#_playoff_assists=         The number of assists awarded to the player during these particular playoffs.
  |season#_playoff_loose_balls=     The number of loose balls collected by the player during these particular playoffs.
  |season#_playoff_faceoffs_won=    The number of faceoffs won by the player during these particular playoffs.
  |season#_playoff_faceoffs_att=    The number of faceoffs attempted by the player during these particular playoffs.

  |season#_playoff_penalty_minutes= The number of penalty minutes served during the playoffs of these particular playoffs.
}}

The template is deigned to handle 25 season. Replace the # above with the any number from 1-25 as necessary. If a player changes teams during a season, simply use the next # but keep the year value the same.

Mandatory fields

{{NLLCareerStats
  |season#_year=
}}

The season will be added to the players list with simply the year filled in. It will default to no entries (all columns will be "--"). A team is not necessary, but the information should be included for completeness.

Data checking

There is absolute no data verification. If a parameter is not included, it is given a default value. However, if you include an improper value (e.g.: "eight" instead of 8 for a numerical parameter), it will most likely break the template. Ensure that all values input show up as expected when template is used.

Calculations

The totals for the columns along with the career totals are calculated automatically.