This is a documentation subpage for Template:MMA amateur record box. It may contain 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 is a duplicate of {{MMArecordbox}}
so exhibition records can also have a record box. {{MMA exhibition record box}}
is also a duplicate of {{MMArecordbox}}
.
This template takes the following parameters, all of them self-explanatory:
state
— takes eithercollapsed
oruncollapsed
draws
nc
ko-wins
ko-losses
sub-wins
sub-losses
dec-wins
dec-losses
dq-wins
dq-losses
other-wins
other-losses
{{MMArecordbox
|draws=0
|nc=0
|ko-wins=0
|ko-losses=0
|sub-wins=0
|sub-losses=0
|dec-wins=0
|dec-losses=0
|dq-wins=0
|dq-losses=0
|other-wins=0
|other-losses=0
}}
Everything defaults to zero, except for draws
and nc
, which default to not showing. state
defaults to collapsed, and individual types of wins and losses will show only in the presence of either a win or a loss.