Difference between revisions of "Template:MMA amateur record box"

From blackwiki
Jump to navigation Jump to search
imported>Kevlar
imported>Kevlar
Line 49: Line 49:
 
{{!}}style="background:#dae2f1;text-align:center" colspan="2"{{!}}{{{nc}}}|}}
 
{{!}}style="background:#dae2f1;text-align:center" colspan="2"{{!}}{{{nc}}}|}}
 
|}<noinclude>{{template doc}}</noinclude>
 
|}<noinclude>{{template doc}}</noinclude>
 +
 +
<noinclude>
 +
[[Category:Martial arts templates]]
 +
</noinclude>

Revision as of 16:12, 3 December 2014

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


This is a duplicate of {{MMArecordbox}} so exhibition records can also have a record box. {{MMA exhibition record box}} is also a duplicate of {{MMArecordbox}}.

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.