Шаблон:Infobox baseball biography

Ҳуҷҷатгузорӣ

This is a clone of Template:Infobox MLB player, edited to allow for use on any professional baseball player in any league. The colors are taken from Module:Baseball color/data.

Usage

Common parameters
{{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     = 
| statyear      = 
| statleague    = 
| stat1label    = 
| stat1value    = 
| stat2label    = 
| stat2value    = 
| stat3label    = 
| stat3value    = 
| teams         = 
| highlights    = 
| update        = 
}}

Note that all of these parameters are optional

  • image =
  • image_size =
  • caption =
  • name =
  • position = The position primarily played by the player
  • positionplain =
  • team = current team played for
  • number =
  • bats =
  • throws =
  • birth_date = if alive use sytax, {{birth date and age|yyyy|mm|dd}}
  • birth_place =
  • death_date =
  • death_place =
  • debutleague = league debuted for, should be abbreviatied, 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.
  • debut2date =
  • debut2year =
  • debut2team =
  • debut3league =
  • debut3date =
  • debut3year =
  • debut3team =
  • finaldate =
  • finalyear =
  • finalteam =
  • statyear = A year or date that the stats listed below apply to
  • statleague =
  • 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 seven can be used--in exceptional cases!)
  • stat2value =
  • stat3label =
  • stat3value =
  • stat4label =
  • stat4value =
  • stat5label =
  • stat5value =
  • stat6label =
  • stat6value =
  • stat7label =
  • stat7value =
  • managerwins = Managers only. Include "statyear" if applicable.
  • managerlosses =
  • 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
  • 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 sytanx {{date|yyyy-mm-dd}}

Examples

All player options on (+HoF) (retired)

{{Infobox baseball biography
| name          = All Options On (+HoF)
| 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
}}

See also

Redirects