Template talk:Ice Hockey Game
From Wikipedia, the free encyclopedia
Usage:
{{Ice Hockey Game
| bg = #eeeeee
| date = [April 11]], [[2007]]
| team1 = [[Ottawa Senators]]
| score = 4–3
| team2 = [[Pittsburgh Penguins]]
| first1 = [[Sidney Crosby]] 1 ([[Evgeni Malkin]]) 19:06
| scoring1 = 1-0<br>1-1
| first2 = <br>19:06 [[Sidney Crosby]] 1 ([[Evgeni Malkin]])
| second1 = [[Sidney Crosby]] 2 ([[Evgeni Malkin]]) 19:06
| scoring2 = 2-1<br>2-2
| second2 = <br>19:06 [[Sidney Crosby]] 2 ([[Evgeni Malkin]])
| third1 = [[Sidney Crosby]] 3 ([[Evgeni Malkin]]) 19:06
| scoring3 = 3-2<br>3-3
| third2 = <br>19:06 [[Sidney Crosby]] 3 ([[Evgeni Malkin]])
| otperiod1 = <!-- Optional (ex. First Overtime) -->
| otfirst1 = <!-- Optional -->
| scoringot1 = <!-- Optional -->
| otfirst2 = <!-- Optional -->
| otperiod2 = <!-- Optional (ex. Second Overtime) -->
| otsecond1 = <!-- Optional -->
| scoringot2 = <!-- Optional -->
| otsecond2 = <!-- Optional -->
| otperiod3 = <!-- Optional (ex. Shootout) -->
| otthird1 = <!-- Optional -->
| scoringot3 = <!-- Optional -->
| otthird2 = <!-- Optional -->
| otperiod4 = <!-- Optional -->
| otfourth1 = <!-- Optional -->
| scoringot4 = <!-- Optional -->
| otfourth2 = <!-- Optional -->
| otperiod5 = <!-- Optional -->
| otfifth1 = <!-- Optional -->
| scoringot5 = <!-- Optional -->
| otfifth2 = <!-- Optional -->
| otperiod6 = <!-- Optional -->
| otsixth1 = <!-- Optional -->
| scoringot6 = <!-- Optional -->
| otsixth2 = <!-- Optional -->
| stadium = [[Mellon Arena]], [[Pittsburgh, Pennsylvania|Pittsburgh]]
| attendance = <!-- Optional -->
| referee = <!-- Optional -->
| report = <!-- Optional -->}}
Sample result:
| April 11, 2007 | Ottawa Senators | 4–3 | Pittsburgh Penguins | Mellon Arena, Pittsburgh |
| First Period | ||||
|---|---|---|---|---|
| Sidney Crosby 1 (Evgeni Malkin) 19:06 | 1-0 1-1 |
19:06 Sidney Crosby 1 (Evgeni Malkin) |
||
| Second Period | ||||
| Sidney Crosby 2 (Evgeni Malkin) 19:06 | 2-1 2-2 |
19:06 Sidney Crosby 2 (Evgeni Malkin) |
||
| Third Period | ||||
| Sidney Crosby 3 (Evgeni Malkin) 19:06 | 3-2 3-3 |
19:06 Sidney Crosby 3 (Evgeni Malkin) |
||
| {{{goalies1}}} | Goalie Stats | {{{goalies2}}} | ||
[edit] Report field
Is the report field intended for anything in particular? I'd like to use it to add Wikinews stories relating to the specific game. —Zachary talk 03:01, 12 April 2007 (UTC)
[edit] Changes on April 12, 2007
Okay, I made a lot of changes to this template in my sandbox. For now, you can see what I did here, though I don't know how long that sandbox will stay for this project. Here's the basic run-down of what I did:
- Added colspan=5 to the bottom row so the Wikinews link wasn't compressed
- Fiddled with column widths to center the whole table (was off to the left a bit)
- Moved #if parser functions so that if the OT sections weren't used they didn't fill the table with empty cells.

