Difference between revisions of "Template:Boxing record summary/doc"
Jump to navigation
Jump to search
imported>Mac Dreamstate |
imported>Vanisaac |
||
| (3 intermediate revisions by 2 users not shown) | |||
| 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 14: | Line 14: | ||
* <code>dq-losses</code> | * <code>dq-losses</code> | ||
| + | ; Parameters | ||
<pre> | <pre> | ||
| − | {{ | + | {{Boxing record summary |
|draws= | |draws= | ||
|nc= | |nc= | ||
| Line 29: | Line 30: | ||
Everything defaults to zero, except for <code>draws</code>, <code>nc</code>, and <code>nws</code>, which default to not showing. Individual types of wins and losses will show only in the presence of either a win or a loss. | Everything defaults to zero, except for <code>draws</code>, <code>nc</code>, and <code>nws</code>, which default to not showing. Individual types of wins and losses will show only in the presence of either a win or a loss. | ||
| − | <includeonly> | + | |
| + | ;Example for [[Mike Tyson]] | ||
| + | <pre> | ||
| + | {{Boxing record summary | ||
| + | |nc=2 | ||
| + | |ko-wins=44 | ||
| + | |ko-losses=5 | ||
| + | |dec-wins=5 | ||
| + | |dq-wins=1 | ||
| + | |dq-losses=1 | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | {{Boxing record summary | ||
| + | |nc=2 | ||
| + | |ko-wins=44 | ||
| + | |ko-losses=5 | ||
| + | |dec-wins=5 | ||
| + | |dq-wins=1 | ||
| + | |dq-losses=1 | ||
| + | }} | ||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
[[Category:Boxing templates]] | [[Category:Boxing templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 00:16, 24 April 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 | |