Template:Infobox speed skater/sandbox
This is the template sandbox page for Template:Infobox speed skater (diff). See also the companion subpage for test cases. |
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. |
This template uses Lua: |
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |||
Personal information | |||
---|---|---|---|
Native name | {{{native_name}}} | ||
Birth name | {{{birth_name}}} | ||
Full name | {{{full_name}}} | ||
Nickname | {{{nickname}}} | ||
Nationality | {{{nationality}}} | ||
Born | {{{birth_date}}} {{{birth_place}}} | ||
Died | {{{death_date}}} {{{death_place}}} | ||
Education | {{{education}}} | ||
Alma mater | {{{alma_mater}}} | ||
Height | {{{height}}} | ||
Weight | {{{weight}}} | ||
Spouse | {{{spouse}}} | ||
Life partner | {{{life_partner}}} | ||
Website | {{{website}}} | ||
{{{module}}} | |||
Sport | |||
Country | {{{country}}} | ||
Sport | {{{sport}}} | ||
Event | {{{event}}} | ||
Club | {{{club}}} | ||
Turned pro | {{{turnedpro}}} | ||
Coached by | {{{coach}}} | ||
Retired | {{{retired}}} | ||
World Cup wins | {{{worldcup}}} | ||
World championship wins | {{{worldchamp}}} | ||
Achievements and titles | |||
Olympic finals | {{{olympics}}} | ||
World finals | {{{worlds}}} | ||
Highest world ranking | {{{highestranking}}} | ||
Personal best | {{{pb}}} | ||
Medal record
|
Usage
[edit]{{Infobox speed skater
| headercolor =
| name =
| image =
| image_size =
| imagesize =
| alt =
| caption =
| native_name =
| native_name_lang =
| birth_name = <!-- if different than name -->
| full_name = <!-- if different than name or birth_name -->
| nickname =
| nationality = <!-- use only when necessary per [[WP:INFONAT]] -->
| birth_date = <!-- {{birth date and age|yyyy|mm|dd}} -->
| birth_place =
| death_date = <!-- {{death date and age|death year|death month|death day|birth year|birth month|birth day}} -->
| death_place =
| residence =
| education =
| alma_mater =
| height = <!-- "X ft Y in" or "X cm" plus optional reference (conversions are automatic) -->
| weight = <!-- "X lb", "X kg" or "X st Y lb" plus optional reference (conversions are automatic) -->
| spouse =
| life_partner =
| website =
| country =
| sport = <!-- Speed skating by default -->
| event =
| club =
| turnedpro =
| coach =
| retired =
| worlds =
| olympics =
| highestranking =
| pb =
| module =
| worldcup =
| worldchamp =
| medals =
| medaltemplates =
| medals-expand =
| show-medals =
| nocat_wdimage =
}}
Parameters
[edit]This template accepts all parameters that {{Infobox sportsperson}} does, see here for a complete list. For worldcup
and worldchamp
, see below:
Parameter | Description |
---|---|
worldcup | World Cup wins |
worldchamp | World championship wins |
Embedding other templates
[edit]The module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules and Category:Biographical templates usable as a module).
{{Infobox speed skater
| name =
| <!-- etc. -->
| module =
{{Infobox ABC
| embed = yes <!-- or child=yes / subbox=yes-->
| <!-- etc. -->
}}
}}
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 categories
[edit]- Category:Pages using Infobox speed skater with unknown parameters (1)
- Category:Pages using Infobox speed skater with conflicting parameters (0)
- Category:No local image but image on Wikidata (8,828) – Used by Template:Wikidata image to track articles where an infobox has no image but Wikidata has an image name. To exclude articles from this category, add an image or
|nocat_wdimage=yes
to the infobox.