Wikipedia:WikiProject Baseball/game log

About
'Please 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 White Sox and 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. Santana )
 * Loss: Name of the losing pitcher of record, use last name only (i.e. 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
The following code …

… will result in:

April from the 2006 Minnesota Twins season looks like this:

Also see the full 2006 Minnesota Twins season for reference.

Code
The full season mock up code for this table can be found @ WikiProject Baseball/game log/code. The table should be editable on the article and not moved into a template.

Links to Game Recaps
I'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+)

 * 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)