Difference between revisions of "Template:CLA Player Stats/totals"
Jump to navigation
Jump to search
imported>WOSlinker (noinclude table tags) |
imported>Jdaloner m ("{{Decimals" --> "{{Round") |
||
| Line 4: | Line 4: | ||
<th style="border-bottom: 2px solid #666666;">{{formatnum: {{#expr: {{{2|0}}}+{{{3|0}}} }} }}</th> | <th style="border-bottom: 2px solid #666666;">{{formatnum: {{#expr: {{{2|0}}}+{{{3|0}}} }} }}</th> | ||
<th style="border-bottom: 2px solid #666666;">{{formatnum: {{#expr: {{{4|0}}} }} }}</th> | <th style="border-bottom: 2px solid #666666;">{{formatnum: {{#expr: {{{4|0}}} }} }}</th> | ||
| − | <th style="border-bottom: 2px solid #666666;">{{ | + | <th style="border-bottom: 2px solid #666666;">{{Round | {{#ifexpr: {{{1|0}}} = 0 | 0 | {{#expr: ( {{{2|0}}}+{{{3|0}}} ) / ( {{{1|0}}} ) }} }} | 2 }}</th> |
| − | <th style="border-bottom: 2px solid #666666; border-right: 2px solid #666666;">{{ | + | <th style="border-bottom: 2px solid #666666; border-right: 2px solid #666666;">{{Round | {{#ifexpr: {{{1|0}}} = 0 | 0 | {{#expr: ( {{{4|0}}} ) / ( {{{1|0}}} ) }} }} | 2 }}</th><noinclude> |
</table> | </table> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:09, 11 September 2020
| 0 | 0 | 0 | 0 | 0 | Template:Round | Template:Round |
|---|
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
| The above documentation is transcluded from Template:CLA Player Stats/totals/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |