Template:MMAevent end/doc
This is a documentation subpage for Template:MMAevent end. 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 at the end of the result table to close out the table and display the notes if needed.
Usage
This template should be used after the {{MMAevent}} event header, {{MMAevent card}}event card and {{MMAevent bout}} event bout templates and will close the results table.
The template has a single named parameter used to indicate if notes should be displayed or not. If no parameter is passed, the notes section is displayed. For a result table that did not have notes, you would use the template like below in the article.
{{MMAevent end|notes=no}}
When used with the other MMAevent templates, this 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 |
Parameters
- notes
- (yes or no) Indicates if the notes should be displayed or not. Defaults to yes if the parameter is not passed. WARNING - if the result table has notes but they are not set to be displayed, they may be displayed in a different section of the article or you may see warning messages!
Examples
Event without notes
Many times no note is needed for a bout. If that's the case, don't include the notes parameter or set it to no. If you are creating a placeholder result table, please use the notes parameter, setting it to no so it's easier for future editors to display the notes.
{{MMAevent}} {{MMAevent card|Preliminary (Facebook)}} {{MMAevent bout |Another weight |'Ard Enuff |def. |Go Fasta Red |KO (Ork elbow) |2 |2:49 |}} {{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 |
Event with notes
Events with notes
Other events have bouts that require notes to explain the results or to note something unusual about a particular bout. In that case, set the notes parameter to yes.
{{MMAevent}} {{MMAevent card|Main event}} {{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|notes=yes}}
produces:
Main event | |||||||
---|---|---|---|---|---|---|---|
Weight class | Method | Round | Time | Notes | |||
Lots of weight | Clumsy Bob | def. | Graceful Kelly | TKO (Slipped, caught Kelly on the way down) | 1 | 1:05 | [a] |
- ↑ Referee missed that Bob slipped on banana peel thrown by fan