Difference between revisions of "Template:Infobox NPB player/doc"

From blackwiki
Jump to navigation Jump to search
imported>Borgarde
(add note about colours)
imported>Borgarde
 
Line 1: Line 1:
'''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]].
+
#REDIRECT [[Template:Infobox baseball biography/doc]]
 
 
== Usage ==
 
Copy and paste the template below:
 
<pre>{{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=
 
}}</pre>
 
==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 [[Baseball positions|position]] primarily played by the player
 
*positionplain=
 
*team= current [[Major League Baseball#Current_Major_League_Clubs|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==
 
{{UF-hcard-person}}
 
 
 
==Testing==
 
If you want to make any changes here, please use [[/sandbox]] first.
 
 
 
{{Infobox NPB player|
 
name=All Options On (+HoF)|
 
image=Baseball (crop).jpg|
 
caption=Caption|
 
width=100|
 
position=Position|
 
team=Team Name|
 
number=99|
 
bats=Bats|
 
throws=Throws|
 
debutyear=2000|
 
debutteam=Team Name|
 
statyear=2005|
 
stat1label=[[Batting average]]|
 
stat1value=.340|
 
stat2label=[[Run batted in|Runs batted in]]|
 
stat2value=586|
 
stat3label=[[Home run|Home runs]]|
 
stat3value=233|
 
hofdate=March 20, 2007|
 
hofvote=88% (first ballot)|
 
hofmethod=Veteran's Committee|
 
teams=<nowiki></nowiki>
 
*First Team Name ([[2000 in baseball|2000]]–[[2003 in baseball|2003]])
 
*Second Team Name ([[2003 in baseball|2003]]–[[2004 in baseball|2004]])
 
*Current Team Name ([[2005 in baseball|2005]]–present)
 
}}
 
 
 
{{Infobox NPB player|
 
name=No Teams Listed|
 
image=Baseball (crop).jpg|
 
caption=Caption|
 
width=100|
 
position=Position|
 
team=Team Name|
 
number=99|
 
bats=Bats|
 
throws=Throws|
 
debutyear=2000|
 
debutteam=Team Name|
 
statyear=2005|
 
stat1label=[[Batting average]]|
 
stat1value=.340|
 
stat2label=[[Run batted in|Runs batted in]]|
 
stat2value=586|
 
stat3label=[[Home run|Home runs]]|
 
stat3value=233|
 
}}
 
 
 
{{Infobox NPB player|
 
name=No Stats|
 
image=Baseball (crop).jpg|
 
caption=Caption|
 
width=100|
 
position=Position|
 
team=Team Name|
 
number=99|
 
bats=Bats|
 
throws=Throws|
 
debutyear=2000|
 
debutteam=Team Name|
 
teams=<nowiki></nowiki>
 
*First Team Name ([[2000 in baseball|2000]]–[[2003 in baseball|2003]])
 
*Second Team Name ([[2003 in baseball|2003]]–[[2004 in baseball|2004]])
 
*Current Team Name ([[2005 in baseball|2005]]–present
 
}}
 
 
 
{{Infobox NPB player|
 
name=No Stats, No Teams|
 
image=Baseball (crop).jpg|
 
caption=Caption|
 
width=100|
 
position=Position|
 
team=Team Name|
 
number=99|
 
bats=Bats|
 
throws=Throws|
 
debutyear=2000|
 
debutteam=Team Name|
 
}}
 
 
 
{{Infobox NPB player|
 
name=Two Stats|
 
image=Baseball (crop).jpg|
 
caption=Caption|
 
width=100|
 
position=Position|
 
team=Team Name|
 
number=99|
 
bats=Bats|
 
throws=Throws|
 
debutyear=2000|
 
debutteam=Team Name|
 
statyear=2005|
 
stat1label=[[Batting average]]|
 
stat1value=.340|
 
stat2label=[[Run batted in|Runs batted in]]|
 
stat2value=586|
 
teams=<nowiki></nowiki>
 
*First Team Name ([[2000 in baseball|2000]]–[[2003 in baseball|2003]])
 
*Second Team Name ([[2003 in baseball|2003]]–[[2004 in baseball|2004]])
 
*Current Team Name ([[2005 in baseball|2005]]–present
 
}}
 
 
 
{{Infobox NPB player|
 
name=No Caption|
 
image=Baseball (crop).jpg|
 
width=100|
 
position=Position|
 
team=Team Name|
 
number=99|
 
bats=Bats|
 
throws=Throws|
 
debutyear=2000|
 
debutteam=Team Name|
 
statyear=2005|
 
stat1label=[[Batting average]]|
 
stat1value=.340|
 
stat2label=[[Run batted in|Runs batted in]]|
 
stat2value=586|
 
stat3label=[[Home run|Home runs]]|
 
stat3value=233|
 
teams=<nowiki></nowiki>
 
*First Team Name ([[2000 in baseball|2000]]–[[2003 in baseball|2003]])
 
*Second Team Name ([[2003 in baseball|2003]]–[[2004 in baseball|2004]])
 
*Current Team Name ([[2005 in baseball|2005]]–present
 
}}
 
 
 
{{Infobox NPB player|
 
name=No Image|
 
position=Position|
 
team=Team Name|
 
number=99|
 
bats=Bats|
 
throws=Throws|
 
debutyear=2000|
 
debutteam=Team Name|
 
statyear=2005|
 
stat1label=[[Batting average]]|
 
stat1value=.340|
 
stat2label=[[Run batted in|Runs batted in]]|
 
stat2value=586|
 
stat3label=[[Home run|Home runs]]|
 
stat3value=233|
 
teams=<nowiki></nowiki>
 
*First Team Name ([[2000 in baseball|2000]]–[[2003 in baseball|2003]])
 
*Second Team Name ([[2003 in baseball|2003]]–[[2004 in baseball|2004]])
 
*Current Team Name ([[2005 in baseball|2005]]–present
 
}}
 
 
 
{{Infobox NPB player|
 
name=All Options Off|
 
position=Position|
 
team=Team Name|
 
number=99|
 
bats=Bats|
 
throws=Throws|
 
debutyear=2000|
 
debutteam=Team Name|
 
}}
 

Latest revision as of 13:13, 7 December 2008