Wikipedia:WikiProject Baseball/game log
About
editPlease note: the use of game logs is not supported by consensus, and is typically highly discouraged. If you absolutely must use them, please follow the instructions below.
The purpose of the Game log is to keep a season long record of a team's games. The code for this table can appear rather complex but is in fact rather straightforward. The code for the game log includes all 183 days of the six month season. Since teams only play 162 games, please remove dates that there are no games on. The format is as follows:
- #: Game number
- Date: Date of Game
- Opponent: Name of opposing team. Use format of [[Chicago White Sox|White Sox]] and [[Chicago Cubs|Cubs]] rather than city names. Place an at symbol (@) before name if away game.
- Score: Final score
- Win: Name of the winning pitcher of record, use last name only (i.e. [[Johan Santana|Santana]])
- Loss: Name of the losing pitcher of record, use last name only (i.e. [[Javier Vázquez|Vázquez]])
- Save: Name of the pitcher who recorded the save, if any. If none, leave blank.
- Attendance: The number of people in attendance.
- Record: Team record at that point.
- Colors: In game logs, the line directly above the line with all the information for the table, the line should read:
for a win:
- |- align="center" bgcolor="bbffbb"
- and for a loss:
- |- align="center" bgcolor="ffbbbb"
See the example code below for more detail.
Example
editThe following code …
{{MLB Game log|year=2007|bgcolor=#6E8B3D}} {{MLB Game log month|month=April|bgcolor=#9EBD69|hide=n}} |- style="background-color: #fbb" | 1 || [[April 4]] || @ [[Toronto Blue Jays|Blue Jays]] || 6 - 3 || [[Roy Halladay|Halladay]] || '''[[Johan Santana|Santana]]''' || [[B.J. Ryan|Ryan]] || 50,449 || 0-1 |- style="background-color: #bfb" | 2 || [[April 5]] || @ [[Toronto Blue Jays|Blue Jays]] || 13 - 4 || '''[[Brad Radke|Radke]]''' || [[Josh Towers|Towers]] || || 18,156 || 1-1 |- style="background-color: #fbb" | 3 || [[April 6]] || @ [[Toronto Blue Jays|Blue Jays]] || 6 - 3 || [[Gustavo Chacin|Chacin]] || '''[[Carlos Silva|Silva]]''' || [[B.J. Ryan|Ryan]] || 16,221 || 1-2 |- style="background-color: #fbb" | 4 || [[April 7]] || @ [[Cleveland Indians|Indians]] || 11 - 6 || [[Paul Byrd|Byrd]] || '''[[Kyle Lohse|Lohse]]''' || || 42,445 || 1-3 |- style="background-color: #fbb" | 5 || [[April 8]] || @ [[Cleveland Indians|Indians]] || 3 - 0 || [[Jason Johnson|Johnson]] || '''[[Scott Baker (baseball)|Baker]]''' || [[Bob Wickman|Wickman]] || 25,107 || 1-4 |- style="background-color: #fbb" | 6 || [[April 9]] || @ [[Cleveland Indians|Indians]] || 3 - 2 || [[Jake Westbrook|Westbrook]] || '''[[Johan Santana|Santana]]''' || [[Bob Wickman|Wickman]] || 23,311 || 1-5 {{MLB Game log month end}} {{end}}
… will result in:
2007 Game Log | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
April
|
April from the 2006 Minnesota Twins season looks like this:
2006 Game Log | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
April
|
Also see the full 2006 Minnesota Twins season#Game log for reference.
Code
editThe full season mock up code for this table can be found @ Wikipedia:WikiProject Baseball/game log/code. The table should be editable on the article and not moved into a template.
Links to Game Recaps
editI've started to put links to individual game recaps into the tables on Template:2007 Boston Red Sox season game log, since individual games aren't notable on their own, but Wikipedia would be helped by giving links to those individual games. Just H 20:40, 5 April 2007 (UTC)
- What happened with this? It seemed like a good feature; were there objections voiced? -- Myke Cuthbert (talk) 05:17, 25 May 2007 (UTC)
List of seasons needing game logs (2008+)
edit- 2011 San Diego Padres season (code is broken)
- 2010 Texas Rangers season (a little incomplete)
- 2010 Florida Marlins season
- 2010 Cleveland Indians season (a little incomplete)
- most seasons of Montreal Expos
Just went through all of these (except the Expos) and most of them are finished. --Doyouwantoptions (talk) 17:39, 4 May 2019 (UTC)