Template:Win-loss record
From Ava Zinn Wiki
Contents
Usage[edit]
{{Win-loss record|w=|l=|d=|otl=}}
This template is for use with abbreviated lists of wins and losses, and optionally draws and/or overtime losses, for sports teams (their 'win-loss record'). It generates a short numeric format, but provides a tooltip popup which explains the notation.
Parameters[edit]
All four parameters correctly handle plurals (1 win, 2 wins etc.).
- w - the number of wins
- l - the number of losses
- d - the number of draws
- otl - the number of overtime losses
Examples[edit]
Code | Result |
---|---|
{{Win-loss record|w=1|l=0}} | 1–0 |
{{Win-loss record|w=3|l=1}} | 3–1 |
{{Win-loss record|w=2|l=3|d=0}} | 2–3–0 |
{{Win-loss record|w=1|l=1|d=1}} | 1–1–1 |
{{Win-loss record|w=1|l=3|d=2}} | 1–3–2 |
{{Win-loss record|w=1|l=3|d=2|otl=1}} | 1–3–2–1 |
{{Win-loss record|w=1|l=3|otl=2}} | 1–3–2 |
See also[edit]
- {{WDL}}
- {{Winning percentage}}
The above documentation is transcluded from Template:Win-loss record/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. |