Template:Infobox NPB player
From Wikipedia, the free encyclopedia
Contents |
[edit] Usage
Copy and paste the template below:
{{Infobox NPB 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=
}}
[edit] 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 preceded 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. (note that Mlbretired also has these fields and may be more appropriate)
- 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.
[edit] Microformat
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. For more information about the use of microformats on Wikipedia, please see the microformat project.
Date-of-birth ("bday") parameters will only be included in the microformat if {{Birth date}} or {{Birth date and age}} are used in the infobox.
hCard uses HTML classes including:
- adr
- bday
- county-name
- fn (required)
- honorific-prefix
- honorific-suffix
- label
- locality
- nickname
- note
- org
- role
- vcard
Please do not rename or remove these classes.
[edit] Testing
If you want to make any changes here, please use /sandbox first.
| {{{team}}} — No. – | |
| [[{{{position}}}]] | |
| Bats: {{{bats}}} | Throws: {{{throws}}} |
| Nippon Professional Baseball debut | |
|---|---|
| [[{{{debutdate}}}]], [[{{{debutyear}}}]] for the {{{debutteam}}} | |
| Team | bgcolor1 | bgcolor2 | textcolor1 | textcolor2 | Color Set 1 Example | Color Set 2 Example |
|---|---|---|---|---|---|---|
| Chunichi Dragons | blue | blue | white | white | Example | Example |
| Hanshin Tigers | black | yellow | white | black | Example | Example |
| Hiroshima Toyo Carp | red | red | white | white | Example | Example |
| Tokyo Yakult Swallows | red | navy | white | white | Example | Example |
| Yokohama BayStars | blue | blue | white | white | Example | Example |
| Yomiuri Giants | #fd5a1e | black | white | black | Example | Example |
| Chiba Lotte Marines | black | #ff1493 | white | white | Example | Example |
| Fukuoka SoftBank Hawks | yellow | black | black | white | Example | Example |
| Hokkaido Nippon Ham Fighters | #006492 | orange | white | black | Example | Example |
| Orix Buffaloes | yellow | #083c6b | black | white | Example | Example |
| Saitama Seibu Lions | skyblue | green | black | white | Example | Example |
| Tohoku Rakuten Golden Eagles | crimson | gold | white | black | Example | Example |
| No Team / Free Agent | do not specify colors | Example | Example | |||
Caption |
|
|---|---|
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Nippon Professional Baseball debut | |
| [[{{{debutdate}}}]], 2000 for the Team Name | |
| Selected NPB statistics (through 2005) |
|
| Batting average | .340 |
| Runs batted in | 586 |
| Home runs | 233 |
| Teams | |
| Member of the National | |
| Elected | March 20, 2007 |
| Vote | 88% (first ballot) |
| Election Method | Veteran's Committee |
Caption |
|
|---|---|
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Nippon Professional Baseball debut | |
| [[{{{debutdate}}}]], 2000 for the Team Name | |
| Selected NPB statistics (through 2005) |
|
| Batting average | .340 |
| Runs batted in | 586 |
| Home runs | 233 |
Caption |
|
|---|---|
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Nippon Professional Baseball debut | |
| [[{{{debutdate}}}]], 2000 for the Team Name | |
| Teams | |
Caption |
|
|---|---|
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Nippon Professional Baseball debut | |
| [[{{{debutdate}}}]], 2000 for the Team Name | |
Caption |
|
|---|---|
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Nippon Professional Baseball debut | |
| [[{{{debutdate}}}]], 2000 for the Team Name | |
| Selected NPB statistics (through 2005) |
|
| Batting average | .340 |
| Runs batted in | 586 |
| Teams | |
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Nippon Professional Baseball debut | |
| [[{{{debutdate}}}]], 2000 for the Team Name | |
| Selected NPB statistics (through 2005) |
|
| Batting average | .340 |
| Runs batted in | 586 |
| Home runs | 233 |
| Teams | |
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Nippon Professional Baseball debut | |
|---|---|
| [[{{{debutdate}}}]], 2000 for the Team Name | |
| Selected NPB statistics (through 2005) |
|
| Batting average | .340 |
| Runs batted in | 586 |
| Home runs | 233 |
| Teams | |
| Team Name — No. 99 | |
| Position | |
| Bats: Bats | Throws: Throws |
| Nippon Professional Baseball debut | |
|---|---|
| [[{{{debutdate}}}]], 2000 for the Team Name | |

