Difference between revisions of "Template:Ice Hockey Game"

From blackwiki
Jump to navigation Jump to search
imported>Sukh17
imported>MZMcBride
(fixed code :-))
Line 1: Line 1:
{|style="width: 100%; background: {{{bg}}};" cellspacing="0"
+
{|style="width:100%; margin:auto; background:{{{bg|transparent}}};" cellspacing="0"
|align=center valign=top rowspan=2 width=19%|{{{date}}}
+
|style="text-align:center; width:19%;" valign="top" rowspan=2|{{{date}}}
|width=24% align=right|'''{{{team1}}}'''
+
|style="text-align:right; width:24%;"|'''{{{team1}}}'''
|align=center width=14%|'''{{{score}}}'''
+
|style="text-align:center; width:14%;"|'''{{{score}}}'''
|width=24%|'''{{{team2}}}'''
+
|style="width:24%;"|'''{{{team2}}}'''
|style=font-size:85% rowspan=2 valign=top width=19%|{{{stadium}}}{{ #if: {{{attendance|}}} |<br> '''Attendance:''' {{{attendance}}} | }}{{ #if: {{{referee|}}} |<br> '''Referees:''' {{{referee}}} | }}
+
|style="font-size:85%; width:19%;" rowspan=2 valign="top"|{{{stadium}}}{{#if:{{{attendance|}}}|<br/> '''Attendance:''' {{{attendance}}}| }}{{#if:{{{referee|}}}|<br/> '''Referees:''' {{{referee}}}| }}
|- style=font-size:85%
+
|- style="font-size:85%"
 
|
 
|
|align=center valign=top|'''First Period'''
+
!valign="top"|First Period
 +
|- style="font-size:85%"
 +
|colspan="2" align="right" valign="top"|{{{first1}}}
 +
|align="center" valign="top"|{{ #if: {{{scoring1}}} | {{{scoring1}}} | }}
 +
|colspan="2" valign="top"|{{{first2}}}
 +
|- style="font-size:85%"
 
|
 
|
|- style=font-size:85%
 
|colspan=2 align=right valign=top|{{{first1}}}
 
|align=center valign=top|{{ #if: {{{scoring1}}} | {{{scoring1}}} | }}
 
|colspan=2 valign=top|{{{first2}}}
 
|- style=font-size:85%
 
 
|
 
|
 +
!valign="top"|Second Period
 +
|- style="font-size:85%"
 +
|colspan="2" align="right" valign="top"|{{{second1}}}
 +
|align="center" valign="top"|{{ #if: {{{scoring2}}} | {{{scoring2}}} | }}
 +
|colspan="2" valign="top"|{{{second2}}}
 +
|- style="font-size:85%"
 
|
 
|
|align=center valign=top|'''Second Period'''
 
 
|
 
|
|- style=font-size:85%
+
!valign="top"|Third Period
|colspan=2 align=right valign=top|{{{second1}}}
+
|- style="font-size:85%"
|align=center valign=top|{{ #if: {{{scoring2}}} | {{{scoring2}}} | }}
+
|colspan="2" align="right" valign="top"|{{{third1}}}
|colspan=2 valign=top|{{{second2}}}
+
|align="center" valign="top"|{{ #if: {{{scoring3}}} | {{{scoring3}}} }}  
|- style=font-size:85%
+
|colspan="2" valign="top"|{{{third2}}}
|
+
{{#if:{{{otperiod1|}}}|
|
+
{{!}}- style="font-size:85%"
|align=center valign=top|'''Third Period'''
 
|
 
|- style=font-size:85%
 
|colspan=2 align=right valign=top|{{{third1}}}
 
|align=center valign=top|{{ #if: {{{scoring3}}} | {{{scoring3}}} | }}  
 
|colspan=2 valign=top|{{{third2}}}</td></tr>
 
{{ #if: {{{otperiod1|}}} |
 
{{!}}- style=font-size:85%
 
 
{{!}}
 
{{!}}
 
{{!}}
 
{{!}}
{{!}}align=center valign=top{{!}}'''{{{otperiod1}}}'''
+
{{!}}align="center" valign="top"{{!}}'''{{{otperiod1}}}'''
 
{{!}}
 
{{!}}
{{!}}- style=font-size:85%
+
{{!}}- style="font-size:85%"
{{!}}colspan=2 align=right valign=top{{!}}{{{otfirst1}}}
+
{{!}}colspan="2" align="right" valign="top"{{!}}{{{otfirst1}}}
{{!}}align=center valign=top{{!}}{{ #if: {{{scoringot1}}} | {{{scoringot1}}} }}  
+
{{!}}align="center" valign="top"{{!}}{{ #if: {{{scoringot1}}} | {{{scoringot1}}} }}  
{{!}}colspan=2 valign=top{{!}}{{{otfirst2}}}</td></tr> }}
+
{{!}}colspan="2" valign="top"{{!}}{{{otfirst2}}}
{{ #if: {{{otperiod2|}}} |
+
}}<!--
{{!}}- style=font-size:85%
+
-->{{#if:{{{otperiod2|}}}|
 +
{{!}}- style="font-size:85%"
 
{{!}}
 
{{!}}
 
{{!}}
 
{{!}}
{{!}}align=center valign=top{{!}}'''{{{otperiod2}}}'''
+
{{!}}align="center" valign="top"{{!}}'''{{{otperiod2}}}'''
 
{{!}}
 
{{!}}
{{!}}- style=font-size:85%
+
{{!}}- style="font-size:85%"
{{!}}colspan=2 align=right valign=top{{!}}{{{otsecond1}}}
+
{{!}}colspan="2" align="right" valign="top"{{!}}{{{otsecond1}}}
{{!}}align=center valign=top{{!}}{{ #if: {{{scoringot2}}} | {{{scoringot2}}} }}  
+
{{!}}align="center" valign="top"{{!}}{{ #if: {{{scoringot2}}} | {{{scoringot2}}} }}  
{{!}}colspan=2 valign=top{{!}}{{{otsecond2}}}</td></tr> }}
+
{{!}}colspan="2" valign="top"{{!}}{{{otsecond2}}}
{{ #if: {{{otperiod3|}}} |
+
}}<!--
{{!}}- style=font-size:85%
+
-->{{#if:{{{otperiod3|}}}|
 +
{{!}}- style="font-size:85%"
 
{{!}}
 
{{!}}
 
{{!}}
 
{{!}}
{{!}}align=center valign=top{{!}}'''{{{otperiod3}}}'''
+
{{!}}align="center" valign="top"{{!}}'''{{{otperiod3}}}'''
 
{{!}}
 
{{!}}
{{!}}- style=font-size:85%
+
{{!}}- style="font-size:85%"
{{!}}colspan=2 align=right valign=top{{!}}{{{otthird1}}}
+
{{!}}colspan="2" align="right" valign="top"{{!}}{{{otthird1}}}
{{!}}align=center valign=top{{!}}{{ #if: {{{scoringot3}}} | {{{scoringot3}}} }}  
+
{{!}}align="center" valign="top"{{!}}{{ #if: {{{scoringot3}}} | {{{scoringot3}}} }}  
{{!}}colspan=2 valign=top{{!}}{{{otthird2}}}</td></tr> }}
+
{{!}}colspan="2" valign="top"{{!}}{{{otthird2}}}
{{ #if: {{{otperiod4|}}} |
+
}}<!--
{{!}}- style=font-size:85%
+
-->{{#if:{{{otperiod4|}}}|
 +
{{!}}- style="font-size:85%"
 
{{!}}
 
{{!}}
 
{{!}}
 
{{!}}
{{!}}align=center valign=top{{!}}'''{{{otperiod4}}}'''
+
{{!}}align="center" valign="top"{{!}}'''{{{otperiod4}}}'''
 
{{!}}
 
{{!}}
{{!}}- style=font-size:85%
+
{{!}}- style="font-size:85%"
{{!}}colspan=2 align=right valign=top{{!}}{{{otfourth1}}}
+
{{!}}colspan="2" align="right" valign="top"{{!}}{{{otfourth1}}}
{{!}}align=center valign=top{{!}}{{ #if: {{{scoringot4}}} | {{{scoringot4}}} }}  
+
{{!}}align="center" valign="top"{{!}}{{ #if: {{{scoringot4}}} | {{{scoringot4}}} }}  
{{!}}colspan=2 valign=top{{!}}{{{otfourth2}}}</td></tr> }}
+
{{!}}colspan="2" valign="top"{{!}}{{{otfourth2}}}
{{ #if: {{{otperiod5|}}} |
+
}}<!--
{{!}}- style=font-size:85%
+
-->{{#if:{{{otperiod5|}}}|
 +
{{!}}- style="font-size:85%"
 
{{!}}
 
{{!}}
 
{{!}}
 
{{!}}
{{!}}align=center valign=top{{!}}'''{{{otperiod5}}}'''
+
{{!}}align="center" valign="top"{{!}}'''{{{otperiod5}}}'''
 
{{!}}
 
{{!}}
{{!}}- style=font-size:85%
+
{{!}}- style="font-size:85%"
{{!}}colspan=2 align=right valign=top{{!}}{{{otfifth1}}}
+
{{!}}colspan="2" align="right" valign="top"{{!}}{{{otfifth1}}}
{{!}}align=center valign=top{{!}}{{ #if: {{{scoringot5}}} | {{{scoringot5}}} }}
+
{{!}}align="center" valign="top"{{!}}{{ #if: {{{scoringot5}}} | {{{scoringot5}}} }}
{{!}}colspan=2 valign=top{{!}}{{{otfifth2}}}</td></tr> }}
+
{{!}}colspan="2" valign="top"{{!}}{{{otfifth2}}}
{{ #if: {{{otperiod6|}}} |
+
}}<!--
{{!}}- style=font-size:85%
+
-->{{#if:{{{otperiod6|}}}|
 +
{{!}}- style="font-size:85%"
 
{{!}}
 
{{!}}
 
{{!}}
 
{{!}}
{{!}}align=center valign=top{{!}}'''{{{otperiod6}}}'''
+
{{!}}align="center" valign="top"{{!}}'''{{{otperiod6}}}'''
 
{{!}}
 
{{!}}
{{!}}- style=font-size:85%
+
{{!}}- style="font-size:85%"
{{!}}colspan=2 align=right valign=top{{!}}{{{otsixth1}}}
+
{{!}}colspan="2" align="right" valign="top"{{!}}{{{otsixth1}}}
{{!}}align=center valign=top{{!}}{{ #if: {{{scoringot6}}} | {{{scoringot6}}} }}  
+
{{!}}align="center" valign="top"{{!}}{{ #if: {{{scoringot6}}} | {{{scoringot6}}} }}  
{{!}}colspan=2 valign=top{{!}}{{{otsixth2}}}</td></tr> }}
+
{{!}}colspan="2" valign="top"{{!}}{{{otsixth2}}}
|- style=font-size:85%
+
}}
|colspan=2 align=right valign=top|{{{goalies1}}}
+
|- style="font-size:85%"
|align=center valign=top|'''Goalie Stats'''
+
|colspan="2" align="right" valign="top"|{{{goalies1}}}
|colspan=2 valign=top|{{{goalies2}}}
+
|align="center" valign="top"|'''Goalie Stats'''
|- style=font-size:85%
+
|colspan="2" valign="top"|{{{goalies2}}}
|align=center colspan=5 valign=top|{{#if:{{{report}}}|{{{report}}}|}}
+
|- style="font-size:85%"
 +
|align="center" colspan=5 valign="top"|{{#if:{{{report|}}}|{{{report}}}}}
 
|}
 
|}

Revision as of 23:39, 17 April 2007

{{{date}}} {{{team1}}} {{{score}}} {{{team2}}} {{{stadium}}}
First Period
{{{first1}}} {{{scoring1}}} {{{first2}}}
Second Period
{{{second1}}} {{{scoring2}}} {{{second2}}}
Third Period
{{{third1}}} {{{scoring3}}} {{{third2}}}
{{{goalies1}}} Goalie Stats {{{goalies2}}}