Template:Infobox ice hockey biography: Difference between revisions

From WikiMD's Wellness Encyclopedia

m 1 revision imported
CSV import
Tag: Replaced
 
Line 1: Line 1:
{{main other|{{short description|Ice hockey player|noreplace}}}}
{{nt}}
{{#invoke:infobox3cols|infoboxTemplate
| child = {{{embed|}}}
| bodyclass = vcard
| bodystyle = line-height: 1.4em;
| title = {{#ifeq:{{{embed|}}}|yes|'''Ice hockey career'''}}
| above = {{#ifeq:{{{embed|}}}|yes||{{{name<includeonly>|{{PAGENAMEBASE}}</includeonly>}}}}}
| aboveclass = fn
| abovestyle = font-size: 125%;
 
<!-- ###### Hall of Fame -->
| subheaderstyle = background: #D0E7FF; font-weight:bold;
| subheader = {{#if: {{{halloffame|}}}|[[Hockey Hall of Fame]], {{{halloffame}}}}}
 
<!-- ###### Image -->
| imagestyle = text-align: center;
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright=1|alt={{{alt|}}}|suppressplaceholder=yes}}
| caption = {{{caption|}}}
 
| labelstyle = white-space: nowrap;
| datastyle = white-space: nowrap;
 
<!-- ###### Date of Birth -->
| rowcellstyle1 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}}
| label1 = Born
| data1 = {{br separated entries | {{{birth_date|}}} | {{{birth_place|}}} }}
 
<!-- ###### Date of Death -->
| label2 = Died
| data2 = {{br separated entries | {{{death_date|}}} | {{{death_place|}}} }}
 
<!-- ###### Height -->
| rowcellstyle3 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}}
| label3 = Height
| data3 = {{#if:{{{height_in|}}}{{{height_ft|}}}
    |{{convert|{{{height_ft|0}}}|ft|{{#if:{{{height_in|}}}|{{{height_in}}}|0}}|in|cm|0|abbr=on}}
    |{{#if:{{{height_m|}}}
      |{{convert|{{{height_m|0}}}|m|ftin|abbr=on}}
      |{{#if:{{{height_cm|}}}| {{convert|{{{height_cm|0}}}|cm|ftin|abbr=on}} }}
    }}
  }}
 
<!-- ###### Weight -->
| rowcellstyle4 = {{#if:{{{height_in|}}}{{{height_ft|}}}{{{height_m|}}}{{{height_cm|}}}||{{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }}
| label4 = Weight
| data4 =  {{#if:{{{weight_lbs|{{{weight_lb|}}}}}}<!--
  -->|{{convert|{{{weight_lbs|{{{weight_lb|0}}}}}}|lb|kg stlb|0|abbr=on}}<!--
  -->|{{#if:{{{weight_kg|}}}| {{convert|{{{weight_kg|0}}}|kg|lb stlb|0|abbr=on}} }}<!--
  -->}}
 
<!-- ###### Position -->
| rowcellstyle5 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}}
| label5 = Position
| class5 = role
| data5 = {{{position|}}}
 
<!-- ###### Shoots -->
| rowcellstyle6 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}}
| label6 = [[Shot (ice hockey)|{{#if:{{{career_end|}}}|Shot|Shoots}}]]
| data6 = {{{shoots|}}}
 
<!-- ###### Catches -->
| rowcellstyle7 = {{#if:{{{shoots|}}}||{{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }}
| label7 = [[Glove (ice hockey)|{{#if:{{{career_end|}}}|Caught|Catches}}]]
| data7 = {{{catches|}}}
 
<!-- ###### Clubs -->
| rowcellstyle8 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}}
| label8 = {{#if: {{{team}}}|{{{league}}} team}}{{#if: {{{prospect_team|}}}|&nbsp;{{nobold|([[Prospect (sports)|''P'']])}}}}{{#if: {{{prospect_team|}}}|<br />''Cur.'' team}}{{#if: {{{former_teams|}}}|<br />Former teams}}
| data8 = {{#if: {{{team|}}}|''{{{team}}}''{{#if: {{{prospect_team|}}}|<br />{{{prospect_team|}}}&nbsp;({{{prospect_league|}}})}}{{#if: {{{former_teams|}}}|<br />{{{former_teams|}}}}}}}
 
<!-- ###### Retired -->
| rowcellstyle9 = {{#if: {{{team|}}}||{{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }}
| label9 = Played for
| data9 = {{{played_for|}}}
 
<!-- ###### Current coach -->
| rowcellstyle10 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}}
| label10 = {{#if: {{{team_coach}}}| Current {{{league_coach}}} coach}}
| data10 = {{#if: {{{team_coach|}}}|''{{{team_coach}}}''}}
 
<!-- ###### Former coach -->
| rowcellstyle11 = {{#if: {{{team_coach|}}}||{{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }}
| label11 = Coached for
| data11 = {{{coached_for|}}}
 
<!-- ###### International Representation -->
<!-- Set "|sex=f" to use same ntl_team/ntl_team_2/ntl_team_3/ntl_team_4 parameters to use template {{ihw}}; any other value for "|sex=" or omitting "|sex=" defaults to use template {{ih}} -->
| rowcellstyle12 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}}
| label12 = National team
| data12 = {{#if: {{{ntl_team|}}}{{{ntl_team_2|}}}{{{ntl_team_3|}}}{{{ntl_team_4|}}}|
{{enum|and=&nbsp;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 = [[NHL entry draft|NHL draft]]
| data13 = {{#if: {{{draft|}}}{{{draft_year|}}}{{{draft_team|}}}| {{{draft}}}{{#if: {{{draft_year|}}}|, [[{{{draft_year}}} NHL entry draft|{{{draft_year}}}]]|}}{{#if: {{{draft_team|}}}|{{#if: {{{draft|}}}{{{draft_year|}}}|<br />}}{{{draft_team|}}}|}}}}
 
<!-- ###### WHA Draft -->
| rowcellstyle14 = {{#if: {{{draft|}}}{{{draft_year|}}}{{{draft_team|}}}|| {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}} }}
| label14 = [[WHA amateur draft|WHA draft]]
| data14 = {{#if: {{{wha_draft|}}}{{{wha_draft_year|}}}{{{wha_draft_team|}}}| {{{wha_draft}}}{{#if: {{{wha_draft_year|}}}|, [[{{{wha_draft_year}}} WHA amateur draft|{{{wha_draft_year}}}]]|}}{{#if: {{{wha_draft_team|}}}|{{#if: {{{wha_draft|}}}{{{wha_draft_year|}}}|<br />}}{{{wha_draft_team|}}}|}}}}
 
<!-- ###### 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;}} }}
| label15 = Playing career
| data15 = {{#if: {{{career_start|}}}|{{{career_start|{{{draft_year|&#123;&#123;&#123;career_start&#125;&#125;&#125;}}} }}}&ndash;{{#if:{{{career_end|}}}
  | {{{career_end}}}
  | present
  }}}}
 
<!-- ###### Coaching Career -->
| label16 = Coaching career
| data16 = {{#if: {{{career_start_coach|}}}|{{{career_start_coach}}}&ndash;{{#if:{{{career_end_coach|}}}
  | {{{career_end_coach}}}
  | present
  }}}}
 
<!-- ###### Website -->
| rowcellstyle17 = {{#ifeq:{{{embed|}}}|yes||border-top:#ccddee 1px solid;}}
| label17 = Website
| data17 = {{#if:{{{website|}}}|{{allow wrap|1={{{website|}}}}}}}
 
| data18 = {{#if:{{{medaltemplates|}}}|
{{Infobox medal templates
  |medals = {{{medaltemplates<includeonly>|</includeonly>}}}
  |expand = {{#ifeq:{{lc:{{{show-medals}}}}}|no||yes}}
  }}
}}
 
| data19 = {{{module|}}}
 
}}<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 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>

Latest revision as of 23:36, 5 January 2025