Template:Infobox MLB player

From Wikipedia, the free encyclopedia
Jump to: navigation, search
{{{name}}}
[[Image:{{{image}}}|alt={{{alt}}}]]
{{{caption}}}
{{{team}}} — No. --
{{{position}}}
{{{positionplain}}}
Born: {{{birthdate}}}
{{{birthplace}}}
Died: {{{deathdate}}}
{{{deathplace}}}
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}}}
Teams
{{{teams}}}
Career highlights and awards
{{{highlights}}}
Member of the National
Empty Star.svg Empty Star.svg Empty Star.svg Baseball Hall of Fame Empty Star.svg Empty Star.svg Empty Star.svg
Induction     {{{hofdate}}}
Vote     {{{hofvote}}}
Election Method     {{{hofmethod}}}
Documentation icon Template documentation[view] [edit] [history] [purge]

Blank template[change | change source]

Copy and paste the template below:

{{Infobox MLB player
| name        =
| image       =
| width       =
| caption     =
| team        =
| number      =
| position    =
| positionplain = 
| birthdate   =
| bats        =
| throws      =
| debutdate   =
| debutyear   =
| debutteam   =
| statyear    =
| stat1label  =
| stat1value  =
| stat2label  =
| stat2value  =
| stat3label  =
| stat3value  =
| stat4label  =
| stat4value  =
| stat5label  =
| stat5value  =
| stat6label  =
| stat6value  =
| awards      =
| teams       =
| hofdate     =
| hofvote     =
| hofmethod   =
}}


Parameter Descriptions[change | change source]

Note that all of these parameters are optional--it is better not to include one than to include misleading or incomplete information. For a nineteenth-century player about whom almost nothing is known, it may be better to forgo the infobox completely than to have an empty skeleton.

  • name = name of player
  • image = filename of the image of the player, not preceded by "Image:" (optional)
  • width = width of image in pixels, don't use unless smaller than 200 (optional, defaults to 200)
  • caption = caption text for image (optional)
  • team = current team
  • number = current uniform number
  • position = the position primarily played by the player: Pitcher, Catcher, First baseman, Second baseman, Third baseman, Shortstop, Left fielder, Center fielder or Right fielder.
  • birthdate = {{birth date and age|1950|1|30}}
  • bats = Left / Right
  • throws = Left / Right
  • debutdate = debut date
  • debutyear = debut year
  • debutteam = debut team
  • statyear = the 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 most well-known for.
  • stat1value = the value of that statistic.
  • stat2label = another statistic (up to six can be used--in exceptional cases!)
  • stat2value = etc.
  • stat3label =
  • stat3value =
  • stat4label =
  • stat4value =
  • stat5label =
  • stat5value =
  • stat6label =
  • stat6value =
  • awards = list of awards
  • teams = list of teams (former and present) the player has played for, with their years. Note that the "formerteams" option is deprecated and should be converted to teams.
  • hofdate = if the player is a member of the National Baseball 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 (veteran's committee, Negro league, etc.) here. Leave blank if a standard vote

Examples[change | change source]

All Options On (+HoF)

Caption
Team Name — No. 99
Position
Bats: Bats Throws: Throws 
MLB debut
June 1, 2000 for the Team Name
Career statistics
(through 2005)
Batting average     .340
Runs batted in     586
Home runs     233
Teams
Member of the National
Empty Star.svg Empty Star.svg Empty Star.svg Baseball Hall of Fame Empty Star.svg Empty Star.svg Empty Star.svg
Induction     March 20, 2007
Vote     88% (first ballot)
Election Method     Veteran's Committee
No Teams Listed

Caption
Team Name — No. 99
Position
Bats: Bats Throws: Throws 
MLB debut
June 1, 2000 for the Team Name
Career statistics
(through 2005)
Batting average     .340
Runs batted in     586
Home runs     233
No Stats

Caption
Team Name — No. 99
Position
Bats: Bats Throws: Throws 
MLB debut
June 1, 2000 for the Team Name
Teams
No Stats, No Teams

Caption
Team Name — No. 99
Position
Bats: Bats Throws: Throws 
MLB debut
June 1, 2000 for the Team Name
Two Stats

Caption
Team Name — No. 99
Position
Bats: Bats Throws: Throws 
MLB debut
June 1, 2000 for the Team Name
Career statistics
(through 2005)
Batting average     .340
Runs batted in     586
Teams
No Caption

Team Name — No. 99
Position
Bats: Bats Throws: Throws 
MLB debut
June 1, 2000 for the Team Name
Career statistics
(through 2005)
Batting average     .340
Runs batted in     586
Home runs     233
Teams
No Image
Team Name — No. 99
Position
Bats: Bats Throws: Throws 
MLB debut
June 1, 2000 for the Team Name
Career statistics
(through 2005)
Batting average     .340
Runs batted in     586
Home runs     233
Teams
All Options Off
Team Name — No. 99
Position
Bats: Bats Throws: Throws 
MLB debut
June 1, 2000 for the Team Name


Related pages[change | change source]

Microformat[change | change source]

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.

Date-of-birth ("bday") information will only be included in the microformat if {{Birth date}}, {{Birth date and age}}, or {{Birth-date}} are used in the infobox. (but do not use these if the date is before 1583 CE).

To include a URL, use {{Url}}

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.