Template:Hockey box: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 2: Line 2:
|date = {{{date|}}}
|date = {{{date|}}}
|team1 = {{{team1}}}
|team1 = {{{team1}}}
|score = {{{score}}}<br><small>({{{p1}}}, {{{p2}}}, {{{p3}}}){{#if:{{{ot|}}}|<br>([[wikipedia:Overtime (ice hockey)|OT]]: {{{ot}}})|}}{{#if:{{{so|}}}|<br>([[wikipedia:Shootout (ice hockey)|SO]]: {{{so}}})|}}</small>
|score = {{{score}}}{{#switch:{{{ot}}}|1|y|yes=&nbsp;{{Hockey OT}}|SO|so=&nbsp;{{Hockey OT|SO}}|2=&nbsp;{{Hockey OT|P=2}}|3=&nbsp;{{Hockey OT|P=3}}|4=&nbsp;{{Hockey OT|P=4}}|5=&nbsp;{{Hockey OT|P=5}}|6=&nbsp;{{Hockey OT|P=6}}|7=&nbsp;{{Hockey OT|P=7}}|8=&nbsp;{{Hockey OT|P=8}}|9=&nbsp;{{Hockey OT|P=9}}|10=&nbsp;{{Hockey OT|P=10}}|default=}}{{{periods|}}}
|report = {{#if:{{{team1_g|}}}|''Goalies''<br>|}}{{#expr:{{#ifeq:{{{goal1}}}|h|1|0}}}}&ndash;{{#expr:{{#ifeq:{{{goal1}}}|a|1|0}}}}<!--
|report = {{#if:{{{team1_g|}}}|''Goalies''<br>{{#if:{{{team1_g2|}}}{{{team2_g2|}}}|<br>|}}|}}<!--
 
-->{{#if:{{{goal1|}}}|{{#expr:{{#ifeq:{{{goal1}}}|h|1|0}}}}&ndash;{{#expr:{{#ifeq:{{{goal1}}}|a|1|0}}}}|}}<!--


-->{{#if:{{{goal2|}}}|<br>{{#expr:{{#ifeq:{{{goal1}}}|h|1|0}}+{{#ifeq:{{{goal2}}}|h|1|0}}}}&ndash;{{#expr:{{#ifeq:{{{goal1}}}|a|1|0}}+{{#ifeq:{{{goal2}}}|a|1|0}}}}|}}<!--
-->{{#if:{{{goal2|}}}|<br>{{#expr:{{#ifeq:{{{goal1}}}|h|1|0}}+{{#ifeq:{{{goal2}}}|h|1|0}}}}&ndash;{{#expr:{{#ifeq:{{{goal1}}}|a|1|0}}+{{#ifeq:{{{goal2}}}|a|1|0}}}}|}}<!--
Line 45: Line 47:
-->{{#if:{{{team1_PIM|}}}|<br>''Penalties''|}}{{#if:{{{team1_SOG|}}}|<br>''Shots on goal''|}}
-->{{#if:{{{team1_PIM|}}}|<br>''Penalties''|}}{{#if:{{{team1_SOG|}}}|<br>''Shots on goal''|}}
|team2 = {{{team2}}}
|team2 = {{{team2}}}
|goals1 = {{#if:{{{team1_g|}}}|''[[{{{team1_g}}}]]''<br>|}}<!--
|goals1 = {{#if:{{{team1_g|}}}|''[[{{{team1_g}}}]]{{#if:{{{team1_g_time|}}}|&nbsp;({{{team1_g_time}}})|}}<br>{{#if:{{{team1_g2|}}}|[[{{{team1_g2|}}}]] ({{{team1_g2_time|}}})<br>|<br>}}|}}''<!--


-->{{#ifeq:{{{goal1}}}|h|{{Hb home goal|gs={{{goal1_s|}}}|a1={{{goal1_a1|}}}|a2={{{goal1_a2|}}}|stat={{{stat_1|}}}|time={{{time_1|}}}}}|<br>}}<!--
-->{{#if:{{{goal1|}}}|{{#ifeq:{{{goal1}}}|h|{{Hb home goal|gs={{{goal1_s|}}}|a1={{{goal1_a1|}}}|a2={{{goal1_a2|}}}|stat={{{stat_1|}}}|time={{{time_1|}}}}}|<br>}}|}}<!--


-->{{#if:{{{goal2|}}}|{{#ifeq:{{{goal2}}}|h|{{Hb home goal|gs={{{goal2_s|}}}|a1={{{goal2_a1|}}}|a2={{{goal2_a2|}}}|stat={{{stat_2|}}}|time={{{time_2|}}}}}|<br>}}|}}<!--
-->{{#if:{{{goal2|}}}|{{#ifeq:{{{goal2}}}|h|{{Hb home goal|gs={{{goal2_s|}}}|a1={{{goal2_a1|}}}|a2={{{goal2_a2|}}}|stat={{{stat_2|}}}|time={{{time_2|}}}}}|<br>}}|}}<!--
Line 88: Line 90:


-->{{#if:{{{team1_PIM|}}}|''{{{team1_PIM}}} mins''|}}{{#if:{{{team1_SOG|}}}|<br>''{{{team1_SOG|}}}''|}}
-->{{#if:{{{team1_PIM|}}}|''{{{team1_PIM}}} mins''|}}{{#if:{{{team1_SOG|}}}|<br>''{{{team1_SOG|}}}''|}}
|goals2 = {{#if:{{{team2_g|}}}|''[[{{{team2_g}}}]]''<br>|}}<!--
|goals2 = {{#if:{{{team2_g|}}}|''[[{{{team2_g}}}]]{{#if:{{{team2_g_time|}}}|&nbsp;({{{team2_g_time}}})|}}<br>{{#if:{{{team2_g2|}}}|[[{{{team2_g2|}}}]] ({{{team2_g2_time|}}})<br>|<br>}}|}}''<!--


-->{{#ifeq:{{{goal1}}}|a|{{Hb away goal|gs={{{goal1_s|}}}|a1={{{goal1_a1|}}}|a2={{{goal1_a2|}}}|stat={{{stat_1|}}}|time={{{time_1|}}}}}|<br>}}<!--
-->{{#if:{{{goal2|}}}|{{#ifeq:{{{goal1}}}|a|{{Hb away goal|gs={{{goal1_s|}}}|a1={{{goal1_a1|}}}|a2={{{goal1_a2|}}}|stat={{{stat_1|}}}|time={{{time_1|}}}}}|<br>}}|}}<!--


-->{{#if:{{{goal2|}}}|{{#ifeq:{{{goal2}}}|a|{{Hb away goal|gs={{{goal2_s|}}}|a1={{{goal2_a1|}}}|a2={{{goal2_a2|}}}|stat={{{stat_2|}}}|time={{{time_2|}}}}}|<br>}}|}}<!--
-->{{#if:{{{goal2|}}}|{{#ifeq:{{{goal2}}}|a|{{Hb away goal|gs={{{goal2_s|}}}|a1={{{goal2_a1|}}}|a2={{{goal2_a2|}}}|stat={{{stat_2|}}}|time={{{time_2|}}}}}|<br>}}|}}<!--

Latest revision as of 12:58, 23 May 2021


{{{team1}}} {{{score}}} {{{team2}}}