Difference between revisions of "Template:Boxing record summary/doc"
Jump to navigation
Jump to search
imported>Mac Dreamstate |
(+example) |
||
| Line 14: | Line 14: | ||
* <code>dq-losses</code> | * <code>dq-losses</code> | ||
| + | ; Parameters | ||
<pre> | <pre> | ||
{{BoxingRecordSummary | {{BoxingRecordSummary | ||
| 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. | ||
| + | |||
| + | ;Example for [[Mike Tyson]] | ||
| + | <pre> | ||
| + | {{BoxingRecordSummary | ||
| + | |nc=2 | ||
| + | |ko-wins=44 | ||
| + | |ko-losses=5 | ||
| + | |dec-wins=5 | ||
| + | |dq-wins=1 | ||
| + | |dq-losses=1 | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | {{BoxingRecordSummary | ||
| + | |nc=2 | ||
| + | |ko-wins=44 | ||
| + | |ko-losses=5 | ||
| + | |dec-wins=5 | ||
| + | |dq-wins=1 | ||
| + | |dq-losses=1 | ||
| + | }} | ||
| + | |||
<includeonly> | <includeonly> | ||
[[Category:Boxing templates]] | [[Category:Boxing templates]] | ||
</includeonly> | </includeonly> | ||
Revision as of 23:59, 8 April 2018
| 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
{{BoxingRecordSummary
|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
{{BoxingRecordSummary
|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 | |