Template:Infobox alpine ski racer: Difference between revisions
en>Christian75 (Adding image_upright to #invoke:Check for unknown parameters) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:06, 18 January 2023
Alpine skier | |
Script error: No such module "Wikidata". |
File:Lua-Logo.svg | This template uses Lua: |
Usage
Script error: No such module "Parameter names example".
Copy and paste the template below:
{{Infobox alpine ski racer | name = | gender = <!-- or: role --> | image = | image_size = | alt = | caption = | disciplines = | club = | full_name = <!-- if different than name or birth_name --> | birth_name = <!-- if different than name or full_name --> | birth_date = <!-- {{birth date and age|YYYY|MM|DD|df=y}} --> | birth_place = | death_date = <!-- {{death date and age|YYYY|MM|DD|df=y}} --> | death_place = | height = <!-- X ft Y in, X cm OR X m; the template will automatically convert --> | wcdebut = | retired = | website = <!-- {{URL|example.com}} --> | olympicteams = | olympicmedals = | olympicgolds = | paralympicteams = | paralympicmedals = | paralympicgolds = | worldsteams = | worldsmedals = | worldsgolds = | wcseasons = | wcwins = | wcpodiums = | wcoveralls = | wctitles = | medals = | medals-expand = | updated = }}
Parameters
- name
- Name of the skier (need not exactly match page name)
- gender
- use "m" for males or "f" for females
- image
- An image of the person. Only the file name is required, such as example.jpg or sample.png. It is not necessary to use File: before the name or to wikilink the image. If no image is available, do not use an image placeholder.
- image_size
- A size in pixels to display the image, such as 200px (width), x300px (height), or 200x300px (max width and height). Use only when absolutely necessary. If empty or omitted, frameless is used to display the image at the default thumbnail size (normally 220px, but logged in users may change this at Preferences: Appearance).
- alt
- Alternative text for image, for visually impaired readers (see WP:ALT).
- caption
- Optional caption to be displayed below the image.
- disciplines
- events regularly contested by the skier on the World Cup
- club
- local "home" ski team, if applicable
- full_name
- The full name of the person, if different than name or birth_name.
- birth_name
- The birth name of the person, if different than name or full_name.
- birth_date
- If the person is living, use {{Birth date and age}}, {{Birth-date and age}}, or {{Birth year and age}}. If deceased, use {{Birth date}} or {{Birth-date}}.
- birth_place
- town/city, state/province, country
- death_date
- (if applicable) If the date of birth is known, use {{Death date and age}}, {{Death-date and age}}, or {{Death year and age}}. Otherwise, use {{Death date}} or {{Death-date}}.
- death_place
- (if applicable) town/city, state/province, country
- height
- The skier's height. Use "X cm", "X m" or "X ft Y in". The infobox will automatically display the appropriate conversion.
| height = 5 ft 10 in
→ 5 ft 10 in (178 cm)| height = 180 cm
→ 180 cm (5 ft 11 in)| height = 1.80 m
→ 1.80 m (5 ft 11 in)- wcdebut
- Date of first World Cup start
- retired
- (if applicable)
- website
- use {{URL}} template, e.g. Script error: No such module "URL".
- olympicteams
- number of Olympics attended
- olympicmedals
- (if applicable)
- olympicgolds
- (if applicable)
- paralympicteams
- number of Paralympics attended
- paralympicmedals
- (if applicable)
- paralympicgolds
- (if applicable)
- worldsteams
- number of World Championships attended
- worldsmedals
- (if applicable)
- worldsgolds
- (if applicable)
- wcseasons
- number of full or partial World Cup seasons competed in
- wcwins
- number of World Cup wins (if applicable)
- wcpodiums
- number of World Cup top-three finishes (if none, there is probably no reason for a Wikipedia page to exist yet)
- wcoveralls
- number of overall World Cup season titles (if applicable)
- wctitles
- number of World Cup season titles in an individual discipline, e.g. giant slalom (if applicable)
- medals or medaltemplates
- All templates from the medal records table except {{MedalTableTop}} and {{MedalBottom}}. For more information, see the medal templates documentation.
- medals-expand or show-medals
- If set to yes or any value, the medals table is shown (expanded). Otherwise, it is hidden (collapsed) and will only be displayed if the "show" link is selected.
- updated
- Date information was updated (use {{subst:Date}} or {{subst:Date|2=mdy}} for the current date)
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
Supporting templates
See also
- {{Infobox skier}}
- {{Infobox sportsperson}}