Difference between revisions of "Template:Infobox baseball biography/doc"

From blackwiki
Jump to navigation Jump to search
imported>Borgarde
(use examples from mlb player)
imported>Borgarde
(→‎Examples: work on example)
Line 173: Line 173:
  
 
=== Examples ===
 
=== Examples ===
 +
==== All options on (+HoF) ====
 
{{Infobox baseball biography
 
{{Infobox baseball biography
| name       = All Options On (+HoF)
+
| name       = All Options On (+HoF)
| image     = Baseball (crop).jpg
+
| image       = Baseball (crop).jpg
| width     = 100
+
| width       = 100
| caption   = Caption
+
| caption     = Caption
| team       = Team Name
+
| team       = Team Name
| number     = 99
+
| number     = 99
| position   = Position
+
| position   = Position
| bats       = Bats
+
| bats       = Bats
| throws     = Throws
+
| throws     = Throws
| debutdate = June 1
+
| debutleague = [[Major League Baseball|MLB]]
| debutyear = 2000
+
| debutdate   = June 1
| debutteam = Team Name
+
| debutyear   = 2000
| statyear   = 2005
+
| debutteam   = Team Name
| stat1label = [[Batting average]]
+
| statyear   = 2005
| stat1value = .340
+
| stat1label = [[Batting average]]
| stat2label = [[Run batted in|Runs batted in]]
+
| stat1value = .340
| stat2value = 586
+
| stat2label = [[Run batted in|Runs batted in]]
| stat3label = [[Home run]]s
+
| stat2value = 586
| stat3value = 233
+
| stat3label = [[Home run]]s
| teams     = <nowiki></nowiki>
+
| stat3value = 233
 +
| teams       = <nowiki></nowiki>
 
*First Team Name ([[2000 in baseball|2000]]–[[2003 in baseball|2003]])
 
*First Team Name ([[2000 in baseball|2000]]–[[2003 in baseball|2003]])
 
*Second Team Name ([[2003 in baseball|2003]]–[[2004 in baseball|2004]])
 
*Second Team Name ([[2003 in baseball|2003]]–[[2004 in baseball|2004]])
 
*Current Team Name ([[2005 in baseball|2005]]–present)
 
*Current Team Name ([[2005 in baseball|2005]]–present)
 +
| hoflink    = National Baseball Hall of Fame and Museum
 +
| hoftype    = National
 
| hofdate    = March 20, 2007
 
| hofdate    = March 20, 2007
 
| hofvote    = 88% (first ballot)
 
| hofvote    = 88% (first ballot)
Line 202: Line 206:
 
}}
 
}}
  
{{Infobox baseball biography
+
<pre>{{Infobox baseball biography
| name       = No Teams Listed
+
| name       = All Options On (+HoF)
| image     = Baseball (crop).jpg
+
| image       = Baseball (crop).jpg
| width     = 100
+
| width       = 100
| caption   = Caption
+
| caption     = Caption
| bgcolor1  = darkblue
+
| team       = Team Name
| textcolor1 = white
+
| number     = 99
| bgcolor2  = red
+
| position   = Position
| textcolor2 = white
+
| bats       = Bats
| team       = Team Name
+
| throws     = Throws
| number     = 99
+
| debutleague = [[Major League Baseball|MLB]]
| position   = Position
+
| debutdate   = June 1
| bats       = Bats
+
| debutyear   = 2000
| throws     = Throws
+
| debutteam   = Team Name
| debutdate = June 1
+
| statyear   = 2005
| debutyear = 2000
+
| stat1label = [[Batting average]]
| debutteam = Team Name
+
| stat1value = .340
| statyear   = 2005
+
| stat2label = [[Run batted in|Runs batted in]]
| stat1label = [[Batting average]]
+
| stat2value = 586
| stat1value = .340
+
| stat3label = [[Home run]]s
| stat2label = [[Run batted in|Runs batted in]]
+
| stat3value = 233
| stat2value = 586
+
| teams       = <nowiki></nowiki>
| stat3label = [[Home run]]s
 
| stat3value = 233
 
}}
 
 
 
{{Infobox baseball biography
 
| name       = No Stats
 
| image      = Baseball (crop).jpg
 
| width      = 100
 
| caption    = Caption
 
| bgcolor1  = darkblue
 
| textcolor1 = white
 
| bgcolor2  = red
 
| textcolor2 = white
 
| team      = Team Name
 
| number    = 99
 
| position  = Position
 
| bats      = Bats
 
| throws    = Throws
 
| debutdate  = June 1
 
| debutyear  = 2000
 
| debutteam  = Team Name
 
| teams      = <nowiki></nowiki>
 
 
*First Team Name ([[2000 in baseball|2000]]–[[2003 in baseball|2003]])
 
*First Team Name ([[2000 in baseball|2000]]–[[2003 in baseball|2003]])
 
*Second Team Name ([[2003 in baseball|2003]]–[[2004 in baseball|2004]])
 
*Second Team Name ([[2003 in baseball|2003]]–[[2004 in baseball|2004]])
 
*Current Team Name ([[2005 in baseball|2005]]–present)
 
*Current Team Name ([[2005 in baseball|2005]]–present)
}}
+
| hoflink    = National Baseball Hall of Fame and Museum
 
+
| hoftype    = National
{{Infobox baseball biography
+
| hofdate   = March 20, 2007
| name      = No Stats, No Teams
+
| hofvote   = 88% (first ballot)
| image      = Baseball (crop).jpg
+
| hofmethod = Veteran's Committee
| width      = 100
+
}}</pre>
| caption   = Caption
 
| bgcolor1  = darkblue
 
| textcolor1 = white
 
| bgcolor2  = red
 
| textcolor2 = white
 
| team      = Team Name
 
| number    = 99
 
| position  = Position
 
| bats      = Bats
 
| throws    = Throws
 
| debutdate  = June 1
 
| debutyear  = 2000
 
| debutteam  = Team Name
 
}}
 
 
 
{{Infobox baseball biography
 
| name      = Two Stats
 
| image      = Baseball (crop).jpg
 
| width      = 100
 
| caption   = Caption
 
| bgcolor1  = darkblue
 
| textcolor1 = white
 
| bgcolor2  = red
 
| textcolor2 = white
 
| team      = Team Name
 
| number    = 99
 
| position  = Position
 
| bats      = Bats
 
| throws    = Throws
 
| debutdate  = June 1
 
| 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 baseball biography
 
| name      = No Caption
 
| image      = Baseball (crop).jpg
 
| width      = 100
 
| bgcolor1  = darkblue
 
| textcolor1 = white
 
| bgcolor2  = red
 
| textcolor2 = white
 
| team      = Team Name
 
| number    = 99
 
| position  = Position
 
| bats      = Bats
 
| throws    = Throws
 
| debutdate = June 1
 
| debutyear  = 2000
 
| debutteam  = Team Name
 
| statyear  = 2005
 
| stat1label = [[Batting average]]
 
| stat1value = .340
 
| stat2label = [[Run batted in|Runs batted in]]
 
| stat2value = 586
 
| stat3label = [[Home run]]s
 
| 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 baseball biography
 
| name      = No Image
 
| bgcolor1  = darkblue
 
| textcolor1 = white
 
| bgcolor2  = red
 
| textcolor2 = white
 
| team      = Team Name
 
| number    = 99
 
| position  = Position
 
| bats      = Bats
 
| throws    = Throws
 
| debutdate  = June 1
 
| debutyear  = 2000
 
| debutteam  = Team Name
 
| statyear  = 2005
 
| stat1label = [[Batting average]]
 
| stat1value = .340
 
| stat2label = [[Run batted in|Runs batted in]]
 
| stat2value = 586
 
| stat3label = [[Home run]]s
 
| 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 baseball biography
 
| name      = All Options Off
 
| bgcolor1  = darkblue
 
| textcolor1 = white
 
| bgcolor2  = red
 
| textcolor2 = white
 
| team      = Team Name
 
| number    = 99
 
| position  = Position
 
| bats      = Bats
 
| throws    = Throws
 
| debutdate  = June 1
 
| debutyear  = 2000
 
| debutteam  = Team Name
 
}}
 
  
 
{{-}}
 
{{-}}

Revision as of 10:38, 15 December 2008

This is a clone of Template:Infobox MLB player, edited to allow for use on any professional baseball player in any league.

Please note that colors will be added to the template automatically through the MLB Primary colors templates

You will need to use the {{editprotect}} notice on their talk pages to request the colors be updated.

Usage

Common parameters
{{Infobox baseball biography
| name          = 
| image         = 
| width         = 
| team          = 
| number        = 
| position      = 
| birthdate     = 
| birthplace    = 
| deathdate     = 
| deathplace    = 
| bats          = 
| throws        = 
| debutleague   = 
| debutdate     = 
| debutyear     = 
| debutteam     = 
| finaldate     = 
| finalyear     = 
| finalteam     = 
| statyear      = 
| statleague    = 
| stat1label    = 
| stat1value    = 
| stat2label    = 
| stat2value    = 
| stat3label    = 
| stat3value    = 
| teams         = 
| highlights    = 
| update        = 
}}

Note that all of these parameters are optional

  • image =
  • width =
  • caption =
  • name =
  • position = The position primarily played by the player
  • positionplain =
  • team = current team played for
  • number =
  • bats =
  • throws =
  • birthdate = if alive use sytax, {{birth date and age|yyyy|mm|dd}}
  • birthplace =
  • deathdate =
  • deathplace =
  • debutleague = league debuted for, should be abbreviatied, e.g. [[Nippon Professional Baseball|NPB]]
  • debutdate = e.g. March 3
  • debutyear = e.g. 2003
  • debutteam = e.g. Seibu Lions
  • debut2league = if debuted in 2 top-level leagues, e.g. NPB and MLB.
  • debut2date =
  • debut2year =
  • debut2team =
  • debut3league =
  • debut3date =
  • debut3year =
  • debut3team =
  • finaldate =
  • finalyear =
  • finalteam =
  • statyear = A year or date that the stats listed below apply to
  • statleague =
  • 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 =
  • managerwins = Managers only. Include "statyear" if applicable.
  • managerlosses =
  • teams = List of teams (former and present) the player has played for, with their years.
  • highlights =
  • hoflink = Link to Wikipedia page without markup, e.g. Japanese Baseball Hall of Fame
  • hoftype = Name of hall of fame, e.g. Japanese
  • hofdate = If the player is a member of a top-level 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
  • update = Last time updated (for current players only). Use sytanx {{date|yyyy-mm-dd}}

Examples

All options on (+HoF)

All Options On (+HoF)
Baseball (crop).jpg
Caption
Team Name – No. 99
Position
Bats: Bats Throws: Throws
MLB debut
June 1, 2000, for the Team Name
Career statistics
(through 2005)
Batting average.340
Runs batted in586
Home runs233
Teams
Member of the National
Empty Star.svg Empty Star.svg Empty Star.svg Baseball Hall of Fame Empty Star.svg Empty Star.svg Empty Star.svg
InductionMarch 20, 2007
Vote88% (first ballot)
Election MethodVeteran's Committee
{{Infobox baseball biography
| name        = All Options On (+HoF)
| image       = Baseball (crop).jpg
| width       = 100
| caption     = Caption
| team        = Team Name
| number      = 99
| position    = Position
| bats        = Bats
| throws      = Throws
| debutleague = [[Major League Baseball|MLB]]
| debutdate   = June 1
| debutyear   = 2000
| debutteam   = Team Name
| statyear    = 2005
| stat1label  = [[Batting average]]
| stat1value  = .340
| stat2label  = [[Run batted in|Runs batted in]]
| stat2value  = 586
| stat3label  = [[Home run]]s
| stat3value  = 233
| teams       = 
*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)
| hoflink    = National Baseball Hall of Fame and Museum
| hoftype    = National
| hofdate    = March 20, 2007
| hofvote    = 88% (first ballot)
| hofmethod  = Veteran's Committee
}}

See also

Redirects