Шаблон:Infobox ice hockey player/doc
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) | Imperial: height (ft/in), weight (lb) | |
---|---|---|
{{Infobox ice hockey player | name = | nickname = | halloffame = | image = | image_size = | alt = | caption = | birth_date = | birth_place = | death_date = | death_place = | height_cm = | weight_kg = | position = | shoots = | catches = | league = | team = | prospect_league = | prospect_team = | former_teams = | played_for = | sex = | ntl_team = | ntl_team_2 = | ntl_team_3 = | draft = | draft_year = | draft_team = | wha_draft = | wha_draft_year = | wha_draft_team = | career_start = | career_end = | website = }} |
{{Infobox ice hockey player | name = | nickname = | halloffame = | image = | image_size = | alt = | caption = | birth_date = | birth_place = | death_date = | death_place = | height_ft = | height_in = | weight_lb = | position = | shoots = | catches = | league = | team = | prospect_league = | prospect_team = | former_teams = | played_for = | sex = | ntl_team = | ntl_team_2 = | ntl_team_3 = | draft = | draft_year = | draft_team = | wha_draft = | wha_draft_year = | wha_draft_team = | career_start = | career_end = | website = }} |
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
[вироиши манбаъ]Infobox ice hockey player
A template to display an infobox for ice hockey players.
Параметр | Тавзеҳот | Type | Status | |
---|---|---|---|---|
name | name | Player's name, if not given the page name is used.
| String | required |
nickname | nickname | Player's nickname.
| String | optional |
halloffame | halloffame | Year of induction for [[Hockey Hall of Fame]].
| Number | optional |
image | image | Image of player (file name only).
| String | optional |
image_size | image_size | Width in px, default is original image size. Try to use 230px, if image is too pixelated upon article preview, leave field blank and image will be shrunk to original 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 | City, then comma, then [[country code]]; use [[country|country's abbreviation]] 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).
| 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. 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_league | prospect_league | For players who have been drafted, but have yet to play a game. 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 pro team listed.
| String | optional |
prospect_team | prospect_team | For players who have been drafted, but have yet to play a game. Enter FULL NAME of team with link, i.e. [[Ontario Reign]], [[HK Rīga]], etc.
| String | optional |
former_teams | former_teams | Pro teams an active player played for. Enter FULL NAME of teams in chronological order.
| String | optional |
played_for | played_for | Pro teams a retired player played 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. Only enter the country name, such as Czech Republic, 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 Amatuer 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 | required |
career_end | career_end | Final year of 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 |
Examples
[вироиши манбаъ]Example 1: male player, draft
[вироиши манбаъ]Aleš Hemský | |||
---|---|---|---|
Hemský at the 2001 NHL entry draft | |||
Born |
Pardubice, CS | Август 13, 1983||
Height | 6 ft 0 in (183 см) | ||
Weight | 192 lb (87 кg; 13 st 10 lb) | ||
Position | Right Wing | ||
Shoots | Right | ||
NHL team Former teams |
Edmonton Oilers CZE HC Pardubice | ||
National team | Чехия | ||
NHL Draft |
13th overall, 2001 Edmonton Oilers | ||
Playing career | 2002–present |
{{Infobox ice hockey player | name = Aleš Hemský | image = Hemskydraft.png | image_size = 230px | alt = 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 | caption = Hemský at the 2001 NHL entry draft | birth_date = {{Birth date and age|1983|8|13|mf=y}} | birth_place = [[Pardubice]], [[Czechoslovakia|CS]] | height_ft = 6 | height_in = 0 | weight_lb = 192 | position = [[Winger (ice hockey)|Right Wing]] | shoots = Right | league = [[National Hockey League|NHL]] | team = [[Edmonton Oilers]] | former_teams = '''[[Czech Extraliga|CZE]]'''<br/>[[HC Pardubice]] | ntl_team = Czech Republic | draft = 13th overall | draft_year = 2001 | draft_team = [[Edmonton Oilers]] | career_start = 2002 | career_end = }}
Example 2: female player, no image
[вироиши манбаъ]Carla MacLeod | |||
---|---|---|---|
Born |
Spruce Grove, AB, CAN | Июн 16, 1982||
Height | 5 ft 4 in (163 см) | ||
Weight | 133 lb (60 кg; 9 st 7 lb) | ||
Position | Defence | ||
Shot | Right | ||
WCHA team CWHL team |
Wisconsin Badgers Calgary Oval X-Treme | ||
National team | Канада | ||
Playing career | 2003–2010 |
{{Infobox ice hockey player | name = Carla MacLeod | birth_date = {{birth date and age|1982|06|16}} | birth_place = [[Spruce Grove]], [[Alberta|AB]], [[Canada|CAN]] | height_ft = 5 | height_in = 4 | weight_lb = 133 | position = [[Defenceman (ice hockey)|Defence]] | shoots = Right | league = [[Western Collegiate Hockey Association|WCHA]] team<br/>[[Canadian Women's Hockey League|CWHL]] | team = [[Wisconsin Badgers women's ice hockey|Wisconsin Badgers]]<br/>[[Calgary Oval X-Treme]] | sex = f | ntl_team = Canada | career_start = 2003 | career_end = 2010 }}
Example 3: Hall of Fame player, deceased
[вироиши манбаъ]Aubrey "Dit" Clapper | |||
---|---|---|---|
Hockey Hall of Fame, 1947 | |||
Born |
Newmarket, ON, CAN | Феврал 9, 1907||
Died |
Январ 21, 1978 Peterborough, ON, CAN | (70 сола)||
Height | 6 ft 2 in (188 см) | ||
Weight | 200 lb (91 кg; 14 st 4 lb) | ||
Position |
Left Wing (1927–37) Defence (1937–47) | ||
Shot | Right | ||
Played for | Boston Bruins | ||
Playing career | 1927–1947 |
{{Infobox ice hockey player | name = Aubrey "Dit" Clapper | halloffame = 1947 | image = | birth_date = {{birth date|1907|2|9|mf=yes}} | birth_place = [[Newmarket, Ontario|Newmarket]], [[Ontario|ON]], [[Canada|CAN]] | death_date = {{death date and age|1978|1|21|1907|2|9|mf=yes}} | death_place = [[Peterborough, Ontario|Peterborough]], [[Ontario|ON]], [[Canada|CAN]] | height_ft = 6 | height_in = 2 | weight_lb = 200 | position = [[Winger (ice hockey)|Left Wing]] (1927–37)<br/>[[Defenceman (ice hockey)|Defence]] (1937–47) | shoots = Right | league = [[National Hockey League|NHL]] | played_for = [[Boston Bruins]] | career_start = 1927 | career_end = 1947 }}
Example 4: goaltender, metric
[вироиши манбаъ]Son Ho-sung 손호성 | |||
---|---|---|---|
Son during an away game against High1 | |||
Born |
Seoul, KOR | 23 Ноябр 1982||
Height | 180 см (5 ft 11 in) | ||
Weight | 78 кg (172 lb; 12 st 4 lb) | ||
Position | Goaltender | ||
Catches | Left | ||
ALH team Former teams |
Anyang Halla High1 | ||
National team | Кореяи Ҷанубӣ | ||
Playing career | 2005–present |
{{Infobox ice hockey player | name = Son Ho-sung<br/>손호성 | image = Sonhosungnet.jpg | image_size = 230px | caption = Son during an away game against [[High1]] | birth_date = {{Birth date and age|1982|11|23|df=y}} | birth_place = [[Seoul]], [[South Korea|KOR]] | height_cm = 180 | weight_kg = 78 | position = [[Goaltender]] | catches = Left | league = [[Asia League Ice Hockey|ALH]] | team = [[Anyang Halla]] | former_teams = [[High1]] | ntl_team = South Korea | career_start = 2005 | career_end = }}
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.
See also
[вироиши манбаъ]- 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
- Supporting templates and modules
- Hidden tracking/maintenance categoriess