Difference between revisions of "Template:CLA Player Stats/season"

From blackwiki
Jump to navigation Jump to search
imported>Taxman1913
(Created page with '{{#ifeq: {{{1|--}}} | -- || <tr align="center"> <td>{{{1}}}</td> <td>{{#ifeq: {{{3}}} | -- | {{#ifeq: {{{2}}} | -- | | {{{2}}} }} | {{#ifeq: {{{2}}} | -- |...')
 
imported>Taxman1913
 
Line 3: Line 3:
 
<td>{{{1}}}</td>
 
<td>{{{1}}}</td>
 
<td>{{#ifeq: {{{3}}} | -- | {{#ifeq: {{{2}}} | -- | | {{{2}}} }} | {{#ifeq: {{{2}}} | -- | [[{{{3}}}]] | [[{{{3}}}|{{{2}}}]]}}}}</td>
 
<td>{{#ifeq: {{{3}}} | -- | {{#ifeq: {{{2}}} | -- | | {{{2}}} }} | {{#ifeq: {{{2}}} | -- | [[{{{3}}}]] | [[{{{3}}}|{{{2}}}]]}}}}</td>
{{Template:CLA Player Stats/stats | {{{4|--}}} | {{{5|0}}} | {{{6|0}}} | {{{7|0}}} | {{{8|0}}} }}
+
                <td>{{{4}}}</td>
{{Template:CLA Player Stats/stats | {{{9|--}}} | {{{10|0}}} | {{{11|0}}} | {{{12|0}}} | {{{13|0}}} }}
+
{{Template:CLA Player Stats/stats | {{{5|--}}} | {{{6|0}}} | {{{7|0}}} | {{{8|0}}} }}
 +
{{Template:CLA Player Stats/stats | {{{9|--}}} | {{{10|0}}} | {{{11|0}}} | {{{12|0}}} }}
 
</tr>
 
</tr>
 
}}<noinclude>{{doc}}</noinclude>
 
}}<noinclude>{{doc}}</noinclude>

Latest revision as of 10:59, 20 May 2014

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

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.

{{CLA Player Stats/season
  |year
  |team
  |team_link
  |league
  |games_played
  |goals
  |assists
  |penalty_minutes
  |playoff_games_played
  |playoff_goals
  |playoff_assists
  |playoff_penalty_minutes
}}

Explanation of fields

{{CLA Player Stats/season
  |year=                    The year this season taking place in.
  |team=                    The name of the team the player plays for (use if different from team_link, or Wikipedia entry does not exist).
  |team_link=               The Wikipedia entry for the team the player is on, or entry for the particular season.
  |league=                  The league within the CLA in which the player played.
  |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.
  |goals=                   The number of goals scored by the player during this season.
  |assists=                 The number of assists awarded to the player during this season.
  |penalty_minutes=         The number of penalty minutes served during this season.

  |playoff_games_played=    The number of games played by the player during these playoffs.
                            If you include this parameter, set it to "--" to indicate they haven't played any games.
  |playoff_goals=           The number of goals scored by the player during these playoffs.
  |playoff_assists=         The number of assists awarded to the player during these playoffs.
  |playoff_penalty_minutes= The number of penalty minutes served during these playoffs.
}}

Mandatory fields

{{CLA Player Stats
  |year=
}}

The season will be added to the player's 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.

Usage