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

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎top: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 39: Line 39:
  
 
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>{{Sandbox other||
 
[[Category:Mixed martial arts templates]]
 
[[Category:Mixed martial arts templates]]
</includeonly>
+
}}</includeonly>

Latest revision as of 01:28, 26 April 2020


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.