Template:Infobox horseracing personality/sandbox
This is the template sandbox page for Template:Infobox horseracing personality (diff). See also the companion subpage for test cases. |
This template uses Lua: |
- image (P18) (see uses)
Usage
edit{{{honorific_prefix}}} {{{name}}} {{{honorific_suffix}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]] | |
Native name | {{{native_name}}} |
Full name | {{{full_name}}} |
Other names | {{{other_names}}} |
Nickname | {{{nickname}}} |
Occupation | {{{occupation}}} |
Born | {{{birth_date}}} {{{birth_place}}} |
Died | {{{death_date}}} {{{death_place}}} |
Resting place | {{{resting_place}}} {{{resting_place_coordinates}}} |
Nationality | {{{nationality}}} |
Spouse | {{{spouse}}} |
Children | {{{children}}} |
Height | {{{height}}} |
Weight | {{{weight}}} |
Career winnings | {{{career winnings}}} |
Career wins | {{{career wins}}} |
Major racing wins | |
{{{race}}} | |
Racing awards | |
{{{awards}}} | |
Honors | |
{{{honors}}} or {{{honours}}} | |
Memorials | |
{{{memorials}}} | |
Significant horses | |
{{{horses}}} | |
Website | |
{{{website}}} | |
{{{module}}} |
{{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 = <!-- if different -->
| 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
edit- 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
editThe 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 =
| <nowiki><!--</nowiki> ''[[et cetera|etc.]]'' <nowiki>--></nowiki>
| module =
<nowiki>{{</nowiki>{{{1|{{{template|<includeonly>{{BASEPAGENAME}}</includeonly><noinclude>EMBEDDED TEMPLATE NAME</noinclude>}}}}}} | {{#if:{{{parameter|}}} | {{{parameter}}}=yes | child=yes <nowiki><!--</nowiki> ''or'' embed=yes ''or'' subbox=yes <nowiki>--></nowiki>}}
| {{{2|{{{example_parameter1|parameter-1}}}}}} =
| {{{3|{{{example_parameter2|parameter-2}}}}}} =
| {{{4|{{{example_parameter3|parameter-3}}}}}} =
| {{{5|{{{example_parameter4|parameter-4}}}}}} =
| <nowiki><!--</nowiki> ''etc.'' <nowiki>--></nowiki>
}}
}}
Embedding other templates
editThe 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
editThe 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
editDate-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
edithCard 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
editSee also
editFor articles about people
editFor articles about horses
edit- {{Infobox named horse}}
- {{Infobox racehorse}}