Template:CLA Player Stats/totals/doc

From blackwiki
Jump to navigation Jump to search

Syntax

Full template

The parameters must NOT be named and passed in this exact order. If the parameter does not apply, pass a 0 instead. This template will execute all passed parameters as a mathematical expression. So there is no need to wrap all information in {{#expr: }}. Since this is a total, everything will default to 0, unless data are passed.

{{CLA Player Stats/totals
  |games_played
  |goals
  |assists
  |loose_balls
  |penalty_minutes
}}

Explanation of fields

{{CLA Player Stats/totals
  |games_played=            The number of games played by the player.
  |goals=                   The number of goals scored by the player.
  |assists=                 The number of assists awarded to the player.
  |penalty_minutes=         The number of penalty minutes served.
}}

Usage