Template:Win-loss record

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Required parameters only: {{Win-loss record|w=|l=}} All optional parameters: {{Win-loss record|w=|l=|d=|otl=|t=|nr=}}

This template is for use with abbreviated lists of wins and losses in sporting articles (the 'win-loss record'). It optionally supports draws, ties and/or overtime losses. The output is a standardised short numeric format, with a tooltip pop-up that explains the notation.

Parameters

All parameters correctly handle plurals (1 win, 2 wins etc.).

Examples

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
{{Win-loss record|w=345|l=267|d=301|t=2}} 345–267–301–2
{{Win-loss record|w=47|l=36|t=1|nr=4}} 47–36–1–4

Related pages