Difference between revisions of "Template:MMArecordbox/doc"

From blackwiki
Jump to navigation Jump to search
imported>DocWatson42
m (Performed minor clean up on punctuation.)
Line 36: Line 36:
 
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>
 
<includeonly>
[[Category:Martial arts templates]]
+
[[Category:Mixed martial arts templates]]
 
</includeonly>
 
</includeonly>

Revision as of 05:00, 6 February 2016

This template takes the following parameters, all of them self-explanatory:

  • state—takes either collapsed or uncollapsed
  • 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.