Template:Infobox boxer (amateur)/doc
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 so long as it is added to this template first. It will also emit the same hCard microformat as {{Infobox sportsperson}} . Questions? Just ask on Template talk:Infobox sportsperson. |
This template uses Lua: |
Usage
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1.1]] | ||
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 | ||
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 = | 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
Personal information | |
---|---|
Full name | Mansueto Velasco Jr. |
Nickname(s) | 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
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
- Category:Pages using deprecated image syntax (0) – Used by Module:InfoboxImage to track articles where an infobox uses image syntax in the format |image=[[File:Example.jpg]]. To exclude articles from this category, change it to |image=Example.jpg.
- Category:No local image but image on Wikidata (24) – 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