Template:Boxing record summary/doc
Appearance
![]() | This is a documentation subpage for Template:Boxing record summary. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 3,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template takes the following parameters, all of them self-explanatory:
state
—takes eithercollapsed
oruncollapsed
draws
nc
nws
nonscore
ko-wins
ko-losses
dec-wins
dec-losses
dq-wins
dq-losses
- Parameters
{{Boxing record summary
|draws=
|nc=
|nws=
|nonscore=
|ko-wins=6
|ko-losses=0
|dec-wins=9
|dec-losses=1
|dq-wins=0
|dq-losses=0
}}
Everything defaults to zero, except for draws
, nc
, nws
and nonscore
, which default to not showing. Individual types of wins and losses will show only in the presence of either a win or a loss.
- Example for Mike Tyson
{{Boxing record summary
|nc=2
|ko-wins=44
|ko-losses=5
|dec-wins=5
|dq-wins=1
|dq-losses=1
}}
58 fights | 50 wins | 6 losses |
---|---|---|
By knockout | 44 | 5 |
By decision | 5 | 0 |
By disqualification | 1 | 1 |
No contests | 2 |