Difference between revisions of "Template:Infobox MLB player"

From blackwiki
Jump to navigation Jump to search
imported>Djsasso
(per talk page request)
imported>WOSlinker
(copy over infobox version from sandbox as per edit request from User:Frietjes)
Line 1: Line 1:
{| class="infobox bordered vcard" style="width: 25em; text-align: left; font-size: 95%;"
+
{{infobox
! colspan="2" style="text-align:center; {{MLBPrimaryColor|{{{team}}}}}; font-size:larger;" class="fn" | <span style="{{MLBSecondaryColor|{{{team}}}}};" class="note">'''<span style="{{MLBSecondaryColor|{{{team}}}}};">{{{name}}}</span>
+
| bodyclass = bordered vcard
|-
+
| bodystyle = width: 25em; text-align: left; font-size: 95%;
{{#if:{{{image<includeonly>|</includeonly>}}}|
 
<td colspan="2" style="text-align:center;">{{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}|size={{{image_size|{{{width|}}}}}}|sizedefault=200px|alt={{{alt<includeonly>|</includeonly>}}}|suppressplaceholder=yes}}<br>
 
{{{caption<includeonly>|</includeonly>}}}</th>
 
}}
 
{{#if:{{{team<includeonly>|</includeonly>}}}|
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center; {{MLBPrimaryColor|{{{team}}}}};"{{!}} <span style="{{MLBSecondaryColor|{{{team}}}}};" class="note">'''<span style="{{MLBSecondaryColor|{{{team}}}}};">{{{team}}}</span> {{#if:{{{number<includeonly>|</includeonly>}}}| – No. {{{number|--}}}'''}}</span>}}
 
{{!}}- style="text-align: center;"
 
{{#if:{{{position<includeonly>|</includeonly>}}}|{{!}} ! colspan="2" {{!}} '''{{{position}}}'''
 
}}
 
{{!}}- style="text-align: center;"
 
{{#if:{{{positionplain<includeonly>|</includeonly>}}}|{{!}} ! colspan="2" {{!}} '''{{{positionplain}}}'''
 
}}
 
{{#if:{{{birth_date<includeonly>|</includeonly>}}}{{{birth_place<includeonly>|</includeonly>}}}|{{!}}-
 
{{!}} colspan="2" style="text-align:center;" {{!}} '''Born:''' {{{birth_date<includeonly>|</includeonly>}}}{{#if:{{{birth_date<includeonly>|</includeonly>}}}|{{#if:{{{birth_place<includeonly>|</includeonly>}}}|<br>}}}}{{{birth_place<includeonly>|</includeonly>}}}
 
{{#if:{{{death_date<includeonly>|</includeonly>}}}{{{death_place<includeonly>|</includeonly>}}}|{{!}}-
 
{{!}} colspan="2" style="text-align:center;" {{!}} '''Died:''' {{{death_date<includeonly>|</includeonly>}}}{{#if:{{{death_date<includeonly>|</includeonly>}}}|{{#if:{{{death_place<includeonly>|</includeonly>}}}|<br>}}}}{{{death_place<includeonly>|</includeonly>}}}}}}}
 
{{!}}-
 
{{!}} width="50%" style="text-align:center;" {{!}} '''{{#if:{{{finalyear|}}}{{{death_date|}}}|Batted|Bats}}:''' {{{bats}}}
 
{{!}} width="50%" style="text-align:center;" {{!}} '''{{#if:{{{finalyear|}}}{{{death_date|}}}|Threw|Throws}}:''' {{{throws}}}{{#if:{{{debutyear|<noinclude>x</noinclude>}}}{{{debutteam|<noinclude>x</noinclude>}}}|&nbsp;
 
{{!}}-
 
! colspan="2" style="text-align:center; {{MLBAltPrimaryColor|{{{team}}}}};" {{!}} <span style="{{MLBAltSecondaryColor|{{{team}}}}};">MLB debut</span>
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center;" {{!}} {{#if:{{{debutdate|<noinclude>x</noinclude>}}}|{{{debutdate}}},&nbsp;}}{{#if:{{{debutyear|<noinclude>x</noinclude>}}}|{{{debutyear}}}}}{{#if:{{{debutteam|<noinclude>x</noinclude>}}}|{{#if:{{{debutyear|<noinclude>x</noinclude>}}}|&nbsp;for the&nbsp;}}{{{debutteam}}}}}}}
 
|-
 
{{#if:{{{finalyear|<noinclude>x</noinclude>}}}{{{finalteam|<noinclude>x</noinclude>}}}|{{!}}-
 
! colspan="2" style="text-align:center; {{MLBAltPrimaryColor|{{{team}}}}};" {{!}} <span style="{{MLBAltSecondaryColor|{{{team}}}}};">Last MLB appearance</span>
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center;" {{!}} {{#if:{{{finaldate|<noinclude>x</noinclude>}}}|{{{finaldate}}},&nbsp;}}{{#if:{{{finalyear|<noinclude>x</noinclude>}}}|{{{finalyear}}}}}{{#if:{{{finalteam|<noinclude>x</noinclude>}}}|{{#if:{{{finalyear|<noinclude>x</noinclude>}}}|&nbsp;for the&nbsp;}}{{{finalteam}}}}}}}
 
|-
 
{{#if:{{{stat1label<includeonly>|</includeonly>}}}|
 
<th colspan="2" style="text-align:center; {{MLBPrimaryColor|{{{team}}}}};"><span style="{{MLBSecondaryColor|{{{team}}}}};">Career statistics {{#if:{{{statyear<includeonly>|</includeonly>}}}|<br/>(through {{{statyear}}})}}</span></th>
 
  
}}{{#if:{{{stat1label<includeonly>|</includeonly>}}}|
+
| abovestyle = {{MLBPrimaryColor|{{{team}}}}}; {{MLBAltSecondaryColor|{{{team}}}}}; font-size:larger;
<tr><th style="text-align:right">{{{stat1label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat1value}}}</td></tr>
+
| aboveclass = fn
 +
| above = <span style="{{MLBSecondaryColor|{{{team}}}}};" class="note">{{{name}}}</span>
  
}}{{#if:{{{stat2label<includeonly>|</includeonly>}}}|
+
| labelstyle = text-align:center; font-weight:normal; width:50%;
<tr><th style="text-align:right">{{{stat2label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat2value}}}</td></tr>
+
| datastyle  = text-align:center;
  
}}{{#if:{{{stat3label<includeonly>|</includeonly>}}}|
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}|size={{{image_size|{{{width|}}}}}}|sizedefault=200px|alt={{{alt<includeonly>|</includeonly>}}}|suppressplaceholder=yes}}
<tr><th style="text-align:right">{{{stat3label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat3value}}}</th></tr>  
+
| caption = {{{caption<includeonly>|</includeonly>}}}
  
}}{{#if:{{{stat4label<includeonly>|</includeonly>}}}|
+
| headerstyle = {{MLBPrimaryColor|{{{team}}}}}; {{MLBAltSecondaryColor|{{{team}}}}};
<tr><th style="text-align:right">{{{stat4label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat4value}}}</th></tr>  
+
| header1 = {{#if:{{{team<includeonly>|</includeonly>}}}|<span class="note">{{{team}}} {{#if:{{{number<includeonly>|</includeonly>}}}| – No. {{{number|--}}}}}</span>}}
  
}}{{#if:{{{stat5label<includeonly>|</includeonly>}}}|
+
| data2 = {{#if:{{{position<includeonly>|</includeonly>}}}| '''{{{position}}}''' }}
<tr><th style="text-align:right">{{{stat5label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat5value}}}</th></tr>
+
| data3 = {{#if:{{{positionplain<includeonly>|</includeonly>}}}| '''{{{positionplain}}}''' }}
  
}}{{#if:{{{stat6label<includeonly>|</includeonly>}}}|
+
| data4 = {{#if:{{{birth_date<includeonly>|</includeonly>}}}{{{birth_place<includeonly>|</includeonly>}}}
<tr><th style="text-align:right">{{{stat6label}}}&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{stat6value}}}</th></tr>  
+
  |'''Born:''' {{br separated entries
 +
  | 1 = {{{birth_date<includeonly>|</includeonly>}}}
 +
  | 2 = {{{birth_place<includeonly>|</includeonly>}}}
 +
  }} }}
 +
| data5 = {{#if:{{{death_date<includeonly>|</includeonly>}}}{{{death_place<includeonly>|</includeonly>}}}
 +
  |'''Died:''' {{br separated entries
 +
  | 1 = {{{death_date<includeonly>|</includeonly>}}}
 +
  | 2 = {{{death_place<includeonly>|</includeonly>}}}
 +
  }} }}
  
}}<!--deprecated, use teams instead-->{{#if:{{{formerteams|}}}|
+
| label6 = '''{{#if:{{{finalyear|}}}{{{death_date|}}}|Batted|Bats}}:''' {{{bats}}}
<tr><th colspan="2" style="text-align:center; {{MLBAltPrimaryColor|{{{team}}}}};"><span style="{{MLBAltSecondaryColor|{{{team}}}}};">Former teams</span></th></tr><tr><td colspan="2">{{{formerteams}}}</td></tr>
+
| data6  = '''{{#if:{{{finalyear|}}}{{{death_date|}}}|Threw|Throws}}:''' {{{throws}}}
  
}}{{#if:{{{teams<includeonly>|</includeonly>}}}|
+
| header7 = {{#if:{{{debutyear<includeonly>|</includeonly>}}}{{{debutteam<includeonly>|</includeonly>}}}|MLB debut}}
<tr><th colspan="2" style="text-align:center; {{MLBAltPrimaryColor|{{{team}}}}};"><span style="{{MLBAltSecondaryColor|{{{team}}}}};">Teams</span></th></tr><tr><td colspan="2">
+
| data8 =
{{{teams}}}</td></tr>
+
{{#if:{{{debutyear<includeonly>|</includeonly>}}}
 +
  |{{#if:{{{debutteam<includeonly>|</includeonly>}}}
 +
    |{{#if:{{{debutdate<includeonly>|</includeonly>}}}|{{{debutdate}}},&nbsp;}}{{{debutyear}}}&nbsp;for the&nbsp;{{{debutteam}}}
 +
    |{{#if:{{{debutdate<includeonly>|</includeonly>}}}|{{{debutdate}}},&nbsp;}}{{{debutyear}}}
 +
  }}
 +
  |{{#if:{{{debutdate<includeonly>|</includeonly>}}}|{{{debutdate}}},&nbsp;}}{{{debutteam<includeonly>|</includeonly>}}}
 +
}}
  
}}{{#if:{{{awards<includeonly>|</includeonly>{{{highlights<includeonly>|</includeonly>}}}}}}|
+
| header9 = {{#if:{{{finalyear<includeonly>|</includeonly>}}}{{{finalteam<includeonly>|</includeonly>}}}|Last MLB appearance}}
<tr><th colspan="2" style="text-align:center; {{MLBPrimaryColor|{{{team}}}}};"><span style="{{MLBSecondaryColor|{{{team}}}}};">Career highlights and awards</span></th></tr><tr><td colspan="2">
+
| data10 =
{{{awards|{{{highlights}}}}}}</td></tr>
+
{{#if:{{{finalyear<includeonly>|</includeonly>}}}
 +
  |{{#if:{{{finalteam<includeonly>|</includeonly>}}}
 +
    |{{#if:{{{finaldate<includeonly>|</includeonly>}}}|{{{finaldate}}},&nbsp;}}{{{finalyear}}}&nbsp;for the&nbsp;{{{finalteam}}}
 +
    |{{#if:{{{finaldate<includeonly>|</includeonly>}}}|{{{finaldate}}},&nbsp;}}{{{finalyear}}}
 +
  }}
 +
  |{{#if:{{{finaldate<includeonly>|</includeonly>}}}|{{{finaldate}}},&nbsp;}}{{{finalteam<includeonly>|</includeonly>}}}
 +
}}
  
}}{{#if:{{{hofdate<includeonly>|</includeonly>}}}|
+
| header11 = {{#if:{{{stat1value<includeonly>|</includeonly>}}}{{{stat2value|}}}{{{stat3value|}}}{{{stat4value|}}}{{{stat5value|}}}
<tr><th colspan="2" style="text-align:center; background:#A50024;">[[National Baseball Hall of Fame and Museum|<span style="color:white;">{{#if:{{{hoffuture|}}}|Incoming&nbsp;}}Member of the National</span>]]</th></tr><tr><th colspan="2" style="text-align:center; background:#11225b;">[[File:Empty Star.svg|20px|link=]] [[File:Empty Star.svg|20px|link=]] [[File:Empty Star.svg|20px|link=]] [[National Baseball Hall of Fame and Museum|<span style="color:white;">Baseball Hall of Fame</span>]] [[File:Empty Star.svg|20px|link=]] [[File:Empty Star.svg|20px|link=]] [[File:Empty Star.svg|20px|link=]]</th></tr><tr><th style="text-align:right">Induction&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{hofdate}}}</td></tr>
+
  |Career statistics {{#if:{{{statyear<includeonly>|</includeonly>}}}|<br/>(through {{{statyear}}})}}<!--
 +
-->{{Infobox|child=yes
 +
  | labelstyle = text-align:right; padding-right:0.5em;
 +
  | datastyle  = padding-left:0.5em;
 +
  | label1 = {{{stat1label}}}
 +
  | data1  = {{#if:{{{stat1label<includeonly>|</includeonly>}}}|{{{stat1value}}}}}
 +
  | label2 = {{{stat2label}}}
 +
  | data2  = {{#if:{{{stat2label<includeonly>|</includeonly>}}}|{{{stat2value}}}}}
 +
  | label3 = {{{stat3label}}}
 +
  | data3  = {{#if:{{{stat3label<includeonly>|</includeonly>}}}|{{{stat3value}}}}}
 +
  | label4 = {{{stat4label}}}
 +
  | data4  = {{#if:{{{stat4label<includeonly>|</includeonly>}}}|{{{stat4value}}}}}
 +
  | label5 = {{{stat5label}}}
 +
  | data5  = {{#if:{{{stat5label<includeonly>|</includeonly>}}}|{{{stat5value}}}}}
 +
  | label6 = {{{stat6label}}}
 +
  | data6  = {{#if:{{{stat6label<includeonly>|</includeonly>}}}|{{{stat6value}}}}}
 +
  }}
 +
}}
  
}}{{#if:{{{hofvote<includeonly>|</includeonly>}}}|
+
| header12 = {{#if:{{{formerteams|}}}|Former teams}}<!--deprecated, use teams instead-->
<tr><th style="text-align:right">Vote&nbsp;&nbsp;</td><td>&nbsp;&nbsp;{{{hofvote}}}</td></tr>
+
| data13  = {{#if:{{{formerteams|}}}|<div style="text-align:left">
 +
{{{formerteams}}}</div>
 +
}}
 +
 
 +
| header14 = {{#if:{{{teams<includeonly>|</includeonly>}}}|Teams}}
 +
| data15 = {{#if:{{{teams<includeonly>|</includeonly>}}}|<div style="text-align:left">
 +
{{{teams}}}</div>
 +
}}
  
}}{{#if:{{{hofmethod<includeonly>|</includeonly>}}}|
+
| header16 = {{#if:{{{awards|{{{highlights<includeonly>|</includeonly>}}}}}}|Career highlights and awards}}
<tr><th style="text-align:right">Election Method&nbsp;&nbsp;</th><td>&nbsp;&nbsp;{{{hofmethod}}}</td></tr>
+
| data17 = {{#if:{{{awards|{{{highlights<includeonly>|</includeonly>}}}}}}|<div style="text-align:left">
 +
{{{awards|{{{highlights<includeonly>|</includeonly>}}}}}}</div>
 
}}
 
}}
|}<noinclude>
+
 
 +
| header20 = {{#if:{{{hofdate<includeonly>|</includeonly>}}}|
 +
<div style="background:#A50024; width:100%">[[National Baseball Hall of Fame and Museum|<span style="color:white;">{{#if:{{{hoffuture|}}}|Incoming&nbsp;}}Member of the National</span>]]</div>
 +
<div style="background:#11225b; width:100%">[[File:Empty Star.svg|20px|link=]] [[File:Empty Star.svg|20px|link=]] [[File:Empty Star.svg|20px|link=]] [[National Baseball Hall of Fame and Museum|<span style="color:white;">Baseball Hall of Fame</span>]] [[File:Empty Star.svg|20px|link=]] [[File:Empty Star.svg|20px|link=]] [[File:Empty Star.svg|20px|link=]]</div><!--
 +
-->{{infobox|child=yes
 +
  | labelstyle = text-align:right; padding-right:0.5em;
 +
  | datastyle  = padding-left:0.5em;
 +
  | label1 = Induction
 +
  | data1 = {{{hofdate<includeonly>|</includeonly>}}}
 +
  | label2 = Vote
 +
  | data2 = {{{hofvote<includeonly>|</includeonly>}}}
 +
  | label3 = Election Method
 +
  | data3 = {{{hofmethod<includeonly>|</includeonly>}}}
 +
  }}
 +
}}
 +
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 18:16, 5 July 2013

{{{name}}}
[[File:{{{image}}}|200px|alt={{{alt}}}|{{{alt}}}]]
{{{caption}}}
{{{team}}} – No. --
{{{position}}}
{{{positionplain}}}
Born: {{{birth_date}}}
{{{birth_place}}}
Died: {{{death_date}}}
{{{death_place}}}
Bats: {{{bats}}}Throws: {{{throws}}}
MLB debut
{{{debutdate}}}, {{{debutyear}}} for the {{{debutteam}}}
Last MLB appearance
{{{finaldate}}}, {{{finalyear}}} for the {{{finalteam}}}
Career statistics
(through {{{statyear}}})
{{{stat1label}}}{{{stat1value}}}
{{{stat2label}}}{{{stat2value}}}
{{{stat3label}}}{{{stat3value}}}
{{{stat4label}}}{{{stat4value}}}
{{{stat5label}}}{{{stat5value}}}
{{{stat6label}}}{{{stat6value}}}
[[Category:Infobox templates|Template:Remove first word]]
Teams
{{{teams}}}
Career highlights and awards
{{{highlights}}}
Induction{{{hofdate}}}
Vote{{{hofvote}}}
Election Method{{{hofmethod}}}
[[Category:Infobox templates|Template:Remove first word]]

[[Category:Infobox templates|Template:Remove first word]]

50px Template documentation[view] [edit] [history] [purge]

Template:Person infobox header

This template can be used to add at-a-glance comparative information to articles on professional baseball players in any league. It is derived from {{Infobox MLB player}}, which now redirects here.

Team colors are added to the infobox automatically when a team is entered into the team field. The colors are taken from Module:Sports color/baseball.

Usage

Common parameters

Template:Parameter names example

{{Infobox baseball biography
| name          = 
| image         = 
| image_size    = 
| team          = 
| number        = 
| position      = 
| birth_date    = 
| birth_place   = 
| death_date    = 
| death_place   = 
| bats          = 
| throws        = 
| debutleague   = 
| debutdate     = 
| debutyear     = 
| debutteam     = 
| finaldate     = 
| finalyear     = 
| finalteam     = 
| statleague    = 
| statyear      = 
| stat1label    = 
| stat1value    = 
| stat2label    = 
| stat2value    = 
| stat3label    = 
| stat3value    = 
| teams         = 
| highlights    = 
| update        = 
}}

Umpire

Template:Parameter names example

{{Infobox baseball biography
| position    = Umpire
| number      = 
| name        = 
| birth_date  = 
| birth_place = 
| death_date  = 
| death_place = 
| image       = 
| width       = 
| caption     = 
| debutyear   = 
| umpirecrew  = 
| crewchief   = 
| crew2       = 
| crew3       = 
| crew4       = 
| highlights  = 
| hofdate     = 
| hofvote     = 
| hofmethod   = 
}}

All parameters

Template:Parameter names example

{{Infobox baseball biography
| name          = 
| birth_name    = 
| image         = 
| image_size    = 
| team          = 
| number        = 
| position      = 
| positionplain = 
| birth_date    = 
| birth_place   = 
| death_date    = 
| death_place   = 
| bats          = 
| throws        = 
| debutleague   = 
| debutdate     = 
| debutyear     = 
| debutteam     = 
| debut2league  = 
| debut2date    = 
| debut2year    = 
| debut2team    = 
| debut3league  = 
| debut3date    = 
| debut3year    = 
| debut3team    = 
| finalleague   = 
| finaldate     = 
| finalyear     = 
| finalteam     = 
| final2league  = 
| final2date    = 
| final2year    = 
| final2team    = 
| final3league  = 
| final3date    = 
| final3year    = 
| final3team    = 
| statleague    = 
| statyear      = 
| stat1label    = 
| stat1value    = 
| stat2label    = 
| stat2value    = 
| stat3label    = 
| stat3value    = 
| stat4label    = 
| stat4value    = 
| stat5label    = 
| stat5value    = 
| stat6label    = 
| stat6value    = 
| stat7label    = 
| stat7value    = 
| stat2league   = 
| stat2year     = 
| stat21label   = 
| stat21value   = 
| stat22label   = 
| stat22value   = 
| stat23label   = 
| stat23value   = 
| stat24label   = 
| stat24value   = 
| stat25label   = 
| stat25value   = 
| stat26label   = 
| stat26value   = 
| stat27label   = 
| stat27value   = 
| stat3league   = 
| stat3year     = 
| stat31label   = 
| stat31value   = 
| stat32label   = 
| stat32value   = 
| stat33label   = 
| stat33value   = 
| stat34label   = 
| stat34value   = 
| stat35label   = 
| stat35value   = 
| stat36label   = 
| stat36value   = 
| stat37label   = 
| stat37value   = 
| statMyear     = 
| managerwins   = 
| managerlosses = 
| managerties   = 
| formerteams   = 
| teams         = 
| umpirecrew    =
| crewchief     =
| crew2         = 
| crew3         =
| crew4         =
| highlights    = 
| hofcolor      = 
| hoflink       = 
| hoffuture     = 
| hoftype       = 
| hofdate       = 
| hofvote       = 
| hofmethod     = 
| medaltemplates=
| show-medals   =
| update        = 
}}

Parameter descriptions

Note that all of these parameters are optional

  • name –
  • birth_name – only if different from full name (example: John Wayne / Marion Robert Morrison)
  • image –
  • image_size –
  • alt –
  • caption –
  • team – current team played for
  • number –
  • position – Position(s) primarily played by the player now (active players) or in their career (retired players). For umpires, specify "Umpire".
  • positionplain –
  • birth_date – if alive use sytax, {{birth date and age|yyyy|mm|dd}}
  • birth_place –
  • death_date –
  • death_place –
  • bats –
  • throws –
  • debutleague – league debuted for, should be abbreviated, e.g. [[Nippon Professional Baseball|NPB]]
  • debutdate – e.g. March 3
  • debutyear – e.g. 2003
  • debutteam – e.g. Seibu Lions
  • debut2league – if debuted in 2 top-level leagues, e.g. NPB and MLB. Up to four leagues are supported by the template.
  • debut2date –
  • debut2year –
  • debut2team –
  • debut3league –
  • debut3date –
  • debut3year –
  • debut3team –
  • debut4league –
  • debut4date –
  • debut4year –
  • debut4team –
  • finalleague – use the same league as debutleague=
  • finaldate – date (month and day) of last appearance in debutleague=
  • finalyear – year of last appearance in debutleague=
  • finalteam – team played on during last appearance in debutleague=
  • final2league – for displaying final date played in a second top-level league, e.g. NPB and MLB. Up to four leagues are supported by the template.
  • final2date –
  • final2year –
  • final2team –
  • final3league –
  • final3date –
  • final3year –
  • final3team –
  • final4league –
  • final4date –
  • final4year –
  • final4team –
  • statleague –
  • statyear – A year or date that the stats listed below apply to
  • stat1label – the most important statistic for evaluating this player. Will vary according to what the player is best known for.
  • stat1value – the value of that statistic.
  • stat2label – another statistic (up to seven can be used – in exceptional cases!)
  • stat2value –
  • stat3label –
  • stat3value –
  • stat4label –
  • stat4value –
  • stat5label –
  • stat5value –
  • stat6label –
  • stat6value –
  • stat7label –
  • stat7value –
  • stat21label –
  • stat21value –
  • stat22label –
  • stat22value –
  • stat23label –
  • stat23value –
  • stat24label –
  • stat24value –
  • stat25label –
  • stat25value –
  • stat26label –
  • stat26value –
  • stat27label –
  • stat27value –
  • stat3league –
  • stat3year –
  • stat31label –
  • stat31value –
  • stat32label –
  • stat32value –
  • stat33label –
  • stat33value –
  • stat34label –
  • stat34value –
  • stat35label –
  • stat35value –
  • stat36label –
  • stat36value –
  • stat37label –
  • stat37value –
  • statMyear –
  • managerwins – Managers only. Include "statyear" if applicable.
  • managerlosses –
  • managerties –
  • formerteams –
  • teams – List of teams (former and present) the player has played for, with their years.
  • highlights –
  • hofcolor – If a different color is needed other than the default, e.g. Felipe Montemayor.
  • hoflink – Link to Wikipedia page without markup, e.g. Japanese Baseball Hall of Fame
  • hoffuture – Enter "yes" if the individual has been announced as an incoming Hall of Fame member but not yet inducted; otherwise, either omit the tag entirely or leave it blank. Setting this tag will cause "Incoming" to appear before the text "Member of the Foo Hall of Fame".
  • hoftype – Name of hall of fame, e.g. Japanese
  • hofdate – If the player is a member of a top-level hall of fame, enter the date (or at least year) that he was elected. Setting this tag will make a Hall of Fame banner appear.
  • hofvote – Put details of the HoF vote (if any) here.
  • hofmethod – Put details of the method elected here. Leave blank if a standard vote
  • update – Last time updated (for current players only). Use syntax {{date|yyyy-mm-dd}}

Examples

All player options on (+HoF) (retired)

Template:Infobox baseball biography

{{Infobox baseball biography
| name          = All Options On (+HoF)
| birth_name    = Birth Name
| image         = 
| image_size    = 150
| caption       = Caption
| team          = Team Name
| number        = 99
| position      = Position
| bats          = Bats
| throws        = Throws
| birth_date    = {{birth date|1955|1|1}}
| birth_place   = Birthplace
| death_date    = {{death date and age|2007|1|1|1955|1|1|}}
| death_place   = Deathplace
| debutleague   = [[Korea Baseball Championship|KBO]]
| debutdate     = June 1
| debutyear     = 1983
| debutteam     = Team Name
| debut2league  = [[Nippon Professional Baseball|NPB]]
| debut2date    = April 1
| debut2year    = 1987
| debut2team    = Team Name
| debut3league  = [[Major League Baseball|MLB]]
| debut3date    = June 1
| debut3year    = 1991
| debut3team    = Team Name
| finalleague   = MLB
| finaldate     = June 1
| finalyear     = 1995
| finalteam     = Team Name
| statleague    = KBO
| stat1label    = [[Batting average]]
| stat1value    = .333
| stat2label    = [[Run batted in|Runs batted in]]
| stat2value    = 333
| stat3label    = [[Home run]]s
| stat3value    = 333
| stat2league   = NPB
| stat21label   = Batting average
| stat21value   = .355
| stat22label   = Runs batted in
| stat22value   = 355
| stat23label   = Home runs
| stat23value   = 355
| stat3league   = MLB
| stat31label   = Batting average
| stat31value   = .377
| stat32label   = Runs batted in
| stat32value   = 377
| stat33label   = Home runs
| stat33value   = 377
| teams         = 
* First Team Name ({{by|1983}}–{{by|1986}})
* Second Team Name ({{by|1987}}–{{by|1990}})
* Current Team Name ({{by|1991}}–{{by|1995}})
| highlights    = 
| hoflink       = National Baseball Hall of Fame and Museum
| hoftype       = National
| hofdate       = March 20, 2000
| hofvote       = 88% (first ballot)
| hofmethod     = Veteran's Committee
}}

Tracking categories

Redirects

See also