Team |
---|
{{{Road}}} |
{{{Home}}} |
This template is designed to display a line score of a baseball game.
{{linescore
| Date =
| Time =
| Location =
| Other =
| Road = | RoadAbr =
| R1 = | R2 = | R3 = | R4 = | R5 = | R6 = | R7 = | R8 = | R9 = | RR = | RH = | RE =
| Home = | HomeAbr =
| H1 = | H2 = | H3 = | H4 = | H5 = | H6 = | H7 = | H8 = | H9 = | HR = | HH = | HE =
| WP = | LP = | SV =
| HomeHR = | RoadHR =
| Attendance =
| Umpires =
| Notes =
| BoxURL =
}}
H1
" is the runs scored by the home team in the 1st inning, "R7
" is the runs scored by the road team in the 7th inning, "HX
" is the runs scored by the home team in all extra innings. (HX
and RX
are available as alternatives to specifying all extra innings separately where space is limited.)... | HSP=[[Ryan Rowland-Smith]] (5–4) | ...
)WP
.... | SV=[[Grant Balfour]] (4) | ...
)... | HomeHR=[[Trent Oeltjen]] (7), [[Luke Hughes]] 2 (14) | ...
)Team | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | R | H | E |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Cuba | 0 | 0 | 0 | 2 | 0 | 4 | 0 | 0 | 0 | 6 | 13 | 1 |
Australia | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 2 | 7 | 0 |
... | RH= | HH=7 | ...
") then the column will not be displayed.
This template is used in {{Infobox World Series}}, {{Infobox Japan Series}}, {{Infobox MLB All-Star Game}}, and {{Infobox baseball game}}, with the following syntax:
{{linescore|infobox=yes
| visitor =
| top1 =
| top2 =
| top3 =
| top4 =
| top5 =
| top6 =
| top7 =
| top8 =
| top9 =
| visitor_r =
| visitor_h =
| visitor_e =
| home =
| bot1 =
| bot2 =
| bot3 =
| bot4 =
| bot5 =
| bot6 =
| bot7 =
| bot8 =
| bot9 =
| home_r =
| home_h =
| home_e =
}}