Template:Infobox horseracing personality/doc: Difference between revisions
en>Hqb (2-letter codes are ISO 639-1, not 639-2) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:10, 18 January 2023
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox horseracing personality. It contains usage information, categories and other content that is not part of the original template page. |
File:Lua-Logo.svg | This template uses Lua: |
Usage
Script error: No such module "Parameter names example".
{{Infobox horseracing personality | honorific_prefix = | name = | honorific_suffix = | image = | image_size = <!-- DISCOURAGED per WP:IMGSIZE. Use image_upright. --> | image_upright = | alt = | caption = | native_name = | native_name_lang = | full_name = | other_names = | nickname = | occupation = | birth_date = <!-- {{Birth date and age|YYYY|MM|DD|df=y}} --> | birth_place = | death_date = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD|df=y}} --> | death_place = | resting_place = | resting_place_coordinates = | nationality = <!-- use only when necessary per [[WP:INFONAT]] --> | spouse = | children = | height = <!-- {{convert|x|ft|y|in|m|2|abbr=on}} or {{convert|x|m|ftin|0|abbr=on}} --> | weight = <!-- use if weight_lbs is not appropriate --> | career winnings = | career wins = | race = | awards = | honors = <!--or |honours= --> | memorials = | horses = | website = | module = }}
Separate multiple values using {{Plainlist}} or {{Flatlist}}.
Parameters
- honorific_prefix
- name
- honorific_suffix
- image
- image_size
- image_upright
- alt
- caption
- native_name
- name in local language. If more than one, separate using {{Plain list}}
- native_name_lang
- ISO 639-1 code e.g. "fr" for French. If more than one, use {{lang}} instead
- full_name
- other_names
- nickname
- occupation
- birth_date
- Use {{Birth date and age}}, or {{Birth date}} if dead.
- birth_place
- death_date
- Use {{Death date and age}} if dead.
- death_place
- resting_place
- Location of grave, ashes, etc.
- resting_place_coordinates
- Precise coordinates of grave, etc.; use {{coord}}
- nationality
- Use only when necessary per WP:INFONAT
- spouse
- children
- height
- Height. MUST be cited in body of article. Use {{convert}}
- weight
- Weight. MUST be cited in body of article.
- career winnings
- career wins
- race
- awards
- honors or honours
- memorials
- Monuments, notable things named after the person
- horses
- website or url
- Official website
- module
- Embedded template, e.g. Olympics medal record
Use as a child template
The embed parameter is used when embedding this infobox into another.
This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
{{Infobox person | name = | image = | caption = | birth_date = | birth_place = | <!-- etc. --> | module = {{Infobox horseracing personality | embed=yes | parameter-1 = | parameter-2 = | parameter-3 = | parameter-4 = | <!-- etc. --> }} }}
Embedding other templates
The module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules).
{{Infobox horseracing personality | name = | <!-- etc. --> | module = {{Infobox ABC | embed = yes <!-- or child=yes / subbox=yes--> | <!-- etc. --> }} }}
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 category
See also
For articles about people
For articles about horses
- {{Infobox named horse}}
- {{Infobox racehorse}}
For articles about breeds and colors