Difference between revisions of "Template:MMAevent bout/doc"
imported>Ravensfire (→Usage) |
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. |
| − | + | 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> | ||
| − | + | Which produces: | |
| − | + | {{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}} | ||
| − | + | 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 | ||
| + | <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> | ||
| − | + | produces: | |
{{MMAevent}} | {{MMAevent}} | ||
| − | {{MMAevent card| | + | {{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 | + | {{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]] | |
| − | |||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 22:56, 16 January 2013
| This is a documentation subpage for Template:MMAevent bout. It contains usage information, categories and other content that is not part of the original template page. |
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.
Contents
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 notesOften 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:
| |||||||||||||||||||||||||||||||||||||||||||||||||||