Difference between revisions of "Template:Infobox MLB player/testcases"

From blackwiki
Jump to navigation Jump to search
imported>John Cline
(Add closing brackets where missing)
imported>Ianblair23
(links)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{template test cases notice}}
+
{{testcases notice}}
  
 
== Reggie Sanders 1 ==
 
== Reggie Sanders 1 ==
  
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
|name=Reggie Sanders
 
|name=Reggie Sanders
 
|image=  
 
|image=  
Line 19: Line 20:
 
|debutteam=Cincinnati Reds
 
|debutteam=Cincinnati Reds
 
|statyear=2007 season
 
|statyear=2007 season
|stat1label=[[Batting average]]
+
|stat1label=[[Batting average (baseball)|Batting average]]
 
|stat1value=.267
 
|stat1value=.267
 
|stat2label=[[Home run]]s
 
|stat2label=[[Home run]]s
Line 26: Line 27:
 
|stat3value=983
 
|stat3value=983
 
|teams=
 
|teams=
*[[Cincinnati Reds]] ({{by|1991}}-{{by|1998}})
+
*[[Cincinnati Reds]] ({{baseball year|1991}}-{{baseball year|1998}})
*[[San Diego Padres]] ({{by|1999}})
+
*[[San Diego Padres]] ({{baseball year|1999}})
*[[Atlanta Braves]] ({{by|2000}})
+
*[[Atlanta Braves]] ({{baseball year|2000}})
*[[Arizona Diamondbacks]] ({{by|2001}})
+
*[[Arizona Diamondbacks]] ({{baseball year|2001}})
*[[San Francisco Giants]] ({{by|2002}})
+
*[[San Francisco Giants]] ({{baseball year|2002}})
*[[Pittsburgh Pirates]] ({{by|2003}})
+
*[[Pittsburgh Pirates]] ({{baseball year|2003}})
*[[St. Louis Cardinals]] ({{by|2004}}-{{by|2005}})
+
*[[St. Louis Cardinals]] ({{baseball year|2004}}-{{baseball year|2005}})
*[[Kansas City Royals]]  ({{by|2006}}-{{by|2007}})
+
*[[Kansas City Royals]]  ({{baseball year|2006}}-{{baseball year|2007}})
 
}}
 
}}
  
Line 39: Line 40:
  
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
|name=Reggie Sanders
 
|name=Reggie Sanders
 
|image=  
 
|image=  
Line 53: Line 55:
 
|debutteam=Cincinnati Reds
 
|debutteam=Cincinnati Reds
 
|statyear=2007 season
 
|statyear=2007 season
|stat1label=[[Batting average]]
+
|stat1label=[[Batting average (baseball)|Batting average]]
 
|stat1value=.267
 
|stat1value=.267
 
|stat2label=[[Home run]]s
 
|stat2label=[[Home run]]s
Line 60: Line 62:
 
|stat3value=983
 
|stat3value=983
 
|teams=
 
|teams=
*[[Cincinnati Reds]] ({{by|1991}}-{{by|1998}})
+
*[[Cincinnati Reds]] ({{baseball year|1991}}-{{baseball year|1998}})
*[[San Diego Padres]] ({{by|1999}})
+
*[[San Diego Padres]] ({{baseball year|1999}})
*[[Atlanta Braves]] ({{by|2000}})
+
*[[Atlanta Braves]] ({{baseball year|2000}})
*[[Arizona Diamondbacks]] ({{by|2001}})
+
*[[Arizona Diamondbacks]] ({{baseball year|2001}})
*[[San Francisco Giants]] ({{by|2002}})
+
*[[San Francisco Giants]] ({{baseball year|2002}})
*[[Pittsburgh Pirates]] ({{by|2003}})
+
*[[Pittsburgh Pirates]] ({{baseball year|2003}})
*[[St. Louis Cardinals]] ({{by|2004}}-{{by|2005}})
+
*[[St. Louis Cardinals]] ({{baseball year|2004}}-{{baseball year|2005}})
*[[Kansas City Royals]]  ({{by|2006}}-{{by|2007}})
+
*[[Kansas City Royals]]  ({{baseball year|2006}}-{{baseball year|2007}})
 
}}
 
}}
  
Line 73: Line 75:
  
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
| name      = All Options On (+HoF)
 
| name      = All Options On (+HoF)
 
| image      = Baseball (crop).jpg
 
| image      = Baseball (crop).jpg
Line 87: Line 90:
 
| debutteam  = Team Name
 
| debutteam  = Team Name
 
| statyear  = 2005
 
| statyear  = 2005
| stat1label = [[Batting average]]
+
| stat1label = [[Batting average (baseball)|Batting average]]
 
| stat1value = .340
 
| stat1value = .340
 
| stat2label = [[Run batted in|Runs batted in]]
 
| stat2label = [[Run batted in|Runs batted in]]
Line 104: Line 107:
 
== No teams listed ==
 
== No teams listed ==
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
| name      = No Teams Listed
 
| name      = No Teams Listed
 
| image      = Baseball (crop).jpg
 
| image      = Baseball (crop).jpg
Line 122: Line 126:
 
| debutteam  = Team Name
 
| debutteam  = Team Name
 
| statyear  = 2005
 
| statyear  = 2005
| stat1label = [[Batting average]]
+
| stat1label = [[Batting average (baseball)|Batting average]]
 
| stat1value = .340
 
| stat1value = .340
 
| stat2label = [[Run batted in|Runs batted in]]
 
| stat2label = [[Run batted in|Runs batted in]]
Line 133: Line 137:
  
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
| name      = No Stats
 
| name      = No Stats
 
| image      = Baseball (crop).jpg
 
| image      = Baseball (crop).jpg
Line 159: Line 164:
  
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
| name      = No Stats, No Teams
 
| name      = No Stats, No Teams
 
| image      = Baseball (crop).jpg
 
| image      = Baseball (crop).jpg
Line 181: Line 187:
  
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
| name      = Two Stats
 
| name      = Two Stats
 
| image      = Baseball (crop).jpg
 
| image      = Baseball (crop).jpg
Line 199: Line 206:
 
| debutteam  = Team Name
 
| debutteam  = Team Name
 
| statyear  = 2005
 
| statyear  = 2005
| stat1label = [[Batting average]]
+
| stat1label = [[Batting average (baseball)|Batting average]]
 
| stat1value = .340
 
| stat1value = .340
 
| stat2label = [[Run batted in|Runs batted in]]
 
| stat2label = [[Run batted in|Runs batted in]]
Line 212: Line 219:
  
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
| name      = No Caption
 
| name      = No Caption
 
| image      = Baseball (crop).jpg
 
| image      = Baseball (crop).jpg
Line 229: Line 237:
 
| debutteam  = Team Name
 
| debutteam  = Team Name
 
| statyear  = 2005
 
| statyear  = 2005
| stat1label = [[Batting average]]
+
| stat1label = [[Batting average (baseball)|Batting average]]
 
| stat1value = .340
 
| stat1value = .340
 
| stat2label = [[Run batted in|Runs batted in]]
 
| stat2label = [[Run batted in|Runs batted in]]
Line 244: Line 252:
  
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
| name      = No Image
 
| name      = No Image
 
| bgcolor1  = darkblue
 
| bgcolor1  = darkblue
Line 258: Line 267:
 
| debutteam  = Team Name
 
| debutteam  = Team Name
 
| statyear  = 2005
 
| statyear  = 2005
| stat1label = [[Batting average]]
+
| stat1label = [[Batting average (baseball)|Batting average]]
 
| stat1value = .340
 
| stat1value = .340
 
| stat2label = [[Run batted in|Runs batted in]]
 
| stat2label = [[Run batted in|Runs batted in]]
Line 273: Line 282:
  
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
| name      = All Options Off
 
| name      = All Options Off
 
| bgcolor1  = darkblue
 
| bgcolor1  = darkblue
Line 289: Line 299:
  
 
== Empty template ==
 
== Empty template ==
{{testcase table<!-- Infobox MLB player -->}}
+
{{testcase table<!-- Infobox MLB player -->|_template3 = Infobox MLB player/sandbox2}}
  
 
== Miami Marlins ==
 
== Miami Marlins ==
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
| name      = Marlins Player
 
| name      = Marlins Player
 
| team      = Miami Marlins
 
| team      = Miami Marlins
Line 306: Line 317:
 
== New York Yankees ==
 
== New York Yankees ==
 
{{testcase table<!-- Infobox MLB player -->
 
{{testcase table<!-- Infobox MLB player -->
 +
|_template3 = Infobox MLB player/sandbox2
 
|name=Mariano Rivera
 
|name=Mariano Rivera
 
|image=Mariano Rivera allison 7 29 07.jpg
 
|image=Mariano Rivera allison 7 29 07.jpg
Line 334: Line 346:
 
|stat5value=1,150
 
|stat5value=1,150
 
|teams=
 
|teams=
* [[New York Yankees]] ({{by|1995}}–present)
+
* [[New York Yankees]] ({{baseball year|1995}}–present)
 
|awards=
 
|awards=
 
* 13× [[Major League Baseball All-Star Game|All-Star]] ([[1997 MLB All-Star Game|1997]], [[1999 MLB All-Star Game|1999]]–[[2002 MLB All-Star Game|2002]], [[2004 MLB All-Star Game|2004]]–[[2006 MLB All-Star Game|2006]], [[2008 MLB All-Star Game|2008]]–[[2011 MLB All-Star Game|2011]], [[2013 MLB All-Star Game|2013]])
 
* 13× [[Major League Baseball All-Star Game|All-Star]] ([[1997 MLB All-Star Game|1997]], [[1999 MLB All-Star Game|1999]]–[[2002 MLB All-Star Game|2002]], [[2004 MLB All-Star Game|2004]]–[[2006 MLB All-Star Game|2006]], [[2008 MLB All-Star Game|2008]]–[[2011 MLB All-Star Game|2011]], [[2013 MLB All-Star Game|2013]])
* 5× [[World Series]] champion ({{wsy|1996}}, {{wsy|1998}}–{{wsy|2000}}, {{wsy|2009}})
+
* 5× [[World Series]] champion ({{World Series Year|1996}}, {{World Series Year|1998}}–{{World Series Year|2000}}, {{World Series Year|2009}})
 
* 5× [[American League|AL]] [[Rolaids Relief Man Award]] (1999, 2001, 2004–2005, 2009)
 
* 5× [[American League|AL]] [[Rolaids Relief Man Award]] (1999, 2001, 2004–2005, 2009)
 
* 3× [[Major League Baseball Delivery Man Award|Delivery Man of the Year Award]] (2005–2006, 2009)
 
* 3× [[Major League Baseball Delivery Man Award|Delivery Man of the Year Award]] (2005–2006, 2009)
* [[World Series MVP Award]] ({{wsy|1999}})
+
* [[World Series MVP Award]] ({{World Series Year|1999}})
* [[League Championship Series Most Valuable Player Award|AL Championship Series MVP Award]] ([[2003 American League Championship Series|2003]])
 
* 3× [[List of Major League Baseball saves champions|MLB saves leader]] (1999, 2001, 2004)
 
* [[300 save club|MLB record for career saves]] (637)
 
}}
 
 
 
== Sandbox vs Sandbox2 ==
 
{{testcase table<!-- Infobox MLB player -->
 
|_template1 = Infobox MLB player/sandbox
 
|_template2 = Infobox MLB player/sandbox2
 
|name=Mariano Rivera
 
|image=Mariano Rivera allison 7 29 07.jpg
 
|alt=Mariano Rivera in a gray baseball uniform and navy blue cap stands on a dirt mound. He is striding forward to the right as he clutches a baseball behind his head. His uniform reads "New York" in navy blue letters across the chest. His face is contorted in concentration.
 
|width=300
 
|caption=Rivera pitching for the New York Yankees in 2007
 
|position=[[Relief pitcher]]<!--Closer is a "role", not a position.-->
 
|team= New York Yankees
 
|number= 42
 
|bats=Right
 
|throws=Right
 
|birth_date={{birth date and age|mf=yes|1969|11|29}}
 
|birth_place=[[Panama City]], [[Panama]]
 
|debutdate=May 23
 
|debutyear=1995
 
|debutteam=New York Yankees
 
<!-- UPDATE ALL STATS AT ONCE AND ALSO UPDATE THE "CURRENT AS OF" DATE -->
 
|statyear=July 6, 2013
 
|stat1label=[[Win–loss record (pitching)|Win–loss record]]|
 
|stat1value=77–60
 
|stat2label=[[Save (baseball)|Saves]]
 
|stat2value=637
 
|stat3label=[[Earned run average]]
 
|stat3value=2.21
 
|stat4label=[[Walks plus hits per inning pitched|WHIP]]
 
|stat4value=1.01
 
|stat5label=[[Strikeout]]s
 
|stat5value=1,150
 
|teams=
 
* [[New York Yankees]] ({{by|1995}}–present)
 
|awards=
 
* 13× [[Major League Baseball All-Star Game|All-Star]] ([[1997 MLB All-Star Game|1997]], [[1999 MLB All-Star Game|1999]]–[[2002 MLB All-Star Game|2002]], [[2004 MLB All-Star Game|2004]]–[[2006 MLB All-Star Game|2006]], [[2008 MLB All-Star Game|2008]]–[[2011 MLB All-Star Game|2011]], [[2013 MLB All-Star Game|2013]])
 
* 5× [[World Series]] champion ({{wsy|1996}}, {{wsy|1998}}–{{wsy|2000}}, {{wsy|2009}})
 
* 5× [[American League|AL]] [[Rolaids Relief Man Award]] (1999, 2001, 2004–2005, 2009)
 
* 3× [[Major League Baseball Delivery Man Award|Delivery Man of the Year Award]] (2005–2006, 2009)
 
* [[World Series MVP Award]] ({{wsy|1999}})
 
 
* [[League Championship Series Most Valuable Player Award|AL Championship Series MVP Award]] ([[2003 American League Championship Series|2003]])
 
* [[League Championship Series Most Valuable Player Award|AL Championship Series MVP Award]] ([[2003 American League Championship Series|2003]])
 
* 3× [[List of Major League Baseball saves champions|MLB saves leader]] (1999, 2001, 2004)
 
* 3× [[List of Major League Baseball saves champions|MLB saves leader]] (1999, 2001, 2004)
 
* [[300 save club|MLB record for career saves]] (637)
 
* [[300 save club|MLB record for career saves]] (637)
 
}}
 
}}

Latest revision as of 11:19, 19 October 2018

Reggie Sanders 1

Template:Testcase table

Reggie Sanders 2

Template:Testcase table

All options on +HoF

Template:Testcase table

No teams listed

Template:Testcase table

No stats

Template:Testcase table

No stats, no teams

Template:Testcase table

Two stats

Template:Testcase table

No caption

Template:Testcase table

No image

Template:Testcase table

All options off

Template:Testcase table

Empty template

Template:Testcase table

Miami Marlins

Template:Testcase table

New York Yankees

Template:Testcase table