Difference between revisions of "Template:Infobox MLB player"
Jump to navigation
Jump to search
imported>Caknuck (New category) |
imported>Mscuthbert (Added HoF docs -- will work on making work in sandbox) |
||
| Line 35: | Line 35: | ||
|stat2label= | |stat2label= | ||
|stat2value= | |stat2value= | ||
| + | |hofdate= | ||
| + | |hofvote= | ||
| + | |hofmethod= | ||
|teams= | |teams= | ||
}}</pre> | }}</pre> | ||
| Line 77: | Line 80: | ||
*stat2label=another statistic (up to six can be used--in exceptional cases!) | *stat2label=another statistic (up to six can be used--in exceptional cases!) | ||
*stat2value= | *stat2value= | ||
| + | *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. '''Currently Testing in /sandbox.''' | ||
| + | *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 | ||
*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. | *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. | ||
==microformat== | ==microformat== | ||
{{UF-hcard-person}} | {{UF-hcard-person}} | ||
| + | |||
</noinclude> | </noinclude> | ||
{| class="infobox bordered vcard" style="width: 25em; text-align: left; font-size: 95%;" | {| class="infobox bordered vcard" style="width: 25em; text-align: left; font-size: 95%;" | ||
Revision as of 02:43, 27 June 2007
Usage
Copy and paste the template below:
{{Infobox MLB player
|bgcolor1=
|width=
|bgcolor2=
|textcolor1=
|textcolor2=
|image=
|name=
|position=
|team=
|number=
|bats=
|throws=
|feet=
|inches=
|birthdate=
|place=
|College=
|salary=
|debutdate=
|debutyear=
|debutteam=
|draftnumber=
|draftround=
|height=
|weight=
|draftyear=
|draftteam=
|statyear=
|stat1label=
|stat1value=
|stat2label=
|stat2value=
|hofdate=
|hofvote=
|hofmethod=
|teams=
}}
Parameter Descriptions
Note that all of these parameters are optional--it is better not to include one than to include misleading or incomplete information (e.g., if the player's salary includes unusual components that make it hard to accurately calculate--better to leave it blank than fill it in). 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.
- bgcolor1=
- width=
- bgcolor2= See the color table below
- textcolor1= See the color table below
- textcolor2= See the color table below
- image=Filename of the image of the player (not preceeded by "Image:")
- name=
- position= The position primarily played by the player
- team= current club played for
- number=
- bats=
- throws=
- feet=
- inches=
- birthdate=
- place=
- College=
- salary=
- debutdate=
- debutyear=
- debutteam=
- draftnumber=
- draftround=
- height=
- weight=
- draftyear=
- draftteam=
- 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 most well-known for.
- stat1value=the value of that statistic.
- stat2label=another statistic (up to six can be used--in exceptional cases!)
- stat2value=
- 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. Currently Testing in /sandbox.
- 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
- 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.
microformat
| {{{team}}} — No. – | |
| [[{{{position}}}]] | |
| Bats: {{{bats}}} | Throws: {{{throws}}} |
| Major League Baseball debut | |
|---|---|
| [[{{{debutdate}}}]], [[{{{debutyear}}}]] for the {{{debutteam}}} | |
| Team | bgcolor1 | bgcolor2 | textcolor1 | textcolor2 | Color Set 1 Example | Color Set 2 Example |
|---|---|---|---|---|---|---|
| Arizona Diamondbacks | #af0039 | black | white | white | Example | Example |
| Atlanta Braves | #0f437c | #af0039 | white | white | Example | Example |
| Baltimore Orioles | black | #F87217 | white | white | Example | Example |
| Boston Red Sox | #ba313c | #0d2b56 | white | white | Example | Example |
| Chicago Cubs | #0e3386 | #d82427 | white | white | Example | Example |
| Chicago White Sox | black | silver | white | white | Example | Example |
| Cincinnati Reds | #c6011f | black | white | white | Example | Example |
| Cleveland Indians | #990000 | #023465 | white | white | Example | Example |
| Colorado Rockies | #333366 | black | white | white | Example | Example |
| Detroit Tigers | #bd5d29 | #003366 | white | white | Example | Example |
| Florida Marlins | #009494 | black | white | white | Example | Example |
| Houston Astros | #95322c | black | white | white | Example | Example |
| Kansas City Royals | #15317E | #15317E | white | white | Example | Example |
| Los Angeles Angels | #ff0000 | #999999 | white | white | Example | Example |
| Los Angeles Dodgers | #083c6b | #083c6b | white | white | Example | Example |
| Milwaukee Brewers | #0a2252 | #b6922e | white | white | Example | Example |
| Minnesota Twins | #072764 | #c6011f | white | white | Example | Example |
| New York Mets | #003581 | #ff5700 | white | white | Example | Example |
| New York Yankees | #1c2841 | #6d7380 | white | white | Example | Example |
| Oakland Athletics | #003831 | gold | white | white | Example | Example |
| Philadelphia Phillies | #A50024 | #263473 | white | white | Example | Example |
| Pittsburgh Pirates | #e1b81e | black | black | white | Example | Example |
| San Diego Padres | #d0ad7f | #000066 | black | white | Example | Example |
| San Francisco Giants | #fd5a1e | black | white | white | Example | Example |
| Seattle Mariners | #005c5c | #0c2c56 | white | white | Example | Example |
| St. Louis Cardinals | #c41e3a | #0a2252 | white | white | Example | Example |
| Tampa Ray Devil Bays | #00653A | #151B54 | white | white | Example | Example |
| Texas Rangers | #003279 | #bd1021 | white | white | Example | Example |
| Toronto Blue Jays | #005ac0 | black | white | white | Example | Example |
| Washington Nationals | #ba122b | #11225b | white | white | Example | Example |
| No Team / Free Agent | do not specify colors | Example | Example | |||
| 100px Caption | |
|---|---|
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Major League Baseball debut | |
| June 1, 2000 for the Team Name | |
| Selected MLB statistics (through 2005) | |
| Batting average | .340 |
| Runs batted in | 586 |
| Home runs | 233 |
| Teams | |
| 100px Caption | |
|---|---|
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Major League Baseball debut | |
| June 1, 2000 for the Team Name | |
| Selected MLB statistics (through 2005) | |
| Batting average | .340 |
| Runs batted in | 586 |
| Home runs | 233 |
| 100px Caption | |
|---|---|
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Major League Baseball debut | |
| June 1, 2000 for the Team Name | |
| Teams | |
| 100px Caption | |
|---|---|
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Major League Baseball debut | |
| June 1, 2000 for the Team Name | |
| 100px Caption | |
|---|---|
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Major League Baseball debut | |
| June 1, 2000 for the Team Name | |
| Selected MLB statistics (through 2005) | |
| Batting average | .340 |
| Runs batted in | 586 |
| Teams | |
| 100px | |
|---|---|
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Major League Baseball debut | |
| June 1, 2000 for the Team Name | |
| Selected MLB statistics (through 2005) | |
| Batting average | .340 |
| Runs batted in | 586 |
| Home runs | 233 |
| Teams | |
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Major League Baseball debut | |
|---|---|
| June 1, 2000 for the Team Name | |
| Selected MLB statistics (through 2005) | |
| Batting average | .340 |
| Runs batted in | 586 |
| Home runs | 233 |
| Teams | |
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Major League Baseball debut | |
|---|---|
| June 1, 2000 for the Team Name | |