လွင်ႈၸႅင်ႈၼႄ

မႄးထတ်း

This template produces three or four wikitable columns that represent wins, losses, optionally ties, and a winning percentage as follows:

<wins> || <losses> || <winning percentage>

or

<wins> || <losses> || <ties> || <winning percentage>

where wins comes from parameter 1 to this template, losses comes from parameter 2, ties comes from parameter 3 if present, and <winning percentage> is automatically computed based on parameters 1 and 2 and 3 if present.[1]

Winning percentage is calculated as a three-decimal place value between .000 and 1.000. The value is wins / (wins + losses) for 2 parameters, or (wins + (ties / 2)) / (wins + losses + ties) for 3 parameters. If the total of the parameters is zero, the percentage is displayed as "–".

တူဝ်ယၢင်ႇ

မႄးထတ်း
{| class=wikitable
! Team !! Wins !! Losses !! Percent
|-
| Bluebirds  || {{WinLossPct|6|9}}
|-
| Blackbirds || {{WinLossPct|4|3}}
|}

produces:

Team Wins Losses Percent
Bluebirds 6 4 .600
Blackbirds 4 6 .400

and

{| class=wikitable
! Team !! Wins !! Losses !! Ties !! Percent
|-
| Lemurs  || {{WinLossPct|3|6|1}}
|-
| Ocelots || {{WinLossPct|6|3|1}}
|}

produces:

Team Wins Losses Ties Percent
Lemurs 3 6 1 .350
Ocelots 6 3 1 .650

ၶေႃႈမုၼ်းထႅမ်းပလဵတ်ႉ

မႄးထတ်း
ၶေႃႈမုၼ်းၸိူဝ်းၽၢႆႇတႂ်ႈၼႆႉ ပဵၼ် တူဝ်ထတ်းတႃႁၼ်(VisualEditor) ဢၼ်မီးတီႈ ဝီႇၶီႇၽီးတီးယႃးၼၼ်ႉ ယိူင်းဢၢၼ်း တႃႇဢဝ် ၶိူင်ႈၸိူဝ်းၼၼ်ႉ ၸႂ်ႉလႆႈတီႈ ဝီႇၶီႇၽီးတီးယႃးတႆးသေ ၸင်ႇလႆႈဢဝ် ပိူင် ၶေႃႈမုၼ်းထႅမ်းပလဵၵ်ႉ (TemplateData) ဢၼ်မီးတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢိင်းၵလဵတ်ႈၼၼ်ႉ ႁဵတ်းဝႆႉပဵၼ် တီႈမၢႆတီႈတွင်းယဝ်ႉ။ ႁူမ်ႈဝႃႈ ပႆႇၸႂ်ႉၶိူင်ႈၸိူဝ်းၼၼ်ႉသေတႃႉ ပေႃးပဵၼ် ၵူၼ်းႁူႉလွင်ႈတႅမ်ႈပရူဝ်ႇၵရႅမ်ႇ (computer programming) ဢိတ်းဢွတ်းၵေႃႈ ႁႂ်ႈပေႃးႁၼ်လႆႈၸႅင်ႈလႅင်းလီၼႆသေ ၸၢင်ႈဢဝ်ၸႂ်ႉလႆႈ သၽေႃးတီႈၵႅပ်ႈမၼ်းလႆႈယူႇ။

Wins-losses-pct in table

This template produces three or four wikitable columns that represent wins, losses, optionally ties, and a winning percentage.

Template parameters

Parameterၶေႃႈသပ်းလႅင်းTypeStatus
Wins1

The amount of wins to show.

Example
56
Numberrequired
Losses2

The amount of losses to show.

Example
52
Numberrequired
Ties3

The amount of ties to show.

Numberoptional


တူၺ်းပႃး

မႄးထတ်း

ၶေႃႈမၢႆတွင်း

မႄးထတ်း
  1. This is what is colloquially referred to as a "percentage" in sports, though it is not mathematically accurate. 6 wins and 6 losses produces ".500", not "50%".