Difference between revisions of "Template:Infobox boxing match/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
m (update example)
imported>Zyxw
(add Parameter names example)
Line 2: Line 2:
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
== Usage ==
 
== 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
 
<pre style="overflow: auto;">{{Infobox boxing match
 
| Fight Name =
 
| Fight Name =
Line 13: Line 15:
 
| nickname1 =  
 
| nickname1 =  
 
| nickname2 =  
 
| nickname2 =  
 +
| hometown1 =
 +
| hometown2 =
 
| purse1 =  
 
| purse1 =  
 
| purse2 =  
 
| purse2 =  
| hometown1 =
 
| hometown2 =
 
 
| record1 =  
 
| record1 =  
 
| record2 =  
 
| record2 =  
Line 41: Line 43:
 
| nickname1 = The Beast
 
| nickname1 = The Beast
 
| nickname2 = The Warrior
 
| nickname2 = The Warrior
 +
| hometown1 = Exeter, UK
 +
| hometown2 = Exmouth, UK
 
| purse1 = $4,000,000
 
| purse1 = $4,000,000
 
| purse2 = 3,750,000
 
| purse2 = 3,750,000
| hometown1 = Exeter, UK
 
| hometown2 = Exmouth, UK
 
 
| record1 = 27-0-0  
 
| record1 = 27-0-0  
 
| record2 = 32-0-0
 
| record2 = 32-0-0
Line 57: Line 59:
 
| result = N/A
 
| result = N/A
 
}}
 
}}
<pre style="overflow: auto;">{{Infobox boxing match
+
 
 +
<pre style="overflow: auto;">
 +
{{Infobox boxing match
 
| Fight Name = UFC 200 - Baxson vs Williams - Fight of the Century
 
| Fight Name = UFC 200 - Baxson vs Williams - Fight of the Century
 
| image= [[File:Bad Title Example.png|220px|center]]
 
| image= [[File:Bad Title Example.png|220px|center]]
Line 68: Line 72:
 
| nickname1 = The Beast
 
| nickname1 = The Beast
 
| nickname2 = The Warrior
 
| nickname2 = The Warrior
 +
| hometown1 = Exeter, UK
 +
| hometown2 = Exmouth, UK
 
| purse1 = $4,000,000
 
| purse1 = $4,000,000
 
| purse2 = 3,750,000
 
| purse2 = 3,750,000
| hometown1 = Exeter, UK
 
| hometown2 = Exmouth, UK
 
 
| record1 = 27-0-0  
 
| record1 = 27-0-0  
 
| record2 = 32-0-0
 
| record2 = 32-0-0
Line 83: Line 87:
 
| recognition2 = Black Belt in Gracie JJ, Current Undisputed UFC Light Heavyweight Champion, Former Undisputed UFC Middleweight Champion
 
| recognition2 = Black Belt in Gracie JJ, Current Undisputed UFC Light Heavyweight Champion, Former Undisputed UFC Middleweight Champion
 
| result = N/A
 
| result = N/A
}}</pre>
+
}}
 +
</pre>
  
 
== Microformat ==
 
== Microformat ==
Line 137: Line 142:
 
"required": false
 
"required": false
 
},
 
},
"purse1": {
+
"hometown1": {
"label": "Purse ",
+
"description": " Where the boxer lived?",
 +
"label": "Hometown ",
 
"aliases": [
 
"aliases": [
"purse2 "
+
"hometown2 "
 
],
 
],
 
"required": false
 
"required": false
 
},
 
},
"hometown1": {
+
"purse1": {
"description": " Where the boxer lived?",
+
"label": "Purse ",
"label": "Hometown ",
 
 
"aliases": [
 
"aliases": [
"hometown2 "
+
"purse2 "
 
],
 
],
 
"required": false
 
"required": false

Revision as of 09:38, 25 May 2020

Usage

Template:Parameter names example

{{Infobox boxing match
| Fight Name =
| image =
| caption =
| fight date =
| location = 
| titles = 
| fighter1 =  
| fighter2 = 
| nickname1 = 
| nickname2 = 
| hometown1 = 
| hometown2 = 
| purse1 = 
| purse2 = 
| record1 = 
| record2 = 
| height1 =
| height2 = 
| weight1 = 
| weight2 =
| style1 = 
| style2 =  
| recognition1 = 
| recognition2 = 
| result = 
}}

Example

UFC 200 - Baxson vs Williams - Fight of the Century
Bad Title Example.png
Date07/21/16
VenueMGM Grand, Las Vegas
Title(s) on the lineUFC Undisputed Championship
Tale of the tape
Boxer Jackson Baxson Rhys Williams
Nickname The Beast The Warrior
Hometown Exeter, UK Exmouth, UK
Purse $4,000,000 3,750,000
Pre-fight record 27-0-0 32-0-0
Height 6 ft 2 in (188 cm) 5 ft 11 in (180 cm)
Weight 265 lb (120 kg) 211 lb (96 kg)
Style Wrestling, Boxing Gracie JJ, Boxing, Muay Thai
Recognition NCAA Wrestling Champion,Olympic Gold Medalist, Former Pride Heavyweight Champion 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]]
| caption =
| fight date = 07/21/16
| location = MGM Grand, Las Vegas
| titles = UFC Undisputed Championship
| fighter1 =  Jackson Baxson
| fighter2 = Rhys Williams
| nickname1 = The Beast
| nickname2 = The Warrior
| hometown1 = Exeter, UK
| hometown2 = Exmouth, UK
| purse1 = $4,000,000
| purse2 = 3,750,000
| record1 = 27-0-0 
| record2 = 32-0-0
| height1 = 6 ft 2 in
| height2 = 5 ft 11 in
| weight1 = 265 lb
| weight2 = 211 lb
| style1 = Wrestling, Boxing
| style2 =  Gracie JJ, Boxing, Muay Thai
| recognition1 = NCAA Wrestling Champion,Olympic Gold Medalist, Former Pride Heavyweight Champion
| recognition2 = Black Belt in Gracie JJ, Current Undisputed UFC Light Heavyweight Champion, Former Undisputed UFC Middleweight Champion
| result = N/A
}}

Microformat

Template:UF-hcal

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

Template parameters

ParameterDescriptionTypeStatus
Fight NameFight name

Title of the fight

Example
Fight of the Century
Unknownoptional
Imageimage

Image of the fight poster. It should be like <code>[[File:Bad Title Example.png|220px|center]]</code>.

Unknownoptional
Captioncaption

Caption of the fight poster.

Unknownoptional
Datefight date

Date of the fight.

Unknownrequired
Venuelocation

The venue of the fight.

Example
MGM Grand Las Vegas
Unknownrequired
Boxerfighter fighter2

Name of the boxer.

Unknownrequired
Nickname nickname1 nickname2

Nickname of the boxer.

Example
Pacman
Unknownoptional
Hometown hometown1 hometown2

Where the boxer lived?

Unknownoptional
Purse purse1 purse2

no description

Unknownoptional
Recordrecord1 record2

Boxer's record after the previous fight.

Example
27-1-1
Unknownrequired
Height height1 height2

The height of the boxer.

Unknownoptional
Weight weight1 weight2

The weight of the boxer.

Unknownoptional
Stylestyle1 style2

Stance of the boxer

Example
Orthodox
Unknownoptional
Recognition recognition1 recognition2

Unknownoptional
Result result

The result of the boxing event

Example
Boxer1 wins via unanimous decision
Unknownoptional