Difference between revisions of "Template:Infobox baseball biography"

From Sim Football Wiki
Jump to navigation Jump to search
(Blanked the page)
Tag: Blanking
Line 1: Line 1:
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{Person infobox header}}
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
{{Uses TemplateStyles|Template:Infobox baseball biography/styles.css}}
 
  
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 {{tl|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===
 
 
{{Parameter names example | 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 }}
 
 
<pre style="font-size:100%; overflow:auto;">
 
{{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        =
 
}}
 
</pre>
 
{{clear}}
 
 
===Umpire===
 
{{parameter names example | position=Umpire | birth_date | birth_place | caption | crew2 | crew3 | crew4 | crewchief | death_date | death_place | debutyear | highlights | hofdate | hoffuture | hofmethod | hofvote | image | image_size | name | number | umpirecrew | width}}
 
<pre style="font-size:100%; overflow:auto;">
 
{{Infobox baseball umpire 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  =
 
}}
 
</pre>
 
 
===All parameters===
 
 
{{Parameter names example | name | birth_name | image | image_size | alt | caption  | team | number | position | positionplain | birth_date | birth_place | death_date | death_place | bats | throws | finalyear | debutyear | debutteam | debut2league | debut2year | debut2team | debut2date | debut3league | debut3year | debut3team | debut3date | debut4league | debut4year | debut4team | debut4date| debutleague | debutdate | finalteam | final2league | final2year | final2team | final2date | final3league | final3year | final3team | final4date | final4league | final4year | final4team | final4date | finalleague | finaldate | stat1value | stat2value | stat3value | stat4value | stat5value | statleague | statyear | stat1label | stat2label | stat3label | stat4label | stat5label | stat6label | stat6value | stat7label | stat7value | stat21value | stat22value | stat23value | stat24value | stat25value | stat2league | stat2year | stat21label | stat22label | stat23label | stat24label | stat25label | stat26label | stat26value | stat27label | stat27value | stat31value | stat32value | stat33value | stat34value | stat35value | stat3league | stat3year | stat31label | stat32label | stat33label | stat34label | stat35label | stat36label | stat36value | stat37label | stat37value | managerwins | managerlosses | managerties | statMyear | formerteams | teams | highlights | hofdate | hoflink | hoffuture | hoftype | hofcolor | hofvote | hofmethod | update | medaltemplates | umpirecrew | crewchief | crew2 | crew3 | crew4}}
 
 
<pre style="font-size:100%; overflow:auto;">
 
{{Infobox baseball all 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        =
 
}}
 
</pre>
 
{{clear}}
 
 
==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      – [[baseball positions|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, <nowiki>{{birth date and age|yyyy|mm|dd}}</nowiki>
 
* birth_place  –
 
* death_date    –
 
* death_place  –
 
* bats          –
 
* throws        –
 
* debutleague  – league debuted for, should be abbreviated, e.g. <nowiki>[[Nippon Professional Baseball|NPB]]</nowiki>
 
* 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 <nowiki>{{date|yyyy-mm-dd}}</nowiki>
 
 
== Examples ==
 
 
=== All player options on (+HoF) (retired) ===
 
{{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 (baseball)|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 ({{Baseball year|1983}}–{{Baseball year|1986}})
 
* Second Team Name ({{Baseball year|1987}}–{{Baseball year|1990}})
 
* Current Team Name ({{Baseball year|1991}}–{{Baseball year|1995}})
 
| highlights    =
 
| hoflink      = National Baseball Hall of Fame and Museum
 
| hoftype      = National
 
| hofdate      = March 20, 2000
 
| hofvote      = 88% (first ballot)
 
| hofmethod    = Veteran's Committee
 
}}
 
 
<pre style="overflow: auto">
 
{{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
 
}}
 
</pre>
 
 
== Tracking categories ==
 
* {{clc|Pages using infobox baseball biography with unknown parameters}}
 
 
== Redirects ==
 
* {{tl|Infobox MLB player}}
 
* {{tl|Infobox NPB player}}
 
* {{tl|Infobox CPBL player}}
 
* {{tl|Infobox KBO player}}
 
 
== See also ==
 
* {{tl|Infobox sportsperson}}
 
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Baseball player infobox templates|Player]]
 
[[Category:Sportsperson infobox templates|Baseball biography]]
 
[[Category:Biographical templates usable as a module|Baseball biography]]
 
[[Category:Infobox templates with updated parameter]]
 
[[Category:Templates that add a tracking category]]
 
}}</includeonly>
 

Revision as of 01:20, 30 January 2022