Template:Infobox ice hockey player:修订间差异
外观
删除的内容 添加的内容
无编辑摘要 |
|||
(未显示另一用户的1个中间版本) | |||
第3行: | 第3行: | ||
| bodyclass = vcard |
| bodyclass = vcard |
||
| bodystyle = line-height: 1.4em; |
| bodystyle = line-height: 1.4em; |
||
| title = {{#ifeq:{{{embed|}}}|yes| |
| title = {{#ifeq:{{{embed|}}}|yes|'''冰球生涯'''}} |
||
| above = {{#ifeq:{{{embed|}}}|yes||{{{name<includeonly>|{{ |
| above = {{#ifeq:{{{embed|}}}|yes||{{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}}} |
||
| aboveclass = fn |
| aboveclass = fn |
||
| abovestyle = font-size: 125%; |
| abovestyle = font-size: 125%; |
||
<!-- ###### |
<!-- ###### Hall of Fame --> |
||
| subheaderstyle = background: #D0E7FF; font-weight:bold; |
| subheaderstyle = background: #D0E7FF; font-weight:bold; |
||
| subheader = {{#if: {{{halloffame|}}}|{{{halloffame}}}[[冰球名人堂]]}} |
| subheader = {{#if: {{{halloffame|}}}|{{{halloffame}}}[[冰球名人堂]]}} |
||
<!-- ###### |
<!-- ###### Image --> |
||
| imagestyle = text-align: center |
| imagestyle = text-align: center; |
||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}} |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}} |
||
| caption = {{{caption|}}} |
| caption = {{{caption|}}} |
||
第20行: | 第20行: | ||
| datastyle = white-space: nowrap; |
| datastyle = white-space: nowrap; |
||
<!-- ###### |
<!-- ###### Date of Birth --> |
||
| rowcellstyle1 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
| rowcellstyle1 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
||
| label1 = 出生 |
| label1 = 出生 |
||
| data1 = {{br separated entries | {{{birth_date|}}} | {{{birth_place|}}} }} |
| data1 = {{br separated entries | {{{birth_date|}}} | {{{birth_place|}}} }} |
||
<!-- ###### |
<!-- ###### Date of Death --> |
||
| label2 = |
| label2 = 去世 |
||
| data2 = {{br separated entries | {{{death_date|}}} | {{{death_place|}}} }} |
| data2 = {{br separated entries | {{{death_date|}}} | {{{death_place|}}} }} |
||
<!-- ###### |
<!-- ###### Height --> |
||
| rowcellstyle3 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
| rowcellstyle3 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
||
| label3 = 身高 |
| label3 = 身高 |
||
| data3 = {{#if:{{{height_in|}}}{{{height_ft|}}} |
| data3 = {{#if:{{{height_in|}}}{{{height_ft|}}} |
||
|{{convert|{{{height_ft|0}}}|ft|{{#if:{{{height_in|}}}|{{{height_in}}}|0}}|in| |
|{{convert|{{{height_ft|0}}}|ft|{{#if:{{{height_in|}}}|{{{height_in}}}|0}}|in|m|2|disp=flip}} |
||
|{{#if:{{{height_m|}}} |
|{{#if:{{{height_m|}}} |
||
|{{convert|{{{height_m|0}}}|m|ftin |
|{{convert|{{{height_m|0}}}|m|ftin}} |
||
|{{#if:{{{height_cm|}}}| {{convert|{{{height_cm|0}}}|cm|ftin |
|{{#if:{{{height_cm|}}}| {{convert|{{{height_cm|0}}}|cm|ftin}} }} |
||
}} |
}} |
||
}} |
}} |
||
<!-- ###### |
<!-- ###### Weight --> |
||
| rowcellstyle4 = {{#if:{{{height_in|}}}{{{height_ft|}}}{{{height_m|}}}{{{height_cm|}}}||{{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }} |
| rowcellstyle4 = {{#if:{{{height_in|}}}{{{height_ft|}}}{{{height_m|}}}{{{height_cm|}}}||{{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }} |
||
| label4 = |
| label4 = 体重 |
||
| data4 = {{#if:{{{weight_lbs|{{{weight_lb|}}}}}}<!-- |
| data4 = {{#if:{{{weight_lbs|{{{weight_lb|}}}}}}<!-- |
||
-->|{{convert|{{{weight_lbs|{{{weight_lb|0}}}}}}|lb|kg |
-->|{{convert|{{{weight_lbs|{{{weight_lb|0}}}}}}|lb|kg|0|abbr=on|disp=flip}}<!-- |
||
-->|{{#if:{{{weight_kg|}}}| {{convert|{{{weight_kg|0}}}|kg|lb |
-->|{{#if:{{{weight_kg|}}}| {{convert|{{{weight_kg|0}}}|kg|lb|0|abbr=on}} }}<!-- |
||
-->}} |
-->}} |
||
<!-- ###### |
<!-- ###### Position --> |
||
| rowcellstyle5 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
| rowcellstyle5 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
||
| label5 = 位置 |
| label5 = 位置 |
||
第54行: | 第54行: | ||
| data5 = {{{position|}}} |
| data5 = {{{position|}}} |
||
<!-- ###### |
<!-- ###### Shoots --> |
||
| rowcellstyle6 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
| rowcellstyle6 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
||
| label6 = {{Le|射门 (冰球)|Shot (ice hockey)|射门球杆方向}} |
|||
| label6 = 射門 |
|||
| data6 = {{{shoots|}}} |
| data6 = {{{shoots|}}} |
||
<!-- ###### |
<!-- ###### Catches --> |
||
| rowcellstyle7 = {{#if:{{{shoots|}}}||{{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }} |
| rowcellstyle7 = {{#if:{{{shoots|}}}||{{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }} |
||
| label7 = {{Tsl|en|Glove (ice hockey)|手套 (冰球)|扑救惯用手}} |
|||
| label7 = 接球 |
|||
| data7 = {{{catches|}}} |
| data7 = {{{catches|}}} |
||
<!-- ###### |
<!-- ###### Clubs --> |
||
| rowcellstyle8 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
| rowcellstyle8 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
||
| label8 = {{#if: {{{team}}}|{{{league}}}球 |
| label8 = {{#if: {{{team}}}|{{{league}}}球队}}{{#if: {{{prospect_team|}}}| {{nobold|([[Prospect (sports)|''P'']])}}}}{{#if: {{{prospect_team|}}}|<br />''Cur.'' team}}{{#if: {{{former_teams|}}}|<br />前效力球队}} |
||
| data8 = {{#if: {{{team|}}}|'''{{{team}}}'''{{#if: {{{prospect_team|}}}|<br />{{{prospect_team|}}} ({{{prospect_league|}}})}}{{#if: {{{former_teams|}}}|<br />{{{former_teams|}}}}}}} |
| data8 = {{#if: {{{team|}}}|'''{{{team}}}'''{{#if: {{{prospect_team|}}}|<br />{{{prospect_team|}}} ({{{prospect_league|}}})}}{{#if: {{{former_teams|}}}|<br />{{{former_teams|}}}}}}} |
||
<!-- ###### |
<!-- ###### Retired --> |
||
| rowcellstyle9 = {{#if: {{{team|}}}||{{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }} |
| rowcellstyle9 = {{#if: {{{team|}}}||{{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }} |
||
| label9 = |
| label9 = 曾效力球队 |
||
| data9 = {{{played_for|}}} |
| data9 = {{{played_for|}}} |
||
<!-- ###### |
<!-- ###### Current coach --> |
||
⚫ | |||
| rowcellstyle10 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
| rowcellstyle10 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
||
| label10 = {{#if: {{{team_coach}}}|现执教{{{league_coach}}}球队}} |
|||
| label10 = 國家隊 |
|||
| data10 = {{#if: {{{team_coach|}}}|''{{{team_coach}}}''}} |
|||
| data10 = {{#if: {{{ntl_team|}}}{{{ntl_team_2|}}}{{{ntl_team_3|}}}| {{ih{{#ifeq:{{lc:{{{sex|}}}}}|f|w}}|{{{ntl_team|}}}|}}{{#if: {{{ntl_team_2|}}}| <br />{{ih{{#ifeq:{{lc:{{{sex|}}}}}|f|w}}|{{{ntl_team_2}}}|}}}}{{#if: {{{ntl_team_3|}}}| &<br />{{ih{{#ifeq:{{lc:{{{sex|}}}}}|f|w}}|{{{ntl_team_3}}}|}}}}}} |
|||
<!-- ###### |
<!-- ###### Former coach --> |
||
| rowcellstyle11 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
| rowcellstyle11 = {{#if: {{{team_coach|}}}||{{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }} |
||
| label11 = 曾执教球队 |
|||
| label11 = [[{{#if:{{{draft_league|}}}|{{{draft_league}}}|NHL}}選秀]] |
|||
| data11 = {{{coached_for|}}} |
|||
| data11 = {{#if:{{{draftyear|{{{draft_year|}}}}}}|[[{{{draftyear|{{{draft_year}}}}}}年NHL選秀|{{{draftyear|{{{draft_year}}}}}}年]] {{#if:{{{draft|}}}|/ {{{draft}}} | {{#ifexpr:{{str find|{{lc:{{{draftpick|{{{draft_pick}}}}}}}}|territorial}} = -1|/ {{#switch:{{lc:{{{draftround|{{{draft_round|}}}}}}}}||非選秀|[[自由球員|非選秀]]=[[自由球員|非選秀]]|第{{{draftround|{{{draft_round}}}}}}輪<!--end switch-->}}<!--end ifexpr-->}} {{#if:{{{draftpick|{{{draft_pick|}}}}}}|/ 第{{#iferror:{{#ifexpr:{{{draftpick|{{{draft_pick}}}}}} > 0}}|{{{draftpick|{{{draft_pick}}}}}}|{{#ifeq:{{{draftpick|{{{draft_pick}}}}}}|1|[[NHL選秀狀元|1]]|{{{draftpick|{{{draft_pick}}}}}}<!--end ifeq-->}}順位<!--end iferror-->}}<!--end if draft_pick-->}}<!--end if draft-->}} }} |
|||
| data12 = {{#if:{{both|{{{draftyear|{{{draft_year|}}}}}}|{{{draftteam|{{{draft_team|}}}}}}}}|被{{{draftteam|{{{draft_team}}}}}}選中 }} |
|||
<!-- ###### |
<!-- ###### International Representation --> |
||
⚫ | |||
⚫ | |||
| rowcellstyle12 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
|||
| label13 = WHA選秀 |
|||
| label12 = 国家队 |
|||
⚫ | |||
| data12 = {{#if: {{{ntl_team|}}}{{{ntl_team_2|}}}{{{ntl_team_3|}}}{{{ntl_team_4|}}}| |
|||
{{enum|and=和<br>|comma=、<br> |
|||
⚫ | |||
|1={{#if:{{{ntl_team|}}} |{{ih{{#ifeq:{{lc:{{{sex|}}}}}|f|w}}|{{{ntl_team}}}|{{#ifeq:{{{ntl_team|}}}|COR|unification|}}}}}} |
|||
|2={{#if:{{{ntl_team_2|}}}|{{ih{{#ifeq:{{lc:{{{sex|}}}}}|f|w}}|{{{ntl_team_2}}}|{{#ifeq:{{{ntl_team_2|}}}|COR|unification|}}}}}} |
|||
⚫ | |||
|3={{#if:{{{ntl_team_3|}}}|{{ih{{#ifeq:{{lc:{{{sex|}}}}}|f|w}}|{{{ntl_team_3}}}|{{#ifeq:{{{ntl_team_3|}}}|COR|unification|}}}}}} |
|||
⚫ | |||
|4={{#if:{{{ntl_team_4|}}}|{{ih{{#ifeq:{{lc:{{{sex|}}}}}|f|w}}|{{{ntl_team_4}}}|{{#ifeq:{{{ntl_team_4|}}}|COR|unification|}}}}}} |
|||
⚫ | |||
⚫ | |||
}} |
}} |
||
}} |
|||
<!-- ###### |
<!-- ###### NHL Draft --> |
||
| |
| rowcellstyle13 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
||
| label13 = {{Tsl|en|NHL Entry Draft|NHL选秀}} |
|||
| label15 = 網頁 |
|||
| data13 = {{#if: {{{draft|}}}{{{draft_year|}}}{{{draft_team|}}}|{{#if: {{{draft_year|}}}|{{Tsl|en|{{{draft_year}}} NHL Entry Draft|{{{draft_year}}}年NFL选秀|{{{draft_year}}}年}}|}}{{{draft}}}{{#if: {{{draft_team|}}}|{{#if: {{{draft|}}}{{{draft_year|}}}|<br />}}被{{{draft_team|}}}选中|}}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| label14 = [[WHA Amateur Draft|WHA Draft]] |
|||
⚫ | |||
<!-- ###### Playing Career --> |
|||
| rowcellstyle15= {{#if: {{{draft|}}}{{{draft_year|}}}{{{draft_team|}}}{{{wha_draft|}}}{{{wha_draft_year|}}}{{{wha_draft_team|}}}|| {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}}}} |
|||
<!-- ###### Coaching Career --> |
|||
| label16 = 执教生涯 |
|||
| data16 = {{#if: {{{career_start_coach|}}}|{{{career_start_coach}}{{#if:{{{career_end_coach|}}} |
|||
|—{{{career_end_coach}}} |
|||
|至今 |
|||
}}}} |
|||
<!-- ###### Website --> |
|||
| rowcellstyle17 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} |
|||
| label17 = 网站 |
|||
⚫ | |||
⚫ | |||
{{Infobox medal templates |
{{Infobox medal templates |
||
|medals = {{{medaltemplates<includeonly>|</includeonly>}}} |
|medals = {{{medaltemplates<includeonly>|</includeonly>}}} |
||
第111行: | 第134行: | ||
}} |
}} |
||
| data19 = {{{module|}}} |
|||
}}<includeonly>{{#ifeq:{{{nationality|+}}}|{{{nationality|-}}}|[[Category:Infobox ice hockey with deprecated parameters]]}}{{#ifeq:{{{nationality_2|+}}}|{{{nationality_2|-}}}|[[Category:Infobox ice hockey with deprecated parameters]]}}{{#ifeq:{{{nationality_3|+}}}|{{{nationality_3|-}}}|[[Category:Infobox ice hockey with deprecated parameters]]}}{{#ifeq:{{{nickname|+}}}|{{{nickname|-}}}|[[Category:Infobox ice hockey with deprecated parameters]]}}{{#ifeq:{{{ntl_team_women|+}}}|{{{ntl_team_women|-}}}|[[Category:Infobox ice hockey with deprecated parameters]]}}{{#ifeq:{{{ntl_team_women_2|+}}}|{{{ntl_team_women_2|-}}}|[[Category:Infobox ice hockey with deprecated parameters]]}}{{#ifeq:{{{ntl_team_women_3|+}}}|{{{ntl_team_women_3|-}}}|[[Category:Infobox ice hockey with deprecated parameters]]}}{{#ifeq:{{{shot|+}}}|{{{shot|-}}}|[[Category:Infobox ice hockey with deprecated parameters]]}}{{#ifeq:{{{caught|+}}}|{{{caught|-}}}|[[Category:Infobox ice hockey with deprecated parameters]]}}{{#if: {{{death_date|}}}{{{death_place|}}}|{{#if:{{{career_end|}}}||[[Category:Infobox ice hockey player with problems|A {{PAGENAME}}]]}}}}{{#if:{{{career_end|}}}||{{#if:{{{shot|}}}{{{caught|}}}|[[Category:Infobox ice hockey player with problems|B {{PAGENAME}}]]}}}}{{#ifeq:{{lc:{{{team|}}}}}|retired|{{#if:{{{career_end|}}}||[[Category:Infobox ice hockey player with problems|C {{PAGENAME}}]]}}}}{{#if:{{{career_start|}}}||[[Category:Infobox ice hockey player with problems|D {{PAGENAME}}]]}}</includeonly><noinclude>{{documentation}}</noinclude> |
|||
}}<includeonly>{{main other|{{#if:{{{career_end|}}}||{{#if:{{{shot|}}}{{{caught|}}}|[[Category:Infobox ice hockey biography with problems|A {{PAGENAME}}]]}}}}{{#ifeq:{{lc:{{{team|}}}}}|retired|{{#if:{{{career_end|}}}||[[Category:Infobox ice hockey biography with problems|B {{PAGENAME}}]]}}}}{{#if:{{{former_teams|}}}|{{#if:{{{team|}}}||[[Category:Infobox ice hockey biography with problems|C {{PAGENAME}}]]}}}}}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox ice hockey biography with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox ice hockey player|Template:Infobox ice hockey biography]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | birth_date | birth_place | caption | career_end | career_start | career_end_coach | career_start_coach | catches | caught | death_date | death_place | draft | draft_team | draft_year | embed | former_teams | halloffame | height_cm | height_ft | height_in | height_m | image | image_size | league | medaltemplates | module | name | ntl_team | ntl_team_2 | ntl_team_3 | ntl_team_4 | played_for | league_coach | team_coach | coached_for | position | prospect_league | prospect_team | sex | shoots | shot | show-medals | team | website | weight_kg | weight_lb | weight_lbs | wha_draft | wha_draft_team | wha_draft_year |
|||
}}{{#if: {{{embed|}}} |
|||
| {{main other|[[Category:Articles using infobox ice hockey biography with embed parameter]]}} |
|||
}}<noinclude>{{documentation}}</noinclude> |
2024年2月20日 (二) 13:49的最新版本
{{{name}}} |
---|
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}}} | |||||
---|---|---|---|---|---|
{{{halloffame}}}冰球名人堂 | |||||
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1|{{{alt}}}]] | |||||
出生 |
{{{birth_date}}} {{{birth_place}}} | ||||
去世 |
{{{death_date}}} {{{death_place}}} | ||||
身高 | 123厘米(4英尺0英寸) | ||||
体重 | 45公斤(99磅) | ||||
位置 | {{{position}}} | ||||
射门球杆方向 | {{{shoots}}} | ||||
扑救惯用手 | {{{catches}}} | ||||
{{{league}}}球队 (P) Cur. team 前效力球队 |
{{{team}}} {{{prospect_team}}} ({{{prospect_league}}}) {{{former_teams}}} | ||||
曾效力球队 | {{{played_for}}} | ||||
国家队 |
苏联、 Template:Country data Unified Team和 俄羅斯 | ||||
NHL选秀 |
[[:{{{draft_year}}}年NFL选秀|{{{draft_year}}}年]]{{{draft}}} 被{{{draft_team}}}选中 | ||||
WHA Draft |
{{{wha_draft}}}, [[{{{wha_draft_year}}} WHA Amateur Draft|{{{wha_draft_year}}}]] {{{wha_draft_team}}} | ||||
职业生涯 | {{{career_start}}}—{{{career_end}}} | ||||
网站 | {{{website}}} | ||||
奖牌记录
|
{{Infobox ice hockey player | name = | 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 = | medaltemplates = | show-medals = }}
Metric: height (m)
[编辑]Infobox ice hockey player | |||
---|---|---|---|
身高 | 1.23米(4英尺0英寸) |
| height_m =
Imperial: height (ft/in), weight (lb)
[编辑]Infobox ice hockey player | |||
---|---|---|---|
身高 | 1.68米(5英尺6英寸) | ||
体重 | 54公斤(120磅) |
| height_ft = | height_in = | weight_lb =
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:
微格式
[编辑]本模板使用了hCard 微格式標記,被標記的人物資料可以被電腦分析讀取,以便将其自動归類,或者透過專門的瀏覽器取得資料訊息,例如將訊息加入通訊錄。關於在維基百科使用微格式的詳細訊息,請參見微格式維基專題。
出生日期(bday)參數只能使用於包含了 {{bd}} 或 {{Birth date and age}} 模板的信息框。
- adr
- bday
- county-name
- fn(必須)
- honorific-prefix
- honorific-suffix
- label
- locality
- nickname
- note
- org
- role
- vcard
請不要移除或重新命名這些class。
參見
[编辑]- 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)