Template:Winning percentage/doc

Usage
This template calculates and displays the winning percentage for sports teams given three parameters: wins, losses and ties. Those three parameters are unnamed.

Wins and losses are required; ties are optional.

The result is displayed as a decimal point followed by three digits, as is standard in sports standings. Including  will add a leading 0 before the period (.), while adding   will show the record followed by the winning percentage.

In scenarios where ties are not regarded as half a win, using  will omit ties and equate the winning percentage exactly as wins divided by the total number of games/matches played (i.e. wins plus draws plus losses).

Aliases

 * winpct
 * winperc