This is a documentation subpage for Template:Infobox boxer (amateur). It may contain usage information, categories and other content that is not part of the original template page. |
This template is a customized wrapper for {{Infobox sportsperson}}. Any field from {{Infobox sportsperson}} can work. It will also emit the same hCard microformat as {{Infobox sportsperson}} . Questions? Just ask here or at Template talk:Infobox sportsperson. |
This template uses Lua: |
Usage edit
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |||
Personal information | |||
---|---|---|---|
Native name | {{{native_name}}} | ||
Birth name | {{{birth_name}}} | ||
Full name | {{{full_name}}} | ||
Nickname | {{{nickname}}} | ||
Nationality | {{{nationality}}} | ||
Born | {{{birth_date}}} {{{birth_place}}} | ||
Died | {{{death_date}}} {{{death_place}}} | ||
Height | {{{height}}} | ||
Weight | {{{weight}}} | ||
Sport | |||
Sport | Boxing | ||
Weight class | {{{weight_class}}} | ||
Club | {{{club}}} | ||
Coached by | {{{coach}}} | ||
Medal record
|
{{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 = <!-- use only when necessary per [[WP:INFONAT]] -->
| 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 edit
This template accepts all parameters allowed by {{Infobox sportsperson}}. See here for a complete list.
Example edit
Personal information | |
---|---|
Full name | Mansueto Velasco Jr. |
Nickname | Onyok |
Born | Bago, Negros Occidental, Philippines | January 10, 1974
Height | 1.57 m (5 ft 2 in) |
Weight | 48 kg (106 lb) |
Sport | |
Sport | Boxing |
Weight class | Light flyweight |
Medal record |
{{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 edit
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 edit
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 edit
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 edit
- Category:Pages using Infobox boxer (amateur) with unknown parameters (0)
- Category:Pages using Infobox boxer (amateur) with conflicting parameters (0)
- Category:No local image but image on Wikidata (9,753) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or
|nocat_wdimage=yes
to the infobox.
See also edit