Template:Infobox ice hockey biography: Difference between revisions
(Use Module:Infobox3cols directly for WP:PEIS reasons) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 02:53, 15 February 2024
{{{name}}} |
---|
Warning | This template is used on approximately 20,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
File:Information icon4.svg | This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
File:Lua-Logo.svg | This template uses Lua: |
This infobox is to be used for ice hockey players. Suggestions on change should be noted in the talk page.
Usage
Metric: height (cm), weight (kg)
{{{name}}} | |||||
---|---|---|---|---|---|
Hockey Hall of Fame, {{{halloffame}}} | |||||
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1]] | |||||
Born |
{{{birth_date}}} {{{birth_place}}} | ||||
Died |
{{{death_date}}} {{{death_place}}} | ||||
Height | 123 cm (4 ft 0 in) | ||||
Weight | 45 kg (99 lb; 7 st 1 lb) | ||||
Position | {{{position}}} | ||||
Shot | {{{shoots}}} | ||||
Caught | {{{catches}}} | ||||
{{{league}}} team (P) Cur. team Former teams |
{{{team}}} {{{prospect_team}}} ({{{prospect_league}}}) {{{former_teams}}} | ||||
Played for | {{{played_for}}} | ||||
National team |
File:Flag of the Soviet Union.svg Soviet Union, File:Olympic flag.svg Unified Team and File:Flag of Russia.svg Russia | ||||
NHL Draft |
{{{draft}}}, [[{{{draft_year}}} NHL Entry Draft|{{{draft_year}}}]] {{{draft_team}}} | ||||
WHA Draft |
{{{wha_draft}}}, [[{{{wha_draft_year}}} WHA Amateur Draft|{{{wha_draft_year}}}]] {{{wha_draft_team}}} | ||||
Playing career | {{{career_start}}}–{{{career_end}}} | ||||
Website | {{{website}}} | ||||
Medal record
|
<syntaxhighlight lang="wikitext" style="overflow: auto; white-space: pre;">
</syntaxhighlight>
Metric: height (m)
Infobox ice hockey biography | |||
---|---|---|---|
Height | 1.23 m (4 ft 0 in) |
<syntaxhighlight lang="wikitext" style="overflow: auto;"> | height_m = </syntaxhighlight>
Imperial: height (ft/in), weight (lb)
Infobox ice hockey biography | |||
---|---|---|---|
Height | 5 ft 6 in (168 cm) | ||
Weight | 120 lb (54 kg; 8 st 8 lb) |
<syntaxhighlight lang="wikitext" style="overflow: auto;"> | height_ft = | height_in = | weight_lb = </syntaxhighlight>
Parameters
The only required parameters are name and career_start (failure to fill in data for either of these WILL NOT delete that field from the infobox). You must enter parameter names exactly as shown below (i.e.: letter case matters!). Please follow the guidelines provided in parenthesis for best results:
TemplateData
TemplateData for Infobox ice hockey biography
A template to display an infobox for ice hockey players.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Player's name, if not given the page name is used.
| String | required |
halloffame | halloffame | Year of induction for [[Hockey Hall of Fame]]. | Number | optional |
image | image | Image of player (file name only). | File | optional |
image_size | image_size | Width in px, default is original image size. | Number | optional |
alt | alt | Image alt text, for visually impaired readers; see [[Wikipedia:Alternative text for images]]. | String | optional |
caption | caption | Image caption | String | optional |
birth_date | birth_date | For living players, use {{birth date and age}}, {{birth-date and age}}, or {{birth year and age}}. For deceased players, use {{birth date}} or {{birth-date}}. Add |df=yes before the }} if you want day-month format instead of month-day. | String | optional |
birth_place | birth_place | Place of birth. Format appropriate to the country (see [[WP:PLACE]]); use [[country]] as called at time of birth. | String | optional |
death_date | death_date | Use {{death date and age}} or {{death-date and age}}. Add |df=yes before the }} if you want day-month format instead of month-day. | String | optional |
death_place | death_place | Place of death (if known). Format appropriate to the country (see [[WP:PLACE]]) | String | optional |
height_cm | height_cm | Player's height (centimeters). Do not use both cm and ft/in. | Number | optional |
height_m | height_m | Player's height (meters). Do not use both m and ft/in. | Number | optional |
height_ft | height_ft | Player's height (feet; use with height_in). Do not use both ft/in and m. | Number | optional |
height_in | height_in | Player's height (inches; use with height_ft). Do not use both ft/in and m. | Number | optional |
weight_kg | weight_kg | Player's weight (kilograms). Do not use both kg and lb. | Number | optional |
weight_lb | weight_lb weight_lbs | Player's weight (pounds). Do not use both lb and kg. | Number | optional |
position | position | All positions can be wikified. i.e.: use [[Centre (ice hockey)|Centre]], [[Defenceman (ice hockey)|Defence]], [[Winger (ice hockey)|Left wing/Right wing]], [[Goaltender]]. | String | optional |
shoots | shoots | Left/Right (if player is a skater; use catches for a goalie). It is HIGHLY RECOMMENDED that one of these two field choices is used in the template. The only reason that this field has been made optional is because there is discretion involved in choosing which of the two to use in the infobox, based on whether the player is a skater or a goalie. | String | optional |
catches | catches | Left/Right (if player is a goalie; use shoots for a skater). It is HIGHLY RECOMMENDED that one of these two field choices is used in the template. The only reason that this field has been made optional is because there is discretion involved in choosing which of the two to use in the infobox, based on whether the player is a skater or a goalie. | String | optional |
league | league | Current league or possible top league (if a player is signed to an entry-level or two-way contract, or is playing on loan in other leagues). Use abbreviation and link. i.e.: [[National Hockey League|NHL]], [[Kontinental Hockey League|KHL]], etc. If league name is relatively short, you can use the full name. i.e.: [[SM-liiga]]. Infobox WILL flex to accommodate the name. | String | optional |
team | team | Current team (in league above). Enter FULL NAME of team with link, i.e. [[Boston Bruins]], [[HC Dynamo Moscow]], etc. | String | optional |
prospect_team | prospect_team | For players who are signed to an entry-level or two-way contract, or are playing on loan in other leagues and have not played for the top team (in top league above), or is assigned to a lower league team from a conditioning stint after injury. Enter FULL NAME of team with link, i.e. [[Ontario Reign]], [[HK Rīga]], etc. | String | optional |
prospect_league | prospect_league | For players who are signed to an entry-level or two-way contract, or are playing on loan in other leagues and have not played for the top team (in top league above), or is assigned to a lower league team from a conditioning stint after injury. Use abbreviation and link. i.e.: [[ECHL]], [[Minor Hockey League|MHL]], etc. Any entry into this field will also automatically place (P) next to the professional team listed. | String | optional |
former_teams | former_teams | Professional teams an active player played for. Enter FULL NAME of teams in chronological order. Former teams will not display if (current) team field is blank. | String | optional |
played_for | played_for | Professional teams a retired player played for. Enter FULL NAME of teams. | String | optional |
league_coach | league_coach | Current league coaching in. Use abbreviation and link. i.e.: [[National Hockey League|NHL]], [[Kontinental Hockey League|KHL]], etc. If league name is relatively short, you can use the full name. i.e.: [[SM-liiga]]. Infobox WILL flex to accommodate the name. | String | optional |
team_coach | team_coach | Current team (in league above) coaching for. Enter FULL NAME of team with link, i.e. [[Boston Bruins]], [[HC Dynamo Moscow]], etc. | String | optional |
coached_for | coached_for | Professional teams a coached was the coach for. Enter FULL NAME of teams. | String | optional |
sex | sex | Use f for female players. | String | optional |
ntl_team | ntl_team | Any national senior teams a player played for. Enter the country name, such as Czech Republic or its [[ISO 3166-1 alpha-3]] country code (CZE), which generates a link to [[Czech Republic men's national ice hockey team]] (or [[Czech Republic women's national ice hockey team]] if sex=f). | String | optional |
ntl_team_2 | ntl_team_2 | If a player played on two national senior teams. | String | optional |
ntl_team_3 | ntl_team_3 | In the rare case that a player played on 3 national senior teams such as those from Russia, Soviet Union and the Unified Team, or Eastern Bloc defectors who played for Canada prior to the fall of the Iron Curtain. | String | optional |
draft | draft | Position taken overall in [[NHL Entry Draft]] (1969 or later only), i.e. ''13th overall''. If not drafted AND career began in 1969 or later, put ''Undrafted''. | String | optional |
draft_year | draft_year | Year of NHL Entry Draft, i.e.: 2001 (which creates a link to [[2001 NHL Entry Draft]]). | Number | optional |
draft_team | draft_team | Enter FULL NAME of team (NO ABBREVIATION), i.e.: [[Edmonton Oilers]]. | String | optional |
wha_draft | wha_draft | Position taken overall in [[WHA Amateur Draft]], i.e. ''13th overall''. | String | optional |
wha_draft_year | wha_draft_year | Year of WHA Amateur Draft, i.e.: 2001 (which creates a link to [[2001 WHA Amateur Draft]]). | Number | optional |
wha_draft_team | wha_draft_team | Enter FULL NAME of team (NO ABBREVIATION), i.e.: [[Cleveland Crusaders]]. | String | optional |
career_start | career_start | First pro year if professional, first year of top level of amateur competition if amateur.
| Number | optional |
career_end | career_end | Final year of career. | Number | optional |
career_start_coach | career_start_coach | First pro year coaching if professional, first year of top level of amateur competition if amateur.
| Number | optional |
career_end_coach | career_end_coach | Final year of coaching career. | Number | optional |
website | website | Player's official website; use {{URL}} | String | optional |
medaltemplates | medaltemplates | Player's international medals won. Only use if there is no international play or awards section. When using do not use the MedalCountry template as that is already handled by the ntl_team parameters. | String | optional |
show-medals | show-medals | If set to "no", the medal table is collapsed. By default, it is expanded and will only be collapsed if the "hide" link is clicked.
| String | optional |
Use as a child template
The embed parameter is used when embedding this infobox into another.
This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.
<syntaxhighlight lang="wikitext" style="overflow: auto;">
Infobox ice hockey biography | |
---|---|
{{Infobox ice hockey biography |
}}
</syntaxhighlight>
Examples
Example 1: male player, draft
Aleš Hemský | |||
---|---|---|---|
Young man with clean-cut reddish-blonde hair and a blue business shirt and tie, holding up a dark athletic uniform reading "HEMSKY 01" in large white letters | |||
Born |
Pardubice, Czechoslovakia | August 13, 1983||
Height | 6 ft 0 in (183 cm) | ||
Weight | 192 lb (87 kg; 13 st 10 lb) | ||
Position | Right Wing | ||
Shoots | Right | ||
NHL team Former teams |
Edmonton Oilers CZE HC Pardubice | ||
National team | File:Flag of the Czech Republic.svg Czech Republic | ||
NHL Draft |
13th overall, 2001 Edmonton Oilers | ||
Playing career | 2002–present |
<syntaxhighlight lang="wikitext" style="overflow: auto">
Aleš Hemský | |||
---|---|---|---|
Young man with clean-cut reddish-blonde hair and a blue business shirt and tie, holding up a dark athletic uniform reading "HEMSKY 01" in large white letters | |||
Born |
Pardubice, Czechoslovakia | August 13, 1983||
Height | 6 ft 0 in (183 cm) | ||
Weight | 192 lb (87 kg; 13 st 10 lb) | ||
Position | Right Wing | ||
Shoots | Right | ||
NHL team Former teams |
Edmonton Oilers CZE HC Pardubice | ||
National team | File:Flag of the Czech Republic.svg Czech Republic | ||
NHL Draft |
13th overall, 2001 Edmonton Oilers | ||
Playing career | 2002–present |
</syntaxhighlight>
Example 2: female player, no image
Carla MacLeod | |||
---|---|---|---|
Born |
Spruce Grove, Alberta, Canada | June 16, 1982||
Height | 5 ft 4 in (163 cm) | ||
Weight | 133 lb (60 kg; 9 st 7 lb) | ||
Position | Defence | ||
Shot | Right | ||
WCHA team CWHL team |
Wisconsin Badgers Calgary Oval X-Treme | ||
National team | File:Flag of Canada (Pantone).svg Canada | ||
Playing career | 2003–2010 |
<syntaxhighlight lang="wikitext" style="overflow: auto">
Carla MacLeod | |||
---|---|---|---|
Born |
Spruce Grove, Alberta, Canada | June 16, 1982||
Height | 5 ft 4 in (163 cm) | ||
Weight | 133 lb (60 kg; 9 st 7 lb) | ||
Position | Defence | ||
Shot | Right | ||
WCHA team CWHL team |
Wisconsin Badgers Calgary Oval X-Treme | ||
National team | File:Flag of Canada (Pantone).svg Canada | ||
Playing career | 2003–2010 |
</syntaxhighlight>
Example 3: Hall of Fame player, deceased, Olympic medals
Valeri Kharlamov Валерий Харламов | |||
---|---|---|---|
Hockey Hall of Fame, 2005 | |||
Born |
Moscow, Soviet Union | 14 January 1948||
Died |
27 August 1981 Solnechnogorsk, Soviet Union | (aged 33)||
Height | 5 ft 8 in (173 cm) | ||
Weight | 165 lb (75 kg; 11 st 11 lb) | ||
Position | Left Wing | ||
Shot | Left | ||
Played for | CSKA Moscow | ||
National team | File:Flag of the Soviet Union.svg Soviet Union | ||
Playing career | 1967–1981 | ||
<syntaxhighlight lang="wikitext" style="overflow: auto">
Valeri Kharlamov Валерий Харламов | |||
---|---|---|---|
Hockey Hall of Fame, 2005 | |||
Born |
Moscow, Soviet Union | 14 January 1948||
Died |
27 August 1981 Solnechnogorsk, Soviet Union | (aged 33)||
Height | 5 ft 8 in (173 cm) | ||
Weight | 165 lb (75 kg; 11 st 11 lb) | ||
Position | Left Wing | ||
Shot | Left | ||
Played for | CSKA Moscow | ||
National team | File:Flag of the Soviet Union.svg Soviet Union | ||
Playing career | 1967–1981 | ||
</syntaxhighlight>
Example 4: goaltender, metric
Son Ho-sung 손호성 | |||
---|---|---|---|
File:Sonhosungnet.jpg | |||
Born |
Seoul, South Korea | 23 November 1982||
Height | 180 cm (5 ft 11 in) | ||
Weight | 78 kg (172 lb; 12 st 4 lb) | ||
Position | Goaltender | ||
Catches | Left | ||
ALH team Former teams |
Anyang Halla High1 | ||
National team | File:Flag of South Korea.svg South Korea | ||
Playing career | 2005–present |
<syntaxhighlight lang="wikitext" style="overflow: auto">
Son Ho-sung 손호성 | |||
---|---|---|---|
File:Sonhosungnet.jpg | |||
Born |
Seoul, South Korea | 23 November 1982||
Height | 180 cm (5 ft 11 in) | ||
Weight | 78 kg (172 lb; 12 st 4 lb) | ||
Position | Goaltender | ||
Catches | Left | ||
ALH team Former teams |
Anyang Halla High1 | ||
National team | File:Flag of South Korea.svg South Korea | ||
Playing career | 2005–present |
</syntaxhighlight>
Example 7: coach
Rick Bowness | |||
---|---|---|---|
File:Rick Bowness 2018-05-21 2.jpg | |||
Born |
Moncton, New Brunswick, Canada | January 25, 1955||
Height | 6 ft 1 in (185 cm) | ||
Weight | 185 lb (84 kg; 13 st 3 lb) | ||
Position | Right wing | ||
Shot | Right | ||
Played for |
Atlanta Flames Detroit Red Wings St. Louis Blues Winnipeg Jets | ||
Current NHL coach | Dallas Stars | ||
Coached for |
Winnipeg Jets Boston Bruins Ottawa Senators New York Islanders Phoenix Coyotes | ||
NHL Draft |
26th overall, 1975 Atlanta Flames | ||
WHA Draft |
62nd overall, 1975 Indianapolis Racers | ||
Playing career | 1975–1984 | ||
Coaching career | 1988–present |
<syntaxhighlight lang="wikitext">
Rick Bowness | |||
---|---|---|---|
File:Rick Bowness 2018-05-21 2.jpg | |||
Born |
Moncton, New Brunswick, Canada | January 25, 1955||
Height | 6 ft 1 in (185 cm) | ||
Weight | 185 lb (84 kg; 13 st 3 lb) | ||
Position | Right wing | ||
Shot | Right | ||
Played for |
Atlanta Flames Detroit Red Wings St. Louis Blues Winnipeg Jets | ||
Current NHL coach | Dallas Stars | ||
Coached for |
Winnipeg Jets Boston Bruins Ottawa Senators New York Islanders Phoenix Coyotes | ||
NHL Draft |
26th overall, 1975 Atlanta Flames | ||
WHA Draft |
62nd overall, 1975 Indianapolis Racers | ||
Playing career | 1975–1984 | ||
Coaching career | 1988–present |
</syntaxhighlight>
Example 6: embed parameter
Berndt Westerlund | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
File:Berndt Westerlund.png | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Born | Berndt Westerlund 27 March 1932 <ref name="nationalteam">"Landslagsdatabasen: Berndt Westerlund" (in Swedish). Swedish Football Association. Retrieved 15 November 2020. {{cite web}} : CS1 maint: unrecognized language (link)</ref>Stockholm, Sweden | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
<syntaxhighlight lang="wikitext" style="overflow: auto">
Berndt Westerlund | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
File:Berndt Westerlund.png | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Born | Berndt Westerlund 27 March 1932 <ref name="nationalteam">"Landslagsdatabasen: Berndt Westerlund" (in Swedish). Swedish Football Association. Retrieved 15 November 2020. {{cite web}} : CS1 maint: unrecognized language (link)</ref>Stockholm, Sweden | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
</syntaxhighlight>
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
- Category:Infobox ice hockey biography with problems (0)
- Category:Pages using infobox ice hockey biography with unknown parameters (0)
- Category:Articles using infobox ice hockey biography with embed parameter (0)
See also
- Supporting templates and modules
- Templates to be used with infobox
{{Birth date and age}}
,{{Birth-date and age}}
, or{{Birth year and age}}
(living player){{Birth date}}
and{{Death date and age}}
(deceased player){{Birth-date}}
and{{Death-date and age}}
(deceased player){{URL}}
(website)
- Information
- Infobox templates
- Pages with broken file links
- Templates that generate short descriptions
- Lua-based templates
- Templates using TemplateData
- CS1 maint: unrecognized language
- Templates generating hCards
- Ice hockey infobox templates
- Sportsperson infobox templates
- Biographical templates usable as a module
- Templates that add a tracking category
- Infobox templates with three columns