Difference between revisions of "Template:Infobox MLB player"
Jump to navigation
Jump to search
imported>Charolastra charolo |
(shouldn't override users' date prefs) |
||
| Line 74: | Line 74: | ||
! colspan="2" style="text-align:center; background:{{{bgcolor2}}};" | <span style="color:{{{textcolor2|black}}};">Major League Baseball debut</span> | ! colspan="2" style="text-align:center; background:{{{bgcolor2}}};" | <span style="color:{{{textcolor2|black}}};">Major League Baseball debut</span> | ||
|- | |- | ||
| − | | colspan="2" style="text-align:center;" | [[{{{debutdate}}}]], [[ | + | | colspan="2" style="text-align:center;" | [[{{{debutdate}}}]], [[{{{debutyear}}}]] for the {{{debutteam}}} |
|- | |- | ||
{{#if:{{{statyear|}}}|<tr style="background:{{{bgcolor1}}};"><th colspan="2" style="text-align:center;"><span style="color:{{{textcolor1}}};">Selected MLB statistics <br/>(through {{{statyear}}})</span></th></tr> }}{{#if:{{{stat1label|}}}|<tr><th style="text-align:right">{{{stat1label}}} </th><td> {{{stat1value}}}</td></tr> }}{{#if:{{{stat2label|}}}|<tr><th style="text-align:right">{{{stat2label}}} </th><td> {{{stat2value}}}</td></tr> }}{{#if:{{{stat3label|}}}|<tr><th style="text-align:right">{{{stat3label}}} </th><td> {{{stat3value}}}</th></tr> }}{{#if:{{{stat4label|}}}|<tr><th style="text-align:right">{{{stat4label}}} </th><td> {{{stat4value}}}</th></tr> }}{{#if:{{{stat5label|}}}|<tr><th style="text-align:right">{{{stat5label}}} </th><td> {{{stat5value}}}</th></tr> }}{{#if:{{{stat6label|}}}|<tr><th style="text-align:right">{{{stat6label}}} </th><td> {{{stat6value}}}</th></tr> }}{{#if:{{{awards|}}}|<tr style="background:{{{bgcolor2}}};"><th colspan="2" style="text-align:center;"><span style="color:{{{textcolor2}}};">Awards</span></th></tr><tr><td colspan="2">{{{awards}}}</td></tr> }}{{#if:{{{formerteams|}}}|<tr style="background:{{{bgcolor1}}};"><th colspan="2" style="text-align:center;"><span style="color:{{{textcolor2}}};">Former teams</span></th></tr> }}{{#if:{{{formerteams|}}}|<tr><td colspan="2">{{{formerteams}}}</td></tr> }} | {{#if:{{{statyear|}}}|<tr style="background:{{{bgcolor1}}};"><th colspan="2" style="text-align:center;"><span style="color:{{{textcolor1}}};">Selected MLB statistics <br/>(through {{{statyear}}})</span></th></tr> }}{{#if:{{{stat1label|}}}|<tr><th style="text-align:right">{{{stat1label}}} </th><td> {{{stat1value}}}</td></tr> }}{{#if:{{{stat2label|}}}|<tr><th style="text-align:right">{{{stat2label}}} </th><td> {{{stat2value}}}</td></tr> }}{{#if:{{{stat3label|}}}|<tr><th style="text-align:right">{{{stat3label}}} </th><td> {{{stat3value}}}</th></tr> }}{{#if:{{{stat4label|}}}|<tr><th style="text-align:right">{{{stat4label}}} </th><td> {{{stat4value}}}</th></tr> }}{{#if:{{{stat5label|}}}|<tr><th style="text-align:right">{{{stat5label}}} </th><td> {{{stat5value}}}</th></tr> }}{{#if:{{{stat6label|}}}|<tr><th style="text-align:right">{{{stat6label}}} </th><td> {{{stat6value}}}</th></tr> }}{{#if:{{{awards|}}}|<tr style="background:{{{bgcolor2}}};"><th colspan="2" style="text-align:center;"><span style="color:{{{textcolor2}}};">Awards</span></th></tr><tr><td colspan="2">{{{awards}}}</td></tr> }}{{#if:{{{formerteams|}}}|<tr style="background:{{{bgcolor1}}};"><th colspan="2" style="text-align:center;"><span style="color:{{{textcolor2}}};">Former teams</span></th></tr> }}{{#if:{{{formerteams|}}}|<tr><td colspan="2">{{{formerteams}}}</td></tr> }} | ||
Revision as of 04:02, 4 March 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=
|birthday=
|place=
|birthyear=
|College=
|salary=
|debutdate=
|debutyear=
|debutteam=
|draftnumber=
|draftround=
|height=
|weight=
|draftyear=
|draftteam=
}}
Parameter discriptions
- 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=
- birthday=
- place=
- birthyear=
- College=
- salary=
- debutdate=
- debutyear=
- debutteam=
- draftnumber=
- draftround=
- height=
- weight=
- draftyear=
- draftteam=
| {{{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 | #ff5731 | 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 |
| Former 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 | |
| Former 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 |
| Former 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 |
| Former 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 |
| 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 |
| Former 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 |
| Former teams | |
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Major League Baseball debut | |
|---|---|
| June 1, 2000 for the Team Name | |