Difference between revisions of "Template:Infobox MLB player/testcases"
Jump to navigation
Jump to search
imported>John Cline (Save testcase) |
imported>Ianblair23 (links) |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{testcases notice}} |
| − | |||
| − | |||
| − | + | == Reggie Sanders 1 == | |
| − | |||
| − | |||
| − | | | + | {{testcase table<!-- Infobox MLB player --> |
| − | | | + | |_template3 = Infobox MLB player/sandbox2 |
| − | + | |name=Reggie Sanders | |
| − | + | |image= | |
| − | + | |width=150px | |
| − | + | |alt=No free image for this man. Do you own one? If so, please click here. | |
| − | + | |position=Right fielder | |
| + | |team=Free Agent | ||
| + | |number= | ||
| + | |bats=Right | ||
| + | |throws=Right | ||
| + | |birthdate={{birth date and age|1967|12|1}} | ||
| + | |birthplace=[[Florence, South Carolina]] | ||
| + | |debutdate=August 22 | ||
| + | |debutyear=1991 | ||
| + | |debutteam=Cincinnati Reds | ||
| + | |statyear=2007 season | ||
| + | |stat1label=[[Batting average (baseball)|Batting average]] | ||
| + | |stat1value=.267 | ||
| + | |stat2label=[[Home run]]s | ||
| + | |stat2value=305 | ||
| + | |stat3label=[[Run batted in|Runs batted in]] | ||
| + | |stat3value=983 | ||
| + | |teams= | ||
| + | *[[Cincinnati Reds]] ({{baseball year|1991}}-{{baseball year|1998}}) | ||
| + | *[[San Diego Padres]] ({{baseball year|1999}}) | ||
| + | *[[Atlanta Braves]] ({{baseball year|2000}}) | ||
| + | *[[Arizona Diamondbacks]] ({{baseball year|2001}}) | ||
| + | *[[San Francisco Giants]] ({{baseball year|2002}}) | ||
| + | *[[Pittsburgh Pirates]] ({{baseball year|2003}}) | ||
| + | *[[St. Louis Cardinals]] ({{baseball year|2004}}-{{baseball year|2005}}) | ||
| + | *[[Kansas City Royals]] ({{baseball year|2006}}-{{baseball year|2007}}) | ||
| + | }} | ||
| − | + | == Reggie Sanders 2 == | |
| − | |||
| − | |||
| − | |||
| − | + | {{testcase table<!-- Infobox MLB player --> | |
| − | + | |_template3 = Infobox MLB player/sandbox2 | |
| + | |name=Reggie Sanders | ||
| + | |image= | ||
| + | |width=150px | ||
| + | |alt=No free image for this man. Do you own one? If so, please click here. | ||
| + | |position=Right fielder | ||
| + | |number= | ||
| + | |bats=Right | ||
| + | |throws=Right | ||
| + | |birthdate={{birth date and age|1967|12|1}} | ||
| + | |birthplace=[[Florence, South Carolina]] | ||
| + | |debutdate=August 22 | ||
| + | |debutyear=1991 | ||
| + | |debutteam=Cincinnati Reds | ||
| + | |statyear=2007 season | ||
| + | |stat1label=[[Batting average (baseball)|Batting average]] | ||
| + | |stat1value=.267 | ||
| + | |stat2label=[[Home run]]s | ||
| + | |stat2value=305 | ||
| + | |stat3label=[[Run batted in|Runs batted in]] | ||
| + | |stat3value=983 | ||
| + | |teams= | ||
| + | *[[Cincinnati Reds]] ({{baseball year|1991}}-{{baseball year|1998}}) | ||
| + | *[[San Diego Padres]] ({{baseball year|1999}}) | ||
| + | *[[Atlanta Braves]] ({{baseball year|2000}}) | ||
| + | *[[Arizona Diamondbacks]] ({{baseball year|2001}}) | ||
| + | *[[San Francisco Giants]] ({{baseball year|2002}}) | ||
| + | *[[Pittsburgh Pirates]] ({{baseball year|2003}}) | ||
| + | *[[St. Louis Cardinals]] ({{baseball year|2004}}-{{baseball year|2005}}) | ||
| + | *[[Kansas City Royals]] ({{baseball year|2006}}-{{baseball year|2007}}) | ||
| + | }} | ||
| − | + | == All options on +HoF == | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | {{testcase table<!-- Infobox MLB player --> | |
| − | | | + | |_template3 = Infobox MLB player/sandbox2 |
| − | + | | name = All Options On (+HoF) | |
| − | Second | + | | image = Baseball (crop).jpg |
| − | + | | width = 100 | |
| − | | | + | | alt = Alt text |
| + | | caption = Caption | ||
| + | | team = Team Name | ||
| + | | number = 99 | ||
| + | | position = Position | ||
| + | | bats = Bats | ||
| + | | throws = Throws | ||
| + | | debutdate = June 1 | ||
| + | | debutyear = 2000 | ||
| + | | debutteam = Team Name | ||
| + | | statyear = 2005 | ||
| + | | stat1label = [[Batting average (baseball)|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) | ||
| + | | hofdate = March 20, 2007 | ||
| + | | hofvote = 88% (first ballot) | ||
| + | | hofmethod = Veteran's Committee | ||
| + | }} | ||
| − | + | == No teams listed == | |
| − | | | + | {{testcase table<!-- Infobox MLB player --> |
| − | + | |_template3 = Infobox MLB player/sandbox2 | |
| − | | | + | | name = No Teams Listed |
| − | | | + | | image = Baseball (crop).jpg |
| − | + | | width = 100 | |
| − | + | | alt = Alt text | |
| − | + | | 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 (baseball)|Batting average]] | ||
| + | | stat1value = .340 | ||
| + | | stat2label = [[Run batted in|Runs batted in]] | ||
| + | | stat2value = 586 | ||
| + | | stat3label = [[Home run]]s | ||
| + | | stat3value = 233 | ||
| + | }} | ||
| − | + | == No stats == | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | {{testcase table<!-- Infobox MLB player --> | |
| − | + | |_template3 = Infobox MLB player/sandbox2 | |
| − | + | | name = No Stats | |
| − | + | | image = Baseball (crop).jpg | |
| − | + | | width = 100 | |
| − | + | | alt = Alt text | |
| − | + | | 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 = | ||
| + | *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) | ||
| + | }} | ||
| − | + | == No stats, no teams == | |
| − | |||
| − | |||
| − | + | {{testcase table<!-- Infobox MLB player --> | |
| − | | | + | |_template3 = Infobox MLB player/sandbox2 |
| − | + | | name = No Stats, No Teams | |
| + | | image = Baseball (crop).jpg | ||
| + | | width = 100 | ||
| + | | alt = Alt text | ||
| + | | 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 | ||
| + | }} | ||
| − | + | == Two stats == | |
| − | |||
| − | |||
| − | + | {{testcase table<!-- Infobox MLB player --> | |
| − | + | |_template3 = Infobox MLB player/sandbox2 | |
| − | + | | name = Two Stats | |
| − | -->{{ | + | | image = Baseball (crop).jpg |
| − | + | | width = 100 | |
| − | + | | alt = Alt text | |
| − | + | | 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 (baseball)|Batting average]] | ||
| + | | stat1value = .340 | ||
| + | | stat2label = [[Run batted in|Runs batted in]] | ||
| + | | stat2value = 586 | ||
| + | | 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) | ||
| + | }} | ||
| + | |||
| + | == No caption == | ||
| + | |||
| + | {{testcase table<!-- Infobox MLB player --> | ||
| + | |_template3 = Infobox MLB player/sandbox2 | ||
| + | | name = No Caption | ||
| + | | image = Baseball (crop).jpg | ||
| + | | width = 100 | ||
| + | | alt = Alt text | ||
| + | | 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 (baseball)|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) | ||
| + | }} | ||
| + | |||
| + | == No image == | ||
| + | |||
| + | {{testcase table<!-- Infobox MLB player --> | ||
| + | |_template3 = Infobox MLB player/sandbox2 | ||
| + | | 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 (baseball)|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) | ||
| + | }} | ||
| + | |||
| + | == All options off == | ||
| + | |||
| + | {{testcase table<!-- Infobox MLB player --> | ||
| + | |_template3 = Infobox MLB player/sandbox2 | ||
| + | | 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 | ||
| + | }} | ||
| + | |||
| + | == Empty template == | ||
| + | {{testcase table<!-- Infobox MLB player -->|_template3 = Infobox MLB player/sandbox2}} | ||
| + | |||
| + | == Miami Marlins == | ||
| + | {{testcase table<!-- Infobox MLB player --> | ||
| + | |_template3 = Infobox MLB player/sandbox2 | ||
| + | | name = Marlins Player | ||
| + | | team = Miami Marlins | ||
| + | | number = 99 | ||
| + | | position = Position | ||
| + | | bats = Bats | ||
| + | | throws = Throws | ||
| + | | debutdate = June 1 | ||
| + | | debutyear = {{CURRENTYEAR}} | ||
| + | | debutteam = Team Name | ||
| + | }} | ||
| + | |||
| + | == New York Yankees == | ||
| + | {{testcase table<!-- Infobox MLB player --> | ||
| + | |_template3 = 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]] ({{baseball year|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 ({{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) | ||
| + | * 3× [[Major League Baseball Delivery Man Award|Delivery Man of the Year Award]] (2005–2006, 2009) | ||
| + | * [[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) | ||
}} | }} | ||
Latest revision as of 11:19, 19 October 2018
| This is the template test cases page for the sandbox of Template:Infobox MLB player. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |