Template:Boxing record summary
Revision as of 02:26, 7 May 2020 by imported>Koavf (MOS:TABLECAPTION)
| 0 fights | 0 wins | 0 losses |
| 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 eithercollapsedoruncollapseddrawsncnwsko-winsko-lossesdec-winsdec-lossesdq-winsdq-losses
- Parameters
{{Boxing record summary
|draws=
|nc=
|nws=
|ko-wins=
|ko-losses=
|dec-wins=
|dec-losses=
|dq-wins=
|dq-losses=
}}
Everything defaults to zero, except for draws, nc, and nws, 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 | align="center" Template:Yes244 | align="center" Template:No25 |
| By decision | align="center" Template:Yes25 | align="center" Template:No20 |
| By disqualification | align="center" Template:Yes21 | align="center" Template:No21 |
| No contests | 2 | |
| The above documentation is transcluded from Template:Boxing record summary/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. |