Wikipedia talk:WikiProject Baseball/game log

From Wikipedia, the free encyclopedia

This is a series of collapsable tables so that a season's worth of games can be placed on single page with out the article being insanely long.


{|class="wikitable" width="90%"
|- align="center" bgcolor="#dddddd"
| '''#''' || '''Date''' || '''Visitor''' || '''Score''' || '''Home''' || '''OT''' || '''Win/Loss''' || '''Save''' || '''Attendance''' || '''Record'''
|- align="center" 
| || || || || || || || || || 
|}

With the above code,

  • # = Game number
  • Date = Date game is played, only use month and day, year is not needed.
  • Visitor = The name of the visiting team
  • Score = The final score, with visitors score first
  • Home = Home team
  • OT = Overtime, if any extra innings are played, e.g. 11 innings instead of 9, write 11. If no extra innings, leave blank.
  • Win/Loss = The pitcher who was given the win or the loss for the team who's article it is. If the team won the game, put the winning pitcher in, if they lost, put the losing pitcher in.
  • Save = Only needed if a save was recorded for a pitcher of the team who's article it is. If the team lost, it is left blank.
  • Attendance = The attendance of the game
  • Record = The teams record in the current series.

Add bgcolor="#bbffbb" for a win, and bgcolor="#ffbbbb" for a loss.

As this is not a template, yet can be a lot of code, it should be transcluded in the article. For example for 2007 Chicago White Sox season, the gamelog is located at 2007 Chicago White Sox season/gamelog and transcluded in the article with the code {{:2007 Chicago White Sox season/gamelog}}. Note the colon!

For example, the following code is the New York Yankees in the Division Series of 2006.

{|class="wikitable" width="90%"
|- align="center" bgcolor="#dddddd"
| '''#''' || '''Date''' || '''Visitor''' || '''Score''' || '''Home''' || '''OT''' || '''Win/Loss''' || '''Save''' || '''Attendance''' || '''Record'''
|- align="center" bgcolor="#bbffbb"
| 1 || [[October 3]] || [[Detroit Tigers|Detroit]] || 4 - 8 || New York || || [[Chien-Ming Wang|Wang]] || || 56,291 || 1-0
|- align="center" bgcolor="#ffbbbb"
| 2 || [[October 5]] || [[Detroit Tigers|Detroit]] || 4 - 3 || New York || || [[Mike Mussina|Mussina]] || || 56,252 || 1-1
|- align="center" bgcolor="#ffbbbb"
| 3 || [[October 6]] || New York || 0 - 6 || [[Detroit Tigers|Detroit]] || || [[Randy Johnson|Johnson]] || || 43,440 || 1-2
|- align="center" bgcolor="#ffbbbb"
| 4 || [[October 7]] || New York || 3 - 8 || [[Detroit Tigers|Detroit]] || || [[Jaret Wright|Wright]] || || 43,126 || 1-3
|}

Will show:

# Date Visitor Score Home OT Win/Loss Save Attendance Record
1 October 3 Detroit 4 - 8 New York Wang 56,291 1-0
2 October 5 Detroit 4 - 3 New York Mussina 56,252 1-1
3 October 6 New York 0 - 6 Detroit Johnson 43,440 1-2
4 October 7 New York 3 - 8 Detroit Wright 43,126 1-3


Note: The code here includes everyday of of all six months of the season. Remove the days that your team does not play. If off days are left in, it is a schedule and not a game log. There is no encyclopedic value to off days.

[edit] Redundancy

I don't think anything has to be linked more then once per series. Kingjeff 22:23, 8 April 2007 (UTC)