Difference between revisions of "Template:MMArecordbox/doc"

From blackwiki
Jump to navigation Jump to search
imported>TreyGeek
m (Closing close tag.)
imported>WOSlinker
(remove cat)
Line 34: Line 34:
 
</pre>
 
</pre>
  
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.<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
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.

Revision as of 11:17, 9 October 2011

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.