Difference between revisions of "Template:Infobox speed skater/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Zyxw
(document module parameter)
Line 4: Line 4:
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
{{Tracks Wikidata|P18|cat=No local image but image on Wikidata}}
 
{{Tracks Wikidata|P18|cat=No local image but image on Wikidata}}
 +
 
{{Parameter names example | name | image | image_size | imagesize | alt | caption | native_name | native_name_lang | birth_name | full_name | fullname | nickname | nationality | birth_date | birth_place | death_date | death_place | residence | education | alma_mater | height | weight | spouse | life_partner | website | country | sport | event | club | turnedpro | coach | retired | worlds | olympics | highestranking | pb | module | worldcup | worldchamp | medals | medaltemplates | medals-expand | show-medals = yes | nocat_wdimage }}
 
{{Parameter names example | name | image | image_size | imagesize | alt | caption | native_name | native_name_lang | birth_name | full_name | fullname | nickname | nationality | birth_date | birth_place | death_date | death_place | residence | education | alma_mater | height | weight | spouse | life_partner | website | country | sport | event | club | turnedpro | coach | retired | worlds | olympics | highestranking | pb | module | worldcup | worldchamp | medals | medaltemplates | medals-expand | show-medals = yes | nocat_wdimage }}
  
Line 72: Line 73:
 
| World championship wins
 
| 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]]).
 +
 +
<pre style="overflow: auto;">
 +
{{Infobox speed skater
 +
| name =
 +
| <!-- etc. -->
 +
| module =
 +
  {{Infobox ABC
 +
  | embed = yes <!-- or child=yes / subbox=yes-->
 +
  | <!-- etc. -->
 +
  }}
 +
}}
 +
</pre>
  
 
== Microformat ==
 
== Microformat ==

Revision as of 13:36, 19 January 2019

Template:Uses Infobox sportsperson

Template:Tracks Wikidata

Template: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      = 
| 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

Template:UF-hcard-person

Tracking categories

via Infobox sportsperson

See also