Usage

edit
{{Baseballbox collapsible
|bg = 
|date = 
|time = 
|round =
|team1 = 
|team1wp = 
|team1lp = 
|team1sp = 
|team1hr = 
|score =
|mercy rule = 
|extra innings = 
|boxurl = 
|team2 = 
|team2wp = 
|team2lp = 
|team2sp =
|team2hr =  
|stadium = <!-- If no hyperlink for stadium is provided, it is suggested to put the location instead. I.e. [[Miami]], [[United States]] instead of Grapeland Park, [[United States]]. -->
|attendance = 
|umpire =
}}

Example 1

edit
{{Baseballbox collapsible
|round = [[2009 World Baseball Classic#Round one|2009 World Baseball Classic R1]]
|bg = #FFBBBB
|date = March 6, 2009
|team1 = {{bb-rt|TPE}}
|score = 0 &ndash; 9
|boxurl = http://web.worldbaseballclassic.com/gameday/index.jsp?gid=2009_03_06_tpeint_korint_1
|team2 = {{bb|KOR}}
|stadium = [[Tokyo Dome]], [[Japan]]
|attendance = 12,704}}

will show:

2009 World Baseball Classic R1 March 6 Chinese Taipei  0 – 9  South Korea Tokyo Dome, Japan
18:30 Boxscore Attendance: 12,704

Example 2

edit
{{Baseballbox collapsible
|bg = #CCFFCC
|date = September 17
|time = 13:00 [[Central European Summer Time|CET]]
|round = [[2023 World Baseball Classic qualification#Pool A|World Baseball Classic Q]]
|team1 = {{bb-rt|Spain}}
|team1wp = Rogelio Armenteros
|team1lp = 
|team1sp = 
|team1hr = Jesus Ustariz (1), Edison Valerio (1, 2)
|score = 21–7
|mercy rule = 7
|extra innings = 
|boxurl = https://www.mlb.com/world-baseball-classic/schedule
|team2 = {{bb|Czech Republic}}
|team2wp = 
|team2lp = Marek Minarik
|team2sp = 
|team2hr =  Vojtech Mensik (1), Marek Chlup (1), Matej Mensik (1), Martin Muzik (1)
|stadium = [[Armin-Wolf-Arena]], [[Germany]]
|attendance = 1,725
|umpire = Darius Ghani (HP), Mark Winters (1B), Roberto LaMadrid (2B), John Byrne (3B)
}}

will show:

World Baseball Classic Q September 17 Spain  21–7 (F/7)  Czech Republic Armin-Wolf-Arena, Germany
13:00 CET WP: Rogelio Armenteros
HR: Jesus Ustariz (1), Edison Valerio (1, 2)
Boxscore LP: Marek Minarik
HR: Vojtech Mensik (1), Marek Chlup (1), Matej Mensik (1), Martin Muzik (1)
Attendance: 1,725
Umpires: Darius Ghani (HP), Mark Winters (1B), Roberto LaMadrid (2B), John Byrne (3B)

Legend

edit

Simple coloring legend recommended when an article makes use of result parameter:

{{legend2|#BBF3BB|Win|border=1px solid #AAAAAA}}
{{legend2|#FFBBBB|Loss|border=1px solid #AAAAAA}}
{{legend2|#FFFFFF|Future|border=1px solid #AAAAAA}}
{{legend2|#BBBBBB|Void|border=1px solid #AAAAAA}} <!-- optional -->
{{legend2|#BBBBBB|Postponed|border=1px solid #AAAAAA}} <!-- optional -->

Which produces:

  Win   Loss   Future   Void   Postponed


Note: Given the rarity of void results and postponements, those entries are optional and can be omitted in most cases.

See also

edit
  • {{Linescore}} – For showing expanded results for per inning scores.
  • {{Baseballbox}} – An uncollapsible version of Baseballbox.