Difference between revisions of "Template:MMAevent bout/doc"

From blackwiki
Jump to navigation Jump to search
imported>TreyGeek
m (TreyGeek moved page User:Ravensfire/MMAevent bout/doc to Template:MMAevent bout/doc: Moving to template-space along site it's parent.)
imported>TreyGeek
(Updating docs following template moves.)
Line 4: Line 4:
  
 
==Usage==
 
==Usage==
This template should be used after the {{tl|MMAevent}} event header and {{tl|MMAevent card}} event card header templates with the {{tl|User:Ravensfire/MMAevent end}} event footer template to close the table.
+
This template should be used after the {{tl|MMAevent}} event header and {{tl|MMAevent card}} event card header templates with the {{tl|MMAevent end}} event footer template to close the table.
  
 
The template itself does not use named parameters, only positional parameters.  Given the number of parameters, it's best to put each one on a new line.  To record a result, you would use the template like below in the article.
 
The template itself does not use named parameters, only positional parameters.  Given the number of parameters, it's best to put each one on a new line.  To record a result, you would use the template like below in the article.
Line 18: Line 18:
  
 
For example, to record a fight between Graceful Kelly and Clumsy Bob that Bob won via TKO 1:05 into the first round, you would put this:<br>
 
For example, to record a fight between Graceful Kelly and Clumsy Bob that Bob won via TKO 1:05 into the first round, you would put this:<br>
<pre>{{User:Ravensfire/MMAevent bout
+
<pre>{{MMAevent bout
 
|No weight
 
|No weight
 
|Clumsy Bob
 
|Clumsy Bob
Line 30: Line 30:
 
Which produces:
 
Which produces:
 
{{MMAevent}}
 
{{MMAevent}}
{{User:Ravensfire/MMAevent card|Main event}}
+
{{MMAevent card|Main event}}
{{User:Ravensfire/MMAevent bout|No weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}
+
{{MMAevent bout|No weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}
{{User:Ravensfire/MMAevent end|notes=no}}
+
{{MMAevent end|notes=no}}
  
 
More examples are below.
 
More examples are below.
Line 53: Line 53:
 
{{MMAevent}}
 
{{MMAevent}}
 
{{MMAevent card|Preliminary (Facebook)}}
 
{{MMAevent card|Preliminary (Facebook)}}
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Another weight
 
|Another weight
 
|'Ard Enuff
 
|'Ard Enuff
Line 62: Line 62:
 
|2:49
 
|2:49
 
|}}  
 
|}}  
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Lots of weight
 
|Lots of weight
 
|Clumsy Bob
 
|Clumsy Bob
Line 71: Line 71:
 
|1:05
 
|1:05
 
|}}
 
|}}
{{User:Ravensfire/MMAevent end|notes=no}}
+
{{MMAevent end|notes=no}}
 
</pre>
 
</pre>
 
produces:
 
produces:
Line 85: Line 85:
 
|2:49
 
|2:49
 
|}}  
 
|}}  
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Lots of weight
 
|Lots of weight
 
|Clumsy Bob
 
|Clumsy Bob
Line 94: Line 94:
 
|1:05
 
|1:05
 
|}}
 
|}}
{{User:Ravensfire/MMAevent end|notes=no}}
+
{{MMAevent end|notes=no}}
  
 
===Event with notes===
 
===Event with notes===
Line 102: Line 102:
 
{{MMAevent}}
 
{{MMAevent}}
 
{{MMAevent card|Main event}}
 
{{MMAevent card|Main event}}
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Another weight
 
|Another weight
 
|'Ard Enuff
 
|'Ard Enuff
Line 111: Line 111:
 
|2:49
 
|2:49
 
|}}  
 
|}}  
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Lots of weight
 
|Lots of weight
 
|Clumsy Bob
 
|Clumsy Bob
Line 120: Line 120:
 
|1:05
 
|1:05
 
|Referee missed that Bob [[slapstick|slipped]] on [[banana peel]] thrown by fan}}
 
|Referee missed that Bob [[slapstick|slipped]] on [[banana peel]] thrown by fan}}
{{User:Ravensfire/MMAevent end}}
+
{{MMAevent end}}
 
</pre>
 
</pre>
  
Line 126: Line 126:
 
{{MMAevent}}
 
{{MMAevent}}
 
{{MMAevent card|Main event}}
 
{{MMAevent card|Main event}}
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Another weight
 
|Another weight
 
|'Ard Enuff
 
|'Ard Enuff
Line 135: Line 135:
 
|2:49
 
|2:49
 
|}}  
 
|}}  
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Lots of weight
 
|Lots of weight
 
|Clumsy Bob
 
|Clumsy Bob
Line 144: Line 144:
 
|1:05
 
|1:05
 
|Referee missed that Bob [[slapstick|slipped]] on [[banana peel]] thrown by fan}}
 
|Referee missed that Bob [[slapstick|slipped]] on [[banana peel]] thrown by fan}}
{{User:Ravensfire/MMAevent end}}
+
{{MMAevent end}}
  
 
===Event with multiple cards===
 
===Event with multiple cards===
Line 152: Line 152:
 
{{MMAevent}}
 
{{MMAevent}}
 
{{MMAevent card|Main event}}
 
{{MMAevent card|Main event}}
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Some weight
 
|Some weight
 
|Max von Maxi
 
|Max von Maxi
Line 162: Line 162:
 
|For the Wikipedia championship}}
 
|For the Wikipedia championship}}
 
{{MMAevent card|Preliminary (Facebook)}}
 
{{MMAevent card|Preliminary (Facebook)}}
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Ork weight
 
|Ork weight
 
|'Ard Enuff
 
|'Ard Enuff
Line 170: Line 170:
 
|2
 
|2
 
|2:49|}}  
 
|2:49|}}  
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Lots of weight
 
|Lots of weight
 
|Clumsy Bob
 
|Clumsy Bob
Line 178: Line 178:
 
|1
 
|1
 
|1:05|}}
 
|1:05|}}
{{User:Ravensfire/MMAevent end|notes=yes}}
+
{{MMAevent end|notes=yes}}
 
</pre>
 
</pre>
  
Line 184: Line 184:
 
{{MMAevent}}
 
{{MMAevent}}
 
{{MMAevent card|Main event}}
 
{{MMAevent card|Main event}}
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Some weight
 
|Some weight
 
|Max von Maxi
 
|Max von Maxi
Line 194: Line 194:
 
|For the Wikipedia championship}}
 
|For the Wikipedia championship}}
 
{{MMAevent card|Preliminary (Facebook)}}
 
{{MMAevent card|Preliminary (Facebook)}}
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Ork weight
 
|Ork weight
 
|'Ard Enuff
 
|'Ard Enuff
Line 203: Line 203:
 
|2:49
 
|2:49
 
|}}  
 
|}}  
{{User:Ravensfire/MMAevent bout
+
{{MMAevent bout
 
|Lots of weight
 
|Lots of weight
 
|Clumsy Bob
 
|Clumsy Bob
Line 212: Line 212:
 
|1:05
 
|1:05
 
|}}
 
|}}
{{User:Ravensfire/MMAevent end|notes=yes}}
+
{{MMAevent end|notes=yes}}
  
 
<includeonly>
 
<includeonly>
 
[[:Category:Martial arts templates]]
 
[[:Category:Martial arts templates]]
 
</includeonly>
 
</includeonly>

Revision as of 14:21, 23 February 2013

This template is part of a series of MMA event templates to make it easier to record the results of a MMA event. This particular template is used to record the result a single bout within an event. Multiple bout template can be used to record all bouts for a specific event/card.

Usage

This template should be used after the {{MMAevent}} event header and {{MMAevent card}} event card header templates with the {{MMAevent end}} event footer template to close the table.

The template itself does not use named parameters, only positional parameters. Given the number of parameters, it's best to put each one on a new line. To record a result, you would use the template like below in the article.

{{MMAevent bout
|Weight class
|Winning fighter name
|Outcome
|Losing fighter name
|Decision
|Round
|Time
|Notes}}

For example, to record a fight between Graceful Kelly and Clumsy Bob that Bob won via TKO 1:05 into the first round, you would put this:

{{MMAevent bout
|No weight
|Clumsy Bob
|def.
|Graceful Kelly
|TKO (Slipped, caught Kelly on the way down)
|1
|1:05
|}}

Which produces:

Main event
Weight class Method Round Time Notes
No weight Clumsy Bob def. Graceful Kelly TKO (Slipped, caught Kelly on the way down) 1 1:05

More examples are below.

Parameters

Positional parameter 1 (no name)
weight class of the bout
Positional parameter 2 (no name)
name of the fighter that won the bout
Positional parameter 3 (no name)
outcome of bout - use def. rather than defeated, use vs if there is no result for the match
Positional parameter 4 (no name)
name of the fighter that lost the bout
Positional parameter 5 (no name)
result (KO, TKO, Unanimous decision, etc) of the bout
Positional parameter 6 (no name)
round the bout ended
Positional parameter 7 (no name)
time the bout ended
Positional parameter 8 (no name)
any notes from the bout

Examples

Event without notes

Many times no note is needed for a bout. If that's the case, don't put anything in that

{{MMAevent}}
{{MMAevent card|Preliminary (Facebook)}}
{{MMAevent bout
|Another weight
|'Ard Enuff
|def.
|Go Fasta Red
|KO (Ork elbow)
|2
|2:49
|}} 
{{MMAevent bout
|Lots of weight
|Clumsy Bob
|def.
|Graceful Kelly
|TKO (Slipped, caught Kelly on the way down)
|1
|1:05
|}}
{{MMAevent end|notes=no}}

produces:

Preliminary (Facebook)
Weight class Method Round Time Notes

User:Ravensfire/MMAevent bout

Lots of weight Clumsy Bob def. Graceful Kelly TKO (Slipped, caught Kelly on the way down) 1 1:05

Event with notes

Often it's needed to add notes for a particular bout. To do this, put the notes as the last parameter in the template. They'll automatically be put in a list at the end of the event with a placeholder link at the end of the line for the bout. At the end of the event section, don't put any parameters on the {{MMAevent end}} template.

{{MMAevent}}
{{MMAevent card|Main event}}
{{MMAevent bout
|Another weight
|'Ard Enuff
|def.
|Go Fasta Red
|KO (Ork elbow)
|2
|2:49
|}} 
{{MMAevent bout
|Lots of weight
|Clumsy Bob
|def.
|Graceful Kelly
|TKO (Slipped, caught Kelly on the way down)
|1
|1:05
|Referee missed that Bob [[slapstick|slipped]] on [[banana peel]] thrown by fan}}
{{MMAevent end}}

produces:

Main event
Weight class Method Round Time Notes
Another weight 'Ard Enuff def. Go Fasta Red KO (Ork elbow) 2 2:49
Lots of weight Clumsy Bob def. Graceful Kelly TKO (Slipped, caught Kelly on the way down) 1 1:05 [lower-alpha 1]
  1. Referee missed that Bob slipped on banana peel thrown by fan

Event with multiple cards

Some MMA events will have multiple cards. For these events, use {{MMAevent card}} to start each card, putting the bouts for that card under each.

{{MMAevent}}
{{MMAevent card|Main event}}
{{MMAevent bout
|Some weight
|Max von Maxi
|def.
|[[Joe Snuffitelli]]
|KO (boot to the head)
|1
|:30
|For the Wikipedia championship}}
{{MMAevent card|Preliminary (Facebook)}}
{{MMAevent bout
|Ork weight
|'Ard Enuff
|def.
|Go Fasta Red
|KO (Ork elbow)
|2
|2:49|}} 
{{MMAevent bout
|Lots of weight
|Clumsy Bob
|def.
|Graceful Kelly
|TKO (Slipped, caught Kelly on the way down)
|1
|1:05|}}
{{MMAevent end|notes=yes}}

produces:

Main event
Weight class Method Round Time Notes
Some weight Max von Maxi def. Joe Snuffitelli KO (boot to the head) 1 :30 [lower-alpha 1]
Preliminary (Facebook)
Weight class Method Round Time Notes
Ork weight 'Ard Enuff def. Go Fasta Red KO (Ork elbow) 2 2:49
Lots of weight Clumsy Bob def. Graceful Kelly TKO (Slipped, caught Kelly on the way down) 1 1:05
  1. For the Wikipedia championship