Template:Infobox alpine ski racer/sandbox
Personal information | |
---|---|
Occupation | Alpine skier |
This is the template sandbox page for Template:Infobox alpine ski racer (diff). See also the companion subpage for test cases. |
This template uses Lua: |
This template is a customized wrapper for {{Infobox sportsperson}}. Any field from {{Infobox sportsperson}} can work. It will also emit the same hCard microformat as {{Infobox sportsperson}} . Questions? Just ask here or at Template talk:Infobox sportsperson. |
- image (P18) (see uses)
Usage
[edit][[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |||
Personal information | |||
---|---|---|---|
Birth name | {{{birth_name}}} | ||
Full name | {{{full_name}}} | ||
Born | {{{birth_date}}} {{{birth_place}}} | ||
Died | {{{death_date}}} {{{death_place}}} | ||
Occupation | Alpine skier | ||
Height | {{{height}}} | ||
Skiing career | |||
Disciplines | {{{disciplines}}} | ||
Club | {{{club}}} | ||
World Cup debut | {{{wcdebut}}} | ||
Retired | {{{retired}}} | ||
Website | {{{website}}} | ||
Olympics | |||
Teams | {{{olympicteams}}} | ||
Medals | {{{olympicmedals}}} ({{{olympicgolds}}} gold) | ||
Paralympics | |||
Teams | {{{paralympicteams}}} | ||
Medals | {{{paralympicmedals}}} ({{{paralympicgolds}}} gold) | ||
World Championships | |||
Teams | {{{worldsteams}}} | ||
Medals | {{{worldsmedals}}} ({{{worldsgolds}}} gold) | ||
World Cup | |||
Seasons | {{{wcseasons}}} | ||
Wins | {{{wcwins}}} | ||
Podiums | {{{wcpodiums}}} | ||
Overall titles | {{{wcoveralls}}} | ||
Discipline titles | {{{wctitles}}} | ||
Medal record
| |||
Last updated on: {{{updated}}} |
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
[edit]This template accepts all parameters that {{Infobox sportsperson}} accepts. Please see here for a complete list.
- 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. example
.com - 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
[edit]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
[edit]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
[edit]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
[edit]- Category:Pages using Infobox alpine ski racer with unknown parameters (0)
- Category:Pages using Infobox alpine ski racer with conflicting parameters (0)
Supporting templates
[edit]See also
[edit]- {{Infobox skier}}
- {{Infobox sportsperson}}