Difference between revisions of "Template:MMAevent bout/doc"
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 218: | Line 218: | ||
<includeonly> | <includeonly> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Weight class", | ||
| + | "description": "Weight class for bout", | ||
| + | "example": "Heavyweight", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Winning fighter", | ||
| + | "description": "Name of winning fighter (wikilinked)", | ||
| + | "example": "[[Joe Snuffitelli]]", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "3": { | ||
| + | "label": "Result", | ||
| + | "description": "Result of bout, use def rather than defeated", | ||
| + | "example": "def", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "4": { | ||
| + | "label": "Losing fighter", | ||
| + | "description": "Name of losing fighter, wikilinked", | ||
| + | "example": "[[Joe Snuffitelli]]", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "5": { | ||
| + | "label": "Decision type", | ||
| + | "description": "Type of decision", | ||
| + | "example": "TKO, Split decision (3-2, 2-3, 3-2)", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "6": { | ||
| + | "label": "Round", | ||
| + | "description": "Round the fight ended", | ||
| + | "example": "3", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "7": { | ||
| + | "label": "Time", | ||
| + | "description": "Time the fight ended", | ||
| + | "example": "5:00", | ||
| + | "type": "string", | ||
| + | "required": true | ||
| + | }, | ||
| + | "8": { | ||
| + | "label": "Notes", | ||
| + | "description": "Any additional notes for fight", | ||
| + | "example": "Heavyweight division championship", | ||
| + | "type": "string" | ||
| + | } | ||
| + | }, | ||
| + | "description": "MMA event result template with the result for each individual bout", | ||
| + | "format": "block" | ||
| + | } | ||
| + | </templatedata>{{Sandbox other|| | ||
[[Category:Mixed martial arts templates]] | [[Category:Mixed martial arts templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 01:29, 26 April 2020
| 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. Multiple bout template can be used to record all bouts for a specific event/card.
Contents
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 | |||
| 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 | |
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] |
- ↑ 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 | |
- ↑ For the Wikipedia championship
See also
- {{MMAtitle bout}}