Template:Infobox speed skater: Difference between revisions
en>MusikBot II m (Changed protection settings for "Template:Infobox speed skater": High-risk template or module: 2523 transclusions (more info) ([Edit=Require extended confirmed access] (indefinite) [Move=Require extended confirmed access] (indefinite))) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:06, 18 January 2023
File:Ambox warning yellow.svg | This template is a customized wrapper for {{Infobox sportsperson}}. Any field from {{Infobox sportsperson}} can work so long as it is added to this template first. It will also emit the same hCard microformat as {{Infobox sportsperson}} . Questions? Just ask on Template talk:Infobox sportsperson. |
File:Lua-Logo.svg | This template uses Lua: |
Script error: No such module "Parameter names example".
Usage
{{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
All of the parameters shown in the previous section, except worldcup
and worldchamp
, are documented at Template:Infobox sportsperson.
Parameter | Description |
---|---|
worldcup | World Cup wins |
worldchamp | World championship wins |
Embedding other templates
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
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 categories
- via Infobox sportsperson
- Category:No local image but image on Wikidata (10) – 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.