Difference between revisions of "Template:MMArecordbox/doc"
Jump to navigation
Jump to search
imported>WOSlinker (remove cat) |
imported>DH85868993 (+cat) |
||
| Line 35: | Line 35: | ||
Everything defaults to zero, except for <code>draws</code> and <code>nc</code>, which default to not showing. <code>state</code> defaults to collapsed, and 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> and <code>nc</code>, which default to not showing. <code>state</code> defaults to collapsed, and individual types of wins and losses will show only in the presence of either a win or a loss. | ||
| + | <includeonly> | ||
| + | [[Category:Martial arts templates]] | ||
| + | </includeonly> | ||
Revision as of 11:48, 2 September 2014
| 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. |
| 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 eithercollapsedoruncollapseddrawsncko-winsko-lossessub-winssub-lossesdec-winsdec-lossesdq-winsdq-lossesother-winsother-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.