Difference between revisions of "Template:Infobox boxing match"
Jump to navigation
Jump to search
imported>TrueCRaysball (Undid revision 731966129 by TrueCRaysball (talk) rvt for now until I work bugs out) |
imported>TrueCRaysball (take two) |
||
| Line 1: | Line 1: | ||
| − | {| class="infobox | + | {| class="infobox" style="max-width: 370px;" |
| − | | | + | |+ style="font-size:14pt;"|{{{Fight Name}}} |
| − | |- | + | {{#if:{{{image|}}}| |
| − | {{#if: {{{ | + | {{!}}- |
| − | {{!}} colspan="3" | + | {{!}}colspan="3" style="text-align:center;"{{!}} {{{image}}}}} |
| − | }} | + | {{#if:{{{caption|}}}| |
| − | + | {{!}}- | |
| − | + | {{!}}colspan="3" style="font-size:9pt;text-align:center;padding-bottom:8px;"{{!}}{{{caption|}}}}} | |
| − | + | {{#if:{{{fight date|}}}| | |
| − | {{#if: {{{location | + | {{!}}- |
| − | {{!}} | + | !Date |
| − | }} | + | {{!}}colspan="2"{{!}}{{{fight date}}}}} |
| − | + | {{#if:{{{location|}}}| | |
| − | + | {{!}}- | |
| + | !Location | ||
| + | {{!}}colspan="2"{{!}}{{{location}}}}} | ||
| + | {{#if:{{{titles|}}}| | ||
| + | {{!}}- | ||
| + | !Title(s) on the<br/>line | ||
| + | {{!}}colspan="2"{{!}}{{{titles}}}}} | ||
|- | |- | ||
| − | |colspan=3| | + | |colspan="3" style="font-size:11pt;text-align:center;background:#ddd;"|'''{{{fighter1}}}''' vs. '''{{{fighter2}}}''' |
| − | ---- | + | {{#if:{{{nickname1|}}}| |
| − | + | {{!}}- | |
| − | + | {{!}}style="text-align:right; width:140px; min-width:140px; max-width:140px;"{{!}}{{{nickname1}}} | |
| + | !style="text-align:center; min-width:90px;"{{!}}Nickname | ||
| + | {{!}}style="width:140px; min-width:140px; max-width:140px;min-width:100px;"{{!}}{{{nickname2}}}}} | ||
| + | {{#if:{{{hometown1|}}}| | ||
| + | {{!}}- | ||
| + | {{!}}style="text-align:right; width:140px; min-width:140px; max-width:140px;"{{!}}{{{hometown1}}} | ||
| + | !style="text-align:center;min-width:90px;"{{!}}Hometown | ||
| + | {{!}}style="width:140px; min-width:140px; max-width:140px;"{{!}}{{{hometown2}}}}} | ||
| + | {{#if:{{{purse1|}}}| | ||
| + | {{!}}- | ||
| + | {{!}}style="text-align:right; width:140px; min-width:140px; max-width:140px;"{{!}}{{{purse1}}} | ||
| + | !style="text-align:center;min-width:90px;"{{!}}Purse | ||
| + | {{!}}style="max-width:140px;"{{!}}{{{purse2}}}}} | ||
|- | |- | ||
| − | + | !colspan="3" style="text-align:center;background:#ddd;"|Tale of the tape | |
| − | {{#if:{{{ | + | {{#if:{{{record1|}}}| |
{{!}}- | {{!}}- | ||
| − | {{!}}{{{ | + | {{!}}style="text-align:right; width:140px; min-width:140px; max-width:140px;"{{!}}{{{record1}}} |
| − | }} | + | !style="text-align:center;min-width:90px;"{{!}}Pre-fight<br/>record |
| − | + | {{!}}style="width:140px; min-width:140px; max-width:140px;"{{!}}{{{record2}}}}} | |
| − | ! | + | {{#if:{{{height1|}}}| |
| − | + | {{!}}- | |
| − | + | {{!}}style="text-align:right; width:140px; min-width:140px; max-width:140px;"{{!}}{{infobox person/height|{{{height1}}}}} | |
| − | + | !style="text-align:center;min-width:90px;"{{!}}Height | |
| − | + | {{!}}style="width:140px; min-width:140px; max-width:140px;"{{!}}{{infobox person/height|{{{height2}}}}}}} | |
| − | + | {{#if:{{{weight1|}}}| | |
| − | {{#if:{{{ | + | {{!}}- |
| − | {{!}}{{infobox person/ | + | {{!}}style="text-align:right; width:140px; min-width:140px; max-width:140px;"{{!}}{{infobox person/weight|{{{weight1}}}}} |
| + | !style="text-align:center;min-width:90px;"{{!}}Weight | ||
| + | {{!}}style="width:140px; min-width:140px; max-width:140px;"{{!}}{{infobox person/weight|{{{weight2}}}}}}} | ||
| + | {{#if:{{{style1|}}}| | ||
{{!}}- | {{!}}- | ||
| − | }} | + | {{!}}style="text-align:right; width:140px; min-width:140px; max-width:140px;"{{!}}{{{style1}}} |
| − | {{ | + | !style="text-align:center;min-width:90px;"{{!}}Style |
| − | {{!}}{{ | + | {{!}}style="width:140px; min-width:140px; max-width:140px;"{{!}}{{{style2}}}}} |
| + | {{#if:{{{recognition1|}}}| | ||
{{!}}- | {{!}}- | ||
| − | }} | + | {{!}}style="text-align:right; width:140px; min-width:140px; max-width:140px;"{{!}}{{{recognition1}}} |
| − | {{ | + | !style="text-align:center;min-width:90px;"{{!}}Recognition |
| − | {{!}}{{ | + | {{!}}style="width:140px; min-width:140px; max-width:140px;"{{!}}{{{recognition2}}}}} |
| + | {{#if:{{{result|}}}| | ||
{{!}}- | {{!}}- | ||
| − | + | !colspan="3" style="text-align:center;background:#ddd;"{{!}}Result | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
{{!}}- | {{!}}- | ||
| − | {{!}}colspan=3 | + | {{!}}colspan="3" style="text-align:center;"{{!}}{{{result|}}}}} |
| − | + | |} | |
| − | + | <noinclude>{{doc}}</noinclude> | |
| − | |||
| − | }} | ||
| − | |}<noinclude>{{doc}}</noinclude> | ||
Revision as of 19:43, 29 July 2016
| {{{fighter1}}} vs. {{{fighter2}}}
| ||
| Tale of the tape
|
|---|
Contents
Usage
Template:Parameter names example
{{Infobox boxing match
| Fight Name =
| image =
| caption =
| fight date =
| location =
| titles =
| fighter1 =
| nickname1 =
| hometown1 =
| purse1 =
| record1 =
| height1 =
| weight1 =
| style1 =
| recognition1 =
| fighter2 =
| nickname2 =
| hometown2 =
| purse2 =
| record2 =
| height2 =
| weight2 =
| style2 =
| recognition2 =
| result =
}}
Example
| Date | Template:Start date and age | |
|---|---|---|
| Location | MGM Grand, Las Vegas | |
| Title(s) on the line |
UFC Undisputed Championship | |
| Jackson Baxson vs. Rhys Williams | ||
| The Beast | Nickname | The Warrior |
| Exeter, UK | Hometown | Exmouth, UK |
| $4,000,000 | Purse | 3,750,000 |
| Tale of the tape | ||
| 27-0-0 | Pre-fight record |
32-0-0 |
| 6 ft 2 in (188 cm) | Height | 5 ft 11 in (180 cm) |
| 265 lb (120 kg) | Weight | 211 lb (96 kg) |
| Wrestling, Boxing | Style | Gracie JJ, Boxing, Muay Thai |
| NCAA Wrestling Champion,Olympic Gold Medalist, Former Pride Heavyweight Champion | Recognition | Black Belt in Gracie JJ, Current Undisputed UFC Light Heavyweight Champion, Former Undisputed UFC Middleweight Champion |
| Result | ||
| N/A | ||
{{Infobox boxing match
| Fight Name = UFC 200 - Baxson vs Williams - Fight of the Century
| image = [[File:Bad Title Example.png|220px|center]]
| fight date = {{Start date and age|July 21, 2016}}
| location = MGM Grand, Las Vegas
| titles = UFC Undisputed Championship
| fighter1 = Jackson Baxson
| nickname1 = The Beast
| hometown1 = Exeter, UK
| purse1 = $4,000,000
| record1 = 27-0-0
| height1 = 6 ft 2 in
| weight1 = 265 lb
| style1 = Wrestling, Boxing
| recognition1 = NCAA Wrestling Champion,Olympic Gold Medalist, Former Pride Heavyweight Champion
| fighter2 = Rhys Williams
| nickname2 = The Warrior
| hometown2 = Exmouth, UK
| purse2 = 3,750,000
| record2 = 32-0-0
| height2 = 5 ft 11 in
| weight2 = 211 lb
| style2 = Gracie JJ, Boxing, Muay Thai
| recognition2 = Black Belt in Gracie JJ, Current Undisputed UFC Light Heavyweight Champion, Former Undisputed UFC Middleweight Champion
| result = N/A
}}
Microformat
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Infobox boxing match
An infobox for articles about boxer
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Fight Name | Fight Name | Title of the fight
| Unknown | optional |
| Image | image | Image of the fight poster. It should be like <code>[[File:Bad Title Example.png|220px|center]]</code>. | Unknown | optional |
| Caption | caption | Caption of the fight poster. | Unknown | optional |
| Date | fight date | Date of the fight. | Unknown | required |
| Venue | location | The venue of the fight.
| Unknown | required |
| Boxer | fighter fighter2 | Name of the boxer. | Unknown | required |
| Nickname | nickname1 nickname2 | Nickname of the boxer.
| Unknown | optional |
| Hometown | hometown1 hometown2 | Where the boxer lived? | Unknown | optional |
| Purse | purse1 purse2 | no description | Unknown | optional |
| Record | record1 record2 | Boxer's record after the previous fight.
| Unknown | required |
| Height | height1 height2 | The height of the boxer. | Unknown | optional |
| Weight | weight1 weight2 | The weight of the boxer. | Unknown | optional |
| Style | style1 style2 | Stance of the boxer
| Unknown | optional |
| Recognition | recognition1 recognition2 |
| Unknown | optional |
| Result | result | The result of the boxing event
| Unknown | optional |
| The above documentation is transcluded from Template:Infobox boxing match/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |