ထႅမ်းပလဵတ်ႉ:Winning percentage
–
ထႅမ်းပလဵတ်ႉ ဢၼ်ၼႆႉ လႆႈၸႂ်ႉဝႆႉ တီႈၼႃႈလိၵ်ႈ မွၵ်ႈ 26,000 ၼႃႈလိၵ်ႈ လႄႈ လွင်ႈလႅၵ်ႈလၢႆႈၸိူဝ်းၼႆႉ တေႁႂ်ႈၽၢင်ႉမႅၼ်ႈၺႃး ၵႂၢင်ႈၵႂၢင်ႈၶႂၢင်ၶႂၢင်။ ၸၢမ်းတူၺ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း ထႅမ်းပလဵတ်ႉ's /sandbox ဢမ်ႇၼၼ် ၼႃႈလိၵ်ႈၽႄ /testcases , ဢမ်ႇၼၼ် တီႈၼႂ်း ၼႃႈလိၵ်ႈၽႄ ၽူႈၸႂ်ႉတိုဝ်း။ ဝူၼ်ႉသွၼ်ႇ ဢုပ်ႇဢူဝ်း လွင်ႈလႅၵ်ႈလၢႆႈ တီႈၼႂ်း ၼႃႈလိၵ်ႈ တႃႇဢုပ်ႇ ၽွင်းမိူဝ်ႈပႆႇ ၵေႃႇသၢင်ႈၶဝ်ၼၼ်ႉ။
ႁူဝ်ၼပ်ႉ လွင်ႈၶဝ်ႈပႃးၼႆႉ မၼ်းႁဵတ်းဢၢပ်ႉတဵတ်ႉဝႆႉႁင်းမၼ်း (တူၺ်းတီႈ ၽိုၼ်လိၵ်ႈ)။ |
လွင်ႈၸႂ်ႉတိုဝ်း
မႄးထတ်းThis template calculates and displays the winning percentage for sports teams given three parameters: wins, losses and ties. Those three parameters are unnamed.
{{Winning percentage|<wins>|<losses>|<ties>}}
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 |leading_zero=y
will add a leading 0 before the period (.), while adding |record=y
will show the record followed by the winning percentage.
In scenarios where ties are not regarded as half a win, using |ignore_ties=y
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).
Code | Result | Explanation | Calculation |
---|---|---|---|
{{Winning percentage|30|20}}
|
.600 | <win> / <total> | .600 = 30 / (30+20) |
{{Winning percentage|30|20|50}}
|
.550 | (<win> + (<ties>/2)) / <total> | .550 = (30+(50/2)) / (30+20+50) |
{{Winning percentage|30|20|50|ignore_ties=y}}
|
.300 | <win> / <total-without-ties> | .300 = 30 / (30 + 20 + 50) |
{{Winning percentage|100|50|record=y}}
|
100–50 (.667) | Showing records along with calculated percentage | |
{{Winning percentage|100|50|3|leading_zero=y|record=y}}
|
100–50–3 (0.663) | showing records and percentage with leading zero | |
{{Winning percentage|100|50|leading_zero=y}}
|
0.667 | show percentage with leading zero | |
{{Winning percentage|100|0}}
|
1.000 | 100% winning | |
{{Winning percentage|0|4}}
|
.000 | 0% winning | |
{{Winning percentage|0|0}}
|
– | No match played, so a percentage is not mathematically possible |
တူဝ်ယေႃႈ
မႄးထတ်းၶေႃႈမုၼ်းထႅမ်းပလဵတ်ႉ
မႄးထတ်းWinning percentage
This template calculates and displays the winning percentage for sports teams given three parameters: wins, losses and ties. Those three parameters are unnamed.
Parameter | ၶေႃႈသပ်းလႅင်း | Type | Status | |
---|---|---|---|---|
Wins | 1 | The number of wins to show.
| Number | required |
Losses | 2 | The amount of losses to show
| Number | required |
Ties | 3 | The amount of ties to show.
| Number | optional |
Record | record | Shows records along with calculated percentage
| String | optional |
Leading Zero | leading_zero | Whether to show a leading zero in the record.
| String | optional |
Ignore Ties | ignore_ties | In scenarios where ties are not regarded as half a win, enabling this 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).
| String | optional |
တူၺ်းပႃး
မႄးထတ်း- {{Win-loss record}}
- {{Wins-losses-pct in table}}
- {{Percentage}}