Template:Infobox NPB player/doc

From blackwiki
< Template:Infobox NPB player
Revision as of 03:05, 3 December 2008 by imported>Borgarde (add note about colours)
Jump to navigation Jump to search

Note: Team colors are now added to the infobox automatically when a team is entered into the team field. The colors are taken from Template:MLBPrimaryColor, Template:MLBSecondaryColor, Template:MLBAltPrimaryColor and Template:MLBAltSecondaryColor.

Usage

Copy and paste the template below:

{{Infobox NPB player
|image=
|width=
|caption=
|name=
|position=
|positionplain=
|team=
|number=
|bats=
|throws=
|birthdate=
|deathdate=
|debutdate=
|debutyear=
|debutteam=
|statyear=
|stat1label=
|stat1value=
|stat2label=
|stat2value=
|stat3label=
|stat3value=
|stat4label=
|stat4value=
|stat5label=
|stat5value=
|stat6label=
|stat6value=
|teams=
|highlights=
|hofdate=
|hofvote=
|hofmethod=
}}

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.

  • image=
  • width=
  • caption=
  • name=
  • position= The position primarily played by the player
  • positionplain=
  • team= current club played for
  • number=
  • bats=
  • throws=
  • birthdate=
  • deathdate=
  • debutdate=
  • debutyear=
  • debutteam=
  • 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=
  • stat3label=
  • stat3value=
  • stat4label=
  • stat4value=
  • stat5label=
  • stat5value=
  • stat6label=
  • stat6value=
  • 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.
  • highlights=
  • hofdate=If the player is a member of the Japanese 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.
  • hofvote=Put details of the HoF vote (if any) here.
  • hofmethod=Put details of the method elected here. Leave blank if a standard vote

Microformat

Template:UF-hcard-person

Testing

If you want to make any changes here, please use /sandbox first.

All Options On (+HoF)
Baseball (crop).jpg
Caption
Team Name – No. 99
Position
Bats: Bats Throws: Throws
debut
2000, for the Team Name
Career statistics
(through 2005)
Batting average.340
Runs batted in586
Home runs233
Teams
[[{{{hoflink}}}|Member of the {{{hoftype}}}]]
Empty Star.svg Empty Star.svg Empty Star.svg [[{{{hoflink}}}|Baseball Hall of Fame]] Empty Star.svg Empty Star.svg Empty Star.svg
InductionMarch 20, 2007
Vote88% (first ballot)
Election MethodVeteran's Committee
No Teams Listed
Baseball (crop).jpg
Caption
Team Name – No. 99
Position
Bats: Bats Throws: Throws
debut
2000, for the Team Name
Career statistics
(through 2005)
Batting average.340
Runs batted in586
Home runs233
No Stats
Baseball (crop).jpg
Caption
Team Name – No. 99
Position
Bats: Bats Throws: Throws
debut
2000, for the Team Name
Teams
No Stats, No Teams
Baseball (crop).jpg
Caption
Team Name – No. 99
Position
Bats: Bats Throws: Throws
debut
2000, for the Team Name
Two Stats
Baseball (crop).jpg
Caption
Team Name – No. 99
Position
Bats: Bats Throws: Throws
debut
2000, for the Team Name
Career statistics
(through 2005)
Batting average.340
Runs batted in586
Teams
No Caption
Baseball (crop).jpg
Team Name – No. 99
Position
Bats: Bats Throws: Throws
debut
2000, for the Team Name
Career statistics
(through 2005)
Batting average.340
Runs batted in586
Home runs233
Teams
No Image
Team Name – No. 99
Position
Bats: Bats Throws: Throws
debut
2000, for the Team Name
Career statistics
(through 2005)
Batting average.340
Runs batted in586
Home runs233
Teams

Lua error: Internal error: The interpreter has terminated with signal "24".Lua error: Internal error: The interpreter has terminated with signal "24".