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

From blackwiki
Jump to navigation Jump to search
imported>Ravensfire
imported>Ravensfire
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
  
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 a single bout.   
+
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.   
  
 
==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|User:Ravensfire/MMAevent end}} event footer template to close the table.
  
Template outline:
+
The template itself does not use named parameters, only positional parameters.  To record a result, you would use the template like below in the article.
 
<pre>{{MMAevent bout|Weight class|Winning fighter name|Outcome|Losing fighter name|Decision|Round|Time|Notes}}</pre>
 
<pre>{{MMAevent bout|Weight class|Winning fighter name|Outcome|Losing fighter name|Decision|Round|Time|Notes}}</pre>
  
Line 12: Line 12:
 
<pre>{{User:Ravensfire/MMAevent bout|No weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}</pre>
 
<pre>{{User:Ravensfire/MMAevent bout|No weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}</pre>
  
If you had a bout where you needed to add some notes, you put them at the end, like this:<br>
+
Which produces:
<pre>{{User:Ravensfire/MMAevent bout|No weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|Referee did not notice Bob slipped on a banana tossed into ring by a spectator}}</pre>
+
{{MMAevent}}
 +
{{User:Ravensfire/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|}}
 +
{{User:Ravensfire/MMAevent end|notes=no}}
  
For bouts that go to a judges decision, put the numbers of rounds fought in rounds and the time for each round in time.<br>
+
More examples are below.
<pre>{{User:Ravensfire/MMAevent bout|Ork weight|'Ard Enuff|def.|Go Fasta Red|Unanimous Decision (30-28), (29-28), (30-28)|3|5:00|}} </pre>
 
  
 +
==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
 +
<pre>
 +
{{MMAevent}}
 +
{{MMAevent card|Preliminary (Facebook)}}
 +
{{User:Ravensfire/MMAevent bout|Some weight|Max von Maximilliam|def.|[[Joe Snuffitelli]]|KO (boot to the head)|1|:30|}}
 +
{{User:Ravensfire/MMAevent bout|Another weight|'Ard Enuff|def.|Go Fasta Red|KO (Ork elbow)|2|2:49|}}
 +
{{User:Ravensfire/MMAevent bout|Lots of weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}
 +
{{User:Ravensfire/MMAevent end|notes=no}}
 +
</pre>
 +
produces:
 +
{{MMAevent}}
 +
{{MMAevent card|Preliminary (Facebook)}}
 +
{{User:Ravensfire/MMAevent bout|Some weight|Max von Maximilliam|def.|[[Joe Snuffitelli]]|KO (boot to the head)|1|:30|}}
 +
{{User:Ravensfire/MMAevent bout|Another weight|'Ard Enuff|def.|Go Fasta Red|KO (Ork elbow)|2|2:49|}}
 +
{{User:Ravensfire/MMAevent bout|Lots of weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}
 +
{{User:Ravensfire/MMAevent end|notes=no}}
  
 
===Event with notes===
 
===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 {{tl|MMAevent end}} template.   
 
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 {{tl|MMAevent end}} template.   
  
 +
<pre>
 
{{MMAevent}}
 
{{MMAevent}}
 
{{MMAevent card|Main event}}
 
{{MMAevent card|Main event}}
Line 28: Line 60:
 
{{User:Ravensfire/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}}
 
{{User:Ravensfire/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}}
 
{{User:Ravensfire/MMAevent end}}
 
{{User:Ravensfire/MMAevent end}}
 +
</pre>
  
===Event without notes===
+
produces:
 
{{MMAevent}}
 
{{MMAevent}}
{{MMAevent card|Preliminary (Facebook)}}
+
{{MMAevent card|Main event}}
 
{{User:Ravensfire/MMAevent bout|Some weight|Max von Maximilliam|def.|[[Joe Snuffitelli]]|KO (boot to the head)|1|:30|}}
 
{{User:Ravensfire/MMAevent bout|Some weight|Max von Maximilliam|def.|[[Joe Snuffitelli]]|KO (boot to the head)|1|:30|}}
 
{{User:Ravensfire/MMAevent bout|Another weight|'Ard Enuff|def.|Go Fasta Red|KO (Ork elbow)|2|2:49|}}  
 
{{User:Ravensfire/MMAevent bout|Another weight|'Ard Enuff|def.|Go Fasta Red|KO (Ork elbow)|2|2:49|}}  
{{User:Ravensfire/MMAevent bout|Lots of weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}
+
{{User:Ravensfire/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}}
{{User:Ravensfire/MMAevent end|notes=no}}
+
{{User:Ravensfire/MMAevent end}}
  
 
===Event with multiple cards===
 
===Event with multiple cards===
 
Some MMA events will have multiple cards.  For these events, use {{tl|MMAevent card}} to start each card, putting the bouts for that card under each.
 
Some MMA events will have multiple cards.  For these events, use {{tl|MMAevent card}} to start each card, putting the bouts for that card under each.
  
 +
<pre>
 
{{MMAevent}}
 
{{MMAevent}}
 
{{MMAevent card|Main event}}
 
{{MMAevent card|Main event}}
Line 47: Line 81:
 
{{User:Ravensfire/MMAevent bout|Lots of weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}
 
{{User:Ravensfire/MMAevent bout|Lots of weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}
 
{{User:Ravensfire/MMAevent end|notes=yes}}
 
{{User:Ravensfire/MMAevent end|notes=yes}}
 +
</pre>
  
 +
produces:
 +
{{MMAevent}}
 +
{{MMAevent card|Main event}}
 +
{{User:Ravensfire/MMAevent bout|Some weight|Max von Maximilliam|def.|[[Joe Snuffitelli]]|KO (boot to the head)|1|:30|For the Wikipedia championship}}
 +
{{MMAevent card|Preliminary (Facebook)}}
 +
{{User:Ravensfire/MMAevent bout|Another weight|'Ard Enuff|def.|Go Fasta Red|KO (Ork elbow)|2|2:49|}}
 +
{{User:Ravensfire/MMAevent bout|Lots of weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}
 +
{{User:Ravensfire/MMAevent end|notes=yes}}
  
 
<includeonly>
 
<includeonly>
 
+
[[:Category:Martial arts templates]]
<!-- Categories and interwikis go here: -->
 
 
 
 
</includeonly>
 
</includeonly>

Revision as of 22:56, 16 January 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.

Usage

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

The template itself does not use named parameters, only positional parameters. 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:

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

Which produces:

User:Ravensfire/MMAevent cardUser:Ravensfire/MMAevent boutUser:Ravensfire/MMAevent end 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)}}
{{User:Ravensfire/MMAevent bout|Some weight|Max von Maximilliam|def.|[[Joe Snuffitelli]]|KO (boot to the head)|1|:30|}}
{{User:Ravensfire/MMAevent bout|Another weight|'Ard Enuff|def.|Go Fasta Red|KO (Ork elbow)|2|2:49|}} 
{{User:Ravensfire/MMAevent bout|Lots of weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}
{{User:Ravensfire/MMAevent end|notes=no}}

produces:

Preliminary (Facebook)
Weight class Method Round Time Notes

User:Ravensfire/MMAevent bout User:Ravensfire/MMAevent bout User:Ravensfire/MMAevent bout User:Ravensfire/MMAevent end

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}}
{{User:Ravensfire/MMAevent bout|Some weight|Max von Maximilliam|def.|[[Joe Snuffitelli]]|KO (boot to the head)|1|:30|}}
{{User:Ravensfire/MMAevent bout|Another weight|'Ard Enuff|def.|Go Fasta Red|KO (Ork elbow)|2|2:49|}} 
{{User:Ravensfire/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}}
{{User:Ravensfire/MMAevent end}}

produces:

Main event
Weight class Method Round Time Notes

User:Ravensfire/MMAevent bout User:Ravensfire/MMAevent bout User:Ravensfire/MMAevent bout User:Ravensfire/MMAevent end

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}}
{{User:Ravensfire/MMAevent bout|Some weight|Max von Maximilliam|def.|[[Joe Snuffitelli]]|KO (boot to the head)|1|:30|For the Wikipedia championship}}
{{MMAevent card|Preliminary (Facebook)}}
{{User:Ravensfire/MMAevent bout|Another weight|'Ard Enuff|def.|Go Fasta Red|KO (Ork elbow)|2|2:49|}} 
{{User:Ravensfire/MMAevent bout|Lots of weight|Clumsy Bob|def.|Graceful Kelly|TKO (Slipped, caught Kelly on the way down)|1|1:05|}}
{{User:Ravensfire/MMAevent end|notes=yes}}

produces:

Main event
Weight class Method Round Time Notes

User:Ravensfire/MMAevent bout

Preliminary (Facebook)
Weight class Method Round Time Notes

User:Ravensfire/MMAevent bout User:Ravensfire/MMAevent bout User:Ravensfire/MMAevent end