Template:Infobox boxer (amateur)/doc

From IxWiki
Revision as of 09:53, 10 March 2020 by >Zyxw (Category:Infobox templates with module parameter)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1.1]]
{{{caption}}}
Personal information
Native name{{{native_name}}}
Birth name{{{birth_name}}}
Full name{{{full_name}}}
Nickname(s){{{nickname}}}
Nationality{{{nationality}}}
Born{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Height{{{height}}}
Weight{{{weight}}}
Sport
SportBoxing
Weight class{{{weight_class}}}
Club{{{club}}}
Coached by{{{coach}}}
{{Infobox boxer (amateur)
| name             = 
| image            = 
| image_size       = 
| alt              = 
| caption          = 
| native_name      = <!-- if different than name -->
| native_name_lang = 
| birth_name       = <!-- if different than name/native_name -->
| full_name        = <!-- if different than name/birth_name/native_name -->
| nickname         = 
| nationality      = 
| birth_date       = <!-- {{birth date and age|yyyy|mm|dd}} -->
| birth_place      = 
| death_date       = <!-- {{death date and age|death year|death month|death day|birth year|birth month|birth day}} -->
| death_place      = 
| height           = <!-- "X cm", "X m"  or "X ft Y in" plus optional reference (conversions are automatic) -->
| weight           = <!-- "X kg", "X lb" or "X st Y lb" plus optional reference (conversions are automatic) -->
| weight_class     = 
| club             = 
| coach            = 
| medaltemplates   = 
| show-medals      = 
}}

Parameters

All of the parameters shown in the previous section are documented at Template:Infobox sportsperson.

Example

Mansueto Velasco
Velasco on 2017 stamp
Personal information
Full nameMansueto Velasco Jr.
Nickname(s)Onyok
Born (1974-01-10) January 10, 1974 (age 50)
Bago, Negros Occidental, Philippines
Height1.57 m (5 ft 2 in)
Weight48 kg (106 lb)
Sport
SportBoxing
Weight classLight flyweight
{{Infobox boxer (amateur)
| name           = Mansueto Velasco
| image          = Mansueto Velasco 2017 stamp of the Philippines.jpg
| image_size     = 150px
| alt            = 
| caption        = Velasco on 2017 stamp
| full_name      = Mansueto Velasco Jr.
| nickname       = Onyok
| nationality    = 
| birth_date     = {{Birth date and age|1974|01|10}}
| birth_place    = [[Bago, Negros Occidental]], Philippines
| height         = 1.57 m
| weight         = 48 kg
| weight_class   = [[Light flyweight]]
| club           = 
| coach          = 
| medaltemplates = 
{{MedalSport | Men's [[amateur boxing]] }}
{{MedalCountry | the {{flag|Philippines|1986}} }}
{{MedalCompetition | [[Boxing at the Summer Olympics|Olympic Games]] }}
{{MedalSilver | [[1996 Summer Olympics|1996 Atlanta]] | [[Boxing at the 1996 Summer Olympics – Light flyweight|Light flyweight (-48 kg)]] }}
{{MedalCompetition | [[Boxing at the Asian Games|Asian Games]] }}
{{MedalGold | [[1994 Asian Games|1994 Hiroshima]] | [[Boxing at the 1994 Asian Games|Light flyweight (-48 kg)]] }}
}}

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

Tracking categories

via Infobox sportsperson

See also