Difference between revisions of "Template:Infobox boxing match/doc"
Jump to navigation
Jump to search
(fi) |
imported>Zyxw m (update examples) |
||
| (30 intermediate revisions by 15 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| + | == Usage == | ||
| + | {{Parameter names example | image | caption | Fight Name | fight date | location | titles | fighter1 | fighter2 | nickname1 | nickname2 | hometown1 | hometown2 | purse1 | purse2 | record1 | record2 | height1 | height2 | weight1 | weight2 | style1 | style2 | recognition1 | recognition2 | result }} | ||
| + | |||
| + | <pre style="overflow: auto;"> | ||
| + | {{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 = | ||
| + | }} | ||
| + | </pre> | ||
| + | |||
| + | ==Example== | ||
| + | {{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 | ||
| + | }} | ||
| − | == | + | <pre style="overflow: auto;"> |
| + | {{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 | ||
| + | }} | ||
| + | </pre> | ||
== Microformat == | == Microformat == | ||
{{UF-hcal}} | {{UF-hcal}} | ||
| − | <includeonly> | + | == TemplateData == |
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "description": "An infobox for articles about boxer", | ||
| + | "params": { | ||
| + | "Fight Name": { | ||
| + | "description": "Title of the fight", | ||
| + | "example": "Fight of the Century", | ||
| + | "label": "Fight Name" | ||
| + | }, | ||
| + | "image": { | ||
| + | "description": "Image of the fight poster. It should be like <code>[[File:Bad Title Example.png|220px|center]]</code>.", | ||
| + | "label": "Image", | ||
| + | "required": false | ||
| + | }, | ||
| + | "caption": { | ||
| + | "description": "Caption of the fight poster.", | ||
| + | "label": "Caption", | ||
| + | "required": false | ||
| + | }, | ||
| + | "fight date": { | ||
| + | "description": "Date of the fight. ", | ||
| + | "label": " Date", | ||
| + | "required": true | ||
| + | }, | ||
| + | "location": { | ||
| + | "description": "The venue of the fight. ", | ||
| + | "label": "Venue", | ||
| + | "example": "MGM Grand Las Vegas", | ||
| + | "required": true | ||
| + | }, | ||
| + | "fighter": { | ||
| + | "description": "Name of the boxer.", | ||
| + | "label": "Boxer", | ||
| + | "aliases": [ | ||
| + | "fighter2" | ||
| + | ], | ||
| + | "required": true | ||
| + | }, | ||
| + | "nickname1": { | ||
| + | "description": " Nickname of the boxer.", | ||
| + | "label": "Nickname ", | ||
| + | "aliases": [ | ||
| + | "nickname2 " | ||
| + | ], | ||
| + | "example": "Pacman", | ||
| + | "required": false | ||
| + | }, | ||
| + | "hometown1": { | ||
| + | "description": " Where the boxer lived?", | ||
| + | "label": "Hometown ", | ||
| + | "aliases": [ | ||
| + | "hometown2 " | ||
| + | ], | ||
| + | "required": false | ||
| + | }, | ||
| + | "purse1": { | ||
| + | "label": "Purse ", | ||
| + | "aliases": [ | ||
| + | "purse2 " | ||
| + | ], | ||
| + | "required": false | ||
| + | }, | ||
| + | "record1": { | ||
| + | "description": "Boxer's record after the previous fight. ", | ||
| + | "label": " Record", | ||
| + | "aliases": [ | ||
| + | "record2 " | ||
| + | ], | ||
| + | "example": "27-1-1", | ||
| + | "required": true | ||
| + | }, | ||
| + | "height1": { | ||
| + | "description": "The height of the boxer. ", | ||
| + | "label": "Height ", | ||
| + | "aliases": [ | ||
| + | " height2" | ||
| + | ], | ||
| + | "required": false | ||
| + | }, | ||
| + | "weight1": { | ||
| + | "description": " The weight of the boxer.", | ||
| + | "label": "Weight ", | ||
| + | "aliases": [ | ||
| + | " weight2" | ||
| + | ], | ||
| + | "required": false | ||
| + | }, | ||
| + | "style1": { | ||
| + | "description": " Stance of the boxer", | ||
| + | "label": " Style", | ||
| + | "aliases": [ | ||
| + | "style2 " | ||
| + | ], | ||
| + | "example": "Orthodox", | ||
| + | "required": false | ||
| + | }, | ||
| + | "recognition1": { | ||
| + | "description": " ", | ||
| + | "label": "Recognition ", | ||
| + | "aliases": [ | ||
| + | "recognition2 " | ||
| + | ], | ||
| + | "required": false | ||
| + | }, | ||
| + | "result": { | ||
| + | "description": "The result of the boxing event ", | ||
| + | "label": "Result ", | ||
| + | "example": "Boxer1 wins via unanimous decision", | ||
| + | "required": false | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| − | [[Category:Boxing templates | + | [[Category:Boxing templates]] |
| − | + | [[Category:Infobox templates with three columns]] | |
| − | [[ | + | }}</includeonly> |
| − | </includeonly> | ||
Latest revision as of 12:56, 25 May 2020
| This is a documentation subpage for Template:Infobox boxing match. It contains usage information, categories and other content that is not part of the original template page. |
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 | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Venue | MGM Grand, Las Vegas | ||||||||||||||||||||||||||||||||||||
| Title(s) on the line | UFC Undisputed Championship | ||||||||||||||||||||||||||||||||||||
| Tale of the tape | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
| 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 |