Difference between revisions of "Template:Boxing record summary/doc"
Jump to navigation
Jump to search
imported>Rich Farmbrough m (Rich Farmbrough moved page Template:BoxingRecordSummary/doc to Template:Boxing record summary/doc: Standard spacing and caps) |
imported>Rich Farmbrough |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | {{ | + | {{Esoteric}} |
This template takes the following parameters, all of them self-explanatory: | This template takes the following parameters, all of them self-explanatory: | ||
| Line 16: | Line 16: | ||
; Parameters | ; Parameters | ||
<pre> | <pre> | ||
| − | {{ | + | {{Boxing record summary |
|draws= | |draws= | ||
|nc= | |nc= | ||
| Line 33: | Line 33: | ||
;Example for [[Mike Tyson]] | ;Example for [[Mike Tyson]] | ||
<pre> | <pre> | ||
| − | {{ | + | {{Boxing record summary |
|nc=2 | |nc=2 | ||
|ko-wins=44 | |ko-wins=44 | ||
| Line 43: | Line 43: | ||
</pre> | </pre> | ||
| − | {{ | + | {{Boxing record summary |
|nc=2 | |nc=2 | ||
|ko-wins=44 | |ko-wins=44 | ||
Revision as of 20:57, 2 March 2020
| This is a documentation subpage for Template:Boxing record summary. It contains usage information, categories and other content that is not part of the original template page. |
| 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 | |