Template:MMArecordbox/doc
< Template:MMArecordbox
Jump to navigation
Jump to search
Revision as of 19:42, 15 August 2010 by imported>Droll (clean up documentation subpage templates using AWB)
| 40px | This is a documentation subpage for Template:MMArecordbox. It contains usage information, categories and other content that is not part of the original template page. |
| 40x40px | 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 eithercollapsedoruncollapsedwinslossesdrawsncko-winsko-lossessub-winssub-lossesdec-winsdec-lossesdq-winsdq-losses
{{MMArecordbox
|wins=0
|losses=0
|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
}}
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.