«Կաղապար:Տեղեկաքարտ Հոկեյիստ/doc»–ի խմբագրումների տարբերություն

Content deleted Content added
չNo edit summary
Տող 1.
{{Documentation subpage}}
== Օգտագործում ==
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
<pre>
{{esoteric}}
{{Տեղեկաքարտ Հոկեյիստ
 
| անուն =
This infobox is to be used for [[ice hockey]] players. Suggestions on change should be noted in the talk page.
| Սեռ =
 
| պատկեր =
== Usage ==
| լայնություն =
{|
| նիշքի նկարագրություն =
|- style="vertical-align:bottom"
| դիրք =
! Metric: height (cm), weight (kg)
| հասակ =
! &nbsp;&nbsp;
| քաշ =
! Imperial: height (ft/in), weight (lb)
| բռնվածք =
|- style="vertical-align:top"
| մականուն =
|<pre style="overflow: auto">
| Խաղային կարիերա =
{{Infobox ice hockey player
| Մարզչական կարիերա =
| name =
| քաղաքացիություն = {{Դրոշավորում|Երկիր}}
| ծննդյան ամսաթիվnickname = oo.աա.տտտտ
| halloffame =
| ծննդավայր = Քաղաք, երկիր
| մահվանimage ամսաթիվ = օօ.աա.տտտտ
| image_size =
| Մահվան վայր = Քաղաք, երկիր
| NHLalt դրաֆթ =
| փառքի սրահումcaption = տարի
| Մեդալներ birth_date =
| birth_place =
}}</pre>
| 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 =
}}
</pre>
| &nbsp;&nbsp;
|<pre style="overflow: auto">
{{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 =
}}
</pre>
|}
 
== 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 ===
{{TemplateDataHeader}}
<templatedata>{
"description": "A template to display an infobox for ice hockey players.",
"params": {
"name": {
"description": "Player's name, if not given the page name is used.",
"type": "string",
"default": "{{PAGENAME}}",
"required": true
},
"nickname": {
"description": "Player's nickname.",
"type": "string",
"default": "",
"required": false
},
"halloffame": {
"description": "Year of induction for [[Hockey Hall of Fame]].",
"type": "number",
"default": "",
"required": false
},
"image": {
"description": "Image of player (file name only).",
"type": "string",
"default": "",
"required": false
},
"image_size": {
"description": "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.",
"type": "number",
"default": "",
"required": false
},
"alt": {
"description": "Image alt text, for visually impaired readers; see [[Wikipedia:Alternative text for images]].",
"type": "string",
"default": "",
"required": false
},
"caption": {
"description": "Image caption",
"type": "string",
"default": "",
"required": false
},
"birth_date": {
"description": "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.",
"type": "string",
"default": "",
"required": false
},
"birth_place": {
"description": "City, then comma, then [[country code]]; use [[country|country's abbreviation]] as called at time of birth.",
"type": "string",
"default": "",
"required": false
},
"death_date": {
"description": "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.",
"type": "string",
"default": "",
"required": false
},
"death_place": {
"description": "Place of death (if known).",
"type": "string",
"default": "",
"required": false
},
"height_cm": {
"description": "Player's height (centimeters). Do not use both cm and ft/in.",
"type": "number",
"default": "",
"required": false
},
"height_m": {
"description": "Player's height (meters). Do not use both m and ft/in.",
"type": "number",
"default": "",
"required": false
},
"height_ft": {
"description": "Player's height (feet; use with height_in). Do not use both ft/in and m.",
"type": "number",
"default": "",
"required": false
},
"height_in": {
"description": "Player's height (inches; use with height_ft). Do not use both ft/in and m.",
"type": "number",
"default": "",
"required": false
},
"weight_kg": {
"description": "Player's weight (kilograms). Do not use both kg and lb.",
"type": "number",
"default": "",
"required": false
},
"weight_lb": {
"aliases": ["weight_lbs"],
"description": "Player's weight (pounds). Do not use both lb and kg.",
"type": "number",
"default": "",
"required": false
},
"position": {
"description": "All positions can be wikified. i.e.: use [[Centre (ice hockey)|Centre]], [[Defenceman (ice hockey)|Defence]], [[Winger (ice hockey)|Left Wing/Right Wing]], [[Goaltender]].",
"type": "string",
"default": "",
"required": false
},
"shoots": {
"description": "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.",
"type": "string",
"default": "",
"required": false
},
"catches": {
"description": "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.",
"type": "string",
"default": "",
"required": false
},
"league": {
"description": "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.",
"type": "string",
"default": "",
"required": false
},
"team": {
"description": "Current team (in league above). Enter FULL NAME of team with link, i.e. [[Boston Bruins]], [[HC Dynamo Moscow]], etc.",
"type": "string",
"default": "",
"required": false
},
"prospect_league": {
"description": "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.",
"type": "string",
"default": "",
"required": false
},
"prospect_team": {
"description": "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.",
"type": "string",
"default": "",
"required": false
},
"former_teams": {
"description": "Pro teams an active player played for. Enter FULL NAME of teams in chronological order.",
"type": "string",
"default": "",
"required": false
},
"played_for": {
"description": "Pro teams a retired player played for. Enter FULL NAME of teams.",
"type": "string",
"default": "",
"required": false
},
"sex": {
"description": "Use f for female players.",
"type": "string",
"default": "",
"required": false
},
"ntl_team": {
"description": "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).",
"type": "string",
"default": "",
"required": false
},
"ntl_team_2": {
"description": "If a player played on two national senior teams.",
"type": "string",
"default": "",
"required": false
},
"ntl_team_3": {
"description": "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.",
"type": "string",
"default": "",
"required": false
},
"draft": {
"description": "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''.",
"type": "string",
"default": "",
"required": false
},
"draft_year": {
"description": "Year of NHL Entry Draft, i.e.: 2001 (which creates a link to [[2001 NHL Entry Draft]]).",
"type": "number",
"default": "",
"required": false
},
"draft_team": {
"description": "Enter FULL NAME of team (NO ABBREVIATION), i.e.: [[Edmonton Oilers]].",
"type": "string",
"default": "",
"required": false
},
"wha_draft": {
"description": "Position taken overall in [[WHA Amateur Draft]], i.e. ''13th overall''.",
"type": "string",
"default": "",
"required": false
},
"wha_draft_year": {
"description": "Year.",
"description": "Year of WHA Amateur Draft, i.e.: 2001 (which creates a link to [[2001 WHA Amatuer Draft]]).",
"type": "number",
"default": "",
"required": false
},
"wha_draft_team": {
"description": "Enter FULL NAME of team (NO ABBREVIATION), i.e.: [[Cleveland Crusaders]].",
"type": "string",
"default": "",
"required": false
},
"career_start": {
"description": "First pro year if professional, first year of top level of amateur competition if amateur.",
"type": "number",
"default": "value of ''draft_year''.",
"required": true
},
"career_end": {
"description": "Final year of career.",
"type": "number",
"default": "",
"required": false
},
"website": {
"description": "Player's official website; use {{URL}}",
"type": "string",
"default": "",
"required": false
}
}}</templatedata>
 
== Examples ==
 
=== Example 1: male player, draft ===
{{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 =
}}
<pre style="overflow: auto">
{{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 =
}}
</pre>
{{clear}}
 
=== Example 2: female player, no image ===
{{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
}}
<pre style="overflow: auto">
{{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
}}
</pre>
{{clear}}
 
=== Example 3: Hall of Fame player, deceased ===
{{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
}}
<pre style="overflow: auto">
{{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
}}
</pre>
{{clear}}
 
=== Example 4: goaltender, metric ===
{{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 =
}}
<pre style="overflow: auto">
{{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 =
}}
</pre>
{{clear}}
 
== Microformat ==
{{UF-hcard-person}}
 
== See also ==
;Templates to be used with infobox:
* {{tlx|Birth date and age}}, {{tlx|Birth-date and age}}, or {{tlx|Birth year and age}} (living player)
* {{tlx|Birth date}} and {{tlx|Death date and age}} (deceased player)
* {{tlx|Birth-date}} and {{tlx|Death-date and age}} (deceased player)
* {{tlx|URL}} (website)
;Information
* [[Wikipedia:Alternative text for images]]
* [[Hockey Hall of Fame]]
* [[NHL Entry Draft]]
* [[WHA Amateur Draft]]
;Infobox maintenance categories:
* [[:Category:Infobox ice hockey with deprecated parameters]]
* [[:Category:Infobox ice hockey player with problems]]
<includeonly>
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
{{Basepage subpage|
[[Category:Ice hockey infobox templates|Player]]
[[Category:Sportsperson infobox templates|ice hockey player]]
}}
</includeonly>