Difference between revisions of "Template:MMArecordbox"

From blackwiki
Jump to navigation Jump to search
imported>Ufcfighter7
(Undid revision 783904070 by Ufcfighter7 (talk))
imported>Primefac
m (Changed protection level for "Template:MMArecordbox": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(No difference)

Revision as of 17:02, 23 February 2018

Template documentation[view] [edit] [history] [purge]

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.