Template:Infobox skier/doc: Difference between revisions
en>Whpq (→Usage: remove extra occurrence of spouse) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:11, 18 January 2023
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox skier. 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: |
{{Infobox skier}} is the standard infobox for skier articles, and is within the purview of WikiProject Ski. Please discuss major changes on the talk page before making them.
Usage
Script error: No such module "Parameter names example".
{{Infobox skier <!-- See Wikipedia:WikiProject_Ski --> | name = {{subst:PAGENAMEBASE}} | image = | image_size = | alt = | caption = | nationality = <!-- Use {{three-character flagicon}} --> | full_name = <!-- Leave blank if not different from given name --> | birth_name = | birth_date = <!-- {{birth date and age|yyyy|mm|dd}} --> | birth_place = | death_date = <!-- {{death date and age|deathyear|mm|dd|birthyear|mm|dd}} --> | death_place = | height = <!-- X ft X in, X cm or X m (conversions are automatic) --> | club = <!-- Not needed if athlete has retired --> | personalbest = <!-- Personal best distance --> | spouse = <!-- Not needed if not married --> | seasons = | wins = | teamwins = | totalpodiums = | teampodiums = | individual_starts = | team_starts = | wcoveralls = | wctitles = | fhtitles = | sftitles = | ratitles = | nttitles = | jptitles = <!-- Number of times an athlete won the Ski Jumping (JP) Cup between 1996 and 2000; will not apply to anyone else besides the five who won it --> | medaltemplates = | show-medals = | updated = }}
- When filling in the updated parameter, use
{{subst:Date}}
or{{subst:Date|2=mdy}}
.
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