Difference between revisions of "Template:MMAevent bout/doc"
imported>Ravensfire |
imported>Ravensfire (→Usage) |
||
| Line 6: | Line 6: | ||
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. | + | 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. |
| − | <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> | ||
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|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: | Which produces: | ||
Revision as of 17:37, 21 January 2013
| 40px | 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. 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:
{{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:
| |||||||||||||||||||||||||||||||||||||||||||||||||||