Template:MMArecordbox

From Wikipedia, the free encyclopedia

[edit] Template documentation
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.
Remember that you can conduct experiments, and should test all improvements, in either 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 either collapsed or uncollapsed
  • wins
  • losses
  • draws
  • nc
  • ko-wins
  • ko-losses
  • sub-wins
  • sub-losses
  • dec-wins
  • dec-losses

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.