Knowledge

Template:Wins-losses-pct in table

Source 📝

21: 734: 36: 767: 730: 32: 40: 707:
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%".
763: 724: 28: 783: 674: 52:
This template produces three or four wikitable columns that represent wins, losses, optionally ties, and a winning percentage as follows:
534: 716: 551:
This template produces three or four wikitable columns that represent wins, losses, optionally ties, and a winning percentage.
685: 530: 526: 522: 91:
Winning percentage is calculated as a three-decimal place value between .000 and 1.000. The value is
186: 173: 160: 147: 134: 123:) for 3 parameters. If the total of the parameters is zero, the percentage is displayed as "–". 720: 777: 67:<wins> || <losses> || <ties> || <winning percentage> 15: 88:
is automatically computed based on parameters 1 and 2 and 3 if present.
57:<wins> || <losses> || <winning percentage> 755: 747: 743: 740:Editors can experiment in this template's sandbox 8: 548: 541:in articles based on its TemplateData. 554: 544:TemplateData for Wins-losses-pct in table 76:comes from parameter 1 to this template, 460: 297: 700: 84:comes from parameter 3 if present, and 725:Template:Wins-losses-pct in table/doc 7: 535:See a monthly parameter usage report 14: 539:Template:Wins-losses-pct in table 189:|5|3|2}} 19: 1: 617:The amount of losses to show. 784:Sports statistics templates 675:GP-wins-losses-pct in table 646:The amount of ties to show. 588:The amount of wins to show. 800: 714: 525:for this template used by 176:|0|0}} 163:|0|5}} 150:|6|9}} 137:|3|0}} 86:<winning percentage> 768:Subpages of this template 562: 346: 197: 103:) for 2 parameters, or ( 80:comes from parameter 2, 762:Add categories to the 24:Template documentation 660: 559: 557:Template parameters 193:5 || 3 || 2 || .600 686:Winning percentage 555: 553: 659: 658: 575: 549: 533:and other tools. 514: 513: 342: 341: 791: 759: 751: 738: 708: 705: 690: 684: 679: 673: 642: 613: 584: 576: 560: 461: 454: 451: 447: 443: 439: 436: 433: 430: 426: 423: 420: 416: 412: 408: 405: 402: 399: 395: 392: 389: 386: 383: 380: 377: 374: 371: 368: 365: 362: 359: 356: 353: 350: 298: 291: 288: 284: 280: 277: 274: 271: 267: 264: 261: 257: 253: 250: 247: 244: 240: 237: 234: 231: 228: 225: 222: 219: 216: 213: 210: 207: 204: 201: 194: 190: 181: 177: 168: 164: 155: 151: 142: 141:3 || 0 || 1.000 138: 122: 118: 114: 110: 106: 102: 98: 94: 87: 83: 79: 75: 68: 58: 44: 25: 23: 22: 799: 798: 794: 793: 792: 790: 789: 788: 774: 773: 772: 771: 761: 753: 741: 739: 728: 713: 712: 711: 706: 702: 697: 688: 682: 677: 671: 668: 662: 640: 611: 582: 547: 519: 456: 455: 452: 449: 445: 441: 437: 434: 431: 428: 424: 421: 418: 414: 410: 406: 403: 400: 397: 393: 390: 387: 384: 381: 378: 375: 372: 369: 366: 363: 360: 357: 354: 351: 348: 293: 292: 289: 286: 282: 278: 275: 272: 269: 265: 262: 259: 255: 251: 248: 245: 242: 238: 235: 232: 229: 226: 223: 220: 217: 214: 211: 208: 205: 202: 199: 192: 184: 179: 171: 167:0 || 5 || .000 166: 158: 154:6 || 9 || .400 153: 145: 140: 132: 129: 120: 116: 112: 108: 104: 100: 96: 92: 85: 81: 77: 73: 66: 56: 50: 45: 26: 20: 18: 12: 11: 5: 797: 795: 787: 786: 776: 775: 752:and testcases 710: 709: 699: 698: 696: 693: 692: 691: 680: 667: 664: 657: 656: 653: 650: 649: 643: 638: 634: 633: 630: 627: 626: 625: 622: 614: 609: 605: 604: 601: 598: 597: 596: 593: 585: 580: 574: 573: 570: 567: 564: 527:TemplateWizard 520: 518: 515: 512: 511: 508: 505: 502: 499: 495: 494: 491: 488: 485: 482: 478: 477: 474: 471: 468: 465: 347: 340: 339: 336: 333: 330: 326: 325: 322: 319: 316: 312: 311: 308: 305: 302: 198: 196: 195: 182: 169: 156: 143: 128: 125: 70: 69: 60: 59: 49: 46: 17: 16: 13: 10: 9: 6: 4: 3: 2: 796: 785: 782: 781: 779: 769: 765: 757: 749: 745: 736: 732: 726: 722: 718: 717:documentation 704: 701: 694: 687: 681: 676: 670: 669: 665: 663: 654: 651: 648: 647: 644: 639: 636: 635: 631: 628: 623: 620: 619: 618: 615: 610: 607: 606: 602: 599: 594: 591: 590: 589: 586: 581: 578: 577: 571: 568: 565: 561: 558: 552: 546: 545: 540: 536: 532: 528: 524: 516: 509: 506: 503: 500: 497: 496: 492: 489: 486: 483: 480: 479: 475: 472: 469: 466: 463: 462: 459: 345: 337: 334: 331: 328: 327: 323: 320: 317: 314: 313: 309: 306: 303: 300: 299: 296: 188: 183: 175: 170: 162: 157: 149: 144: 136: 131: 130: 126: 124: 89: 65: 64: 63: 55: 54: 53: 47: 42: 38: 34: 30: 703: 689:}} 683:{{ 678:}} 672:{{ 661: 645: 616: 587: 556: 550: 543: 542: 538: 531:VisualEditor 523:TemplateData 521:This is the 517:TemplateData 457: 343: 294: 185:{{ 180:0 || 0 || – 172:{{ 159:{{ 146:{{ 133:{{ 90: 71: 61: 51: 721:transcluded 566:Description 268:Blackbirds 241:Bluebirds 48:Description 39:] [ 35:] [ 31:] [ 715:The above 458:produces: 435:WinLossPct 404:WinLossPct 329:Blackbirds 295:produces: 276:WinLossPct 249:WinLossPct 187:WinLossPct 174:WinLossPct 161:WinLossPct 148:WinLossPct 135:WinLossPct 111:/ 2)) / ( 766:subpage. 563:Parameter 358:wikitable 315:Bluebirds 209:wikitable 191:produces 178:produces 165:produces 152:produces 139:produces 778:Category 666:See also 655:optional 632:required 603:required 476:Percent 427:Ocelots 396:Lemurs 310:Percent 127:Examples 746:| 735:history 733:| 621:Example 592:Example 498:Ocelots 388:Percent 376:Losses 233:Percent 227:Losses 37:history 760:pages. 756:create 748:mirror 744:create 652:Number 629:Number 608:Losses 600:Number 572:Status 481:Lemurs 470:Losses 307:Losses 117:losses 101:losses 78:losses 72:where 723:from 695:Notes 510:.650 493:.350 382:Ties 370:Wins 364:Team 352:class 338:.400 324:.600 221:Wins 215:Team 203:class 43:] 41:purge 27:[ 764:/doc 731:edit 637:Ties 579:Wins 569:Type 537:for 473:Ties 467:Wins 464:Team 344:and 304:Wins 301:Team 121:ties 113:wins 109:ties 105:wins 97:wins 93:wins 82:ties 74:wins 33:edit 29:view 719:is 107:+ ( 95:/ ( 62:or 780:: 727:. 624:52 595:56 529:, 453:|} 450:}} 432:{{ 429:|| 422:|- 419:}} 401:{{ 398:|| 391:|- 385:!! 379:!! 373:!! 367:!! 349:{| 290:|} 287:}} 273:{{ 270:|| 263:|- 260:}} 246:{{ 243:|| 236:|- 230:!! 224:!! 218:!! 200:{| 119:+ 115:+ 99:+ 770:. 758:) 754:( 750:) 742:( 737:) 729:( 641:3 612:2 583:1 507:1 504:3 501:6 490:1 487:6 484:3 448:1 446:| 444:3 442:| 440:6 438:| 425:| 417:1 415:| 413:6 411:| 409:3 407:| 394:| 361:! 355:= 335:6 332:4 321:4 318:6 285:3 283:| 281:4 279:| 266:| 258:9 256:| 254:6 252:| 239:| 212:! 206:=

Index

view
edit
history
purge
WinLossPct
WinLossPct
WinLossPct
WinLossPct
WinLossPct
TemplateData
TemplateWizard
VisualEditor
See a monthly parameter usage report
Template:Wins-losses-pct in table
GP-wins-losses-pct in table
Winning percentage
documentation
transcluded
Template:Wins-losses-pct in table/doc
edit
history
create
mirror
create
/doc
Subpages of this template
Category
Sports statistics templates

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.