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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add Parameter names example)
imported>Zyxw
m (update examples)
 
Line 4: Line 4:
 
{{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 }}
 
{{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;">
| Fight Name =
+
{{Infobox boxing match
| image =
+
| Fight Name   =  
| caption =
+
| image       =  
| fight date =
+
| caption     =  
| location =  
+
| fight date   =  
| titles =  
+
| location     =  
| fighter1
+
| titles       =  
| fighter2 =  
+
| fighter1     =  
| nickname1 =
+
| nickname1   =  
| nickname2 =  
+
| hometown1   =  
| hometown1 =
+
| purse1       =  
| hometown2 =  
+
| record1     =  
| purse1 =
+
| height1     =  
| purse2 =  
+
| weight1     =  
| record1 =
+
| style1       =  
| record2 =  
 
| height1 =
 
| height2 =  
 
| weight1 =
 
| weight2 =
 
| style1 =  
 
| style2 = 
 
 
| recognition1 =  
 
| recognition1 =  
 +
| fighter2    =
 +
| nickname2    =
 +
| hometown2    =
 +
| purse2      =
 +
| record2      =
 +
| height2      =
 +
| weight2      =
 +
| style2      =
 
| recognition2 =  
 
| recognition2 =  
| result =  
+
| result       =  
}}</pre>
+
}}
 +
</pre>
  
 
==Example==
 
==Example==
 
{{Infobox boxing match
 
{{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]]
| fight date = 07/21/16
+
| fight date   = {{Start date and age|July 21, 2016}}
| location = MGM Grand, Las Vegas
+
| location     = MGM Grand, Las Vegas
| titles = UFC Undisputed Championship
+
| titles       = UFC Undisputed Championship
| fighter1 = Jackson Baxson
+
| fighter1     = Jackson Baxson
| fighter2 = Rhys Williams
+
| nickname1   = The Beast
| nickname1 = The Beast
+
| hometown1   = Exeter, UK
| nickname2 = The Warrior
+
| purse1       = $4,000,000
| hometown1 = Exeter, UK
+
| record1     = 27-0-0  
| hometown2 = Exmouth, UK
+
| height1     = 6 ft 2 in
| purse1 = $4,000,000
+
| weight1     = 265 lb
| purse2 = 3,750,000
+
| style1       = Wrestling, Boxing
| 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
 
| 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
 
| recognition2 = Black Belt in Gracie JJ, Current Undisputed UFC Light Heavyweight Champion, Former Undisputed UFC Middleweight Champion
| result = N/A
+
| result       = N/A
 
}}
 
}}
  
 
<pre style="overflow: auto;">
 
<pre style="overflow: auto;">
 
{{Infobox boxing match
 
{{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]]
| caption =
+
| fight date   = {{Start date and age|July 21, 2016}}
| fight date = 07/21/16
+
| location     = MGM Grand, Las Vegas
| location = MGM Grand, Las Vegas
+
| titles       = UFC Undisputed Championship
| titles = UFC Undisputed Championship
+
| fighter1     = Jackson Baxson
| fighter1 = Jackson Baxson
+
| nickname1   = The Beast
| fighter2 = Rhys Williams
+
| hometown1   = Exeter, UK
| nickname1 = The Beast
+
| purse1       = $4,000,000
| nickname2 = The Warrior
+
| record1     = 27-0-0  
| hometown1 = Exeter, UK
+
| height1     = 6 ft 2 in
| hometown2 = Exmouth, UK
+
| weight1     = 265 lb
| purse1 = $4,000,000
+
| style1       = Wrestling, Boxing
| 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
 
| 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
 
| 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>
Line 99: Line 100:
 
"description": "An infobox for articles about boxer",
 
"description": "An infobox for articles about boxer",
 
"params": {
 
"params": {
"Fight name": {
+
"Fight Name": {
 
"description": "Title of the fight",
 
"description": "Title of the fight",
 
"example": "Fight of the Century",
 
"example": "Fight of the Century",

Latest revision as of 12:56, 25 May 2020

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

UFC 200 - Baxson vs Williams - Fight of the Century
Bad Title Example.png
DateTemplate:Start date and age
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]]
| 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

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