Difference between revisions of "Template:Infobox game score"
Jump to navigation
Jump to search
imported>Frietjes (move to doc) |
imported>Frietjes |
||
| Line 5: | Line 5: | ||
| #default = center | | #default = center | ||
}} style="background-color:transparent; {{{style|}}}"> | }} style="background-color:transparent; {{{style|}}}"> | ||
| − | <tr | + | <tr> |
<th></th> | <th></th> | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_1period|}}}|{{{label_1period}}}|1}}</th>{{ | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_1period|}}}|{{{label_1period}}}|1}}</th>{{ |
#if:{{{teama_2period|}}}{{{teamb_2period|}}}| | #if:{{{teama_2period|}}}{{{teamb_2period|}}}| | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_2period|}}}|{{{label_2period}}}|2}}</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_2period|}}}|{{{label_2period}}}|2}}</th> |
}}{{ | }}{{ | ||
#if:{{{teama_3period|}}}{{{teamb_3period|}}}| | #if:{{{teama_3period|}}}{{{teamb_3period|}}}| | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_3period|}}}|{{{label_3period}}}|3}}</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_3period|}}}|{{{label_3period}}}|3}}</th> |
}}{{ | }}{{ | ||
#if:{{{teama_4period|}}}{{{teamb_4period|}}}| | #if:{{{teama_4period|}}}{{{teamb_4period|}}}| | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_4period|}}}|{{{label_4period}}}|4}}</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_4period|}}}|{{{label_4period}}}|4}}</th> |
}}{{ | }}{{ | ||
#if:{{{teama_OTperiod|}}}{{{teamb_OTperiod|}}}| | #if:{{{teama_OTperiod|}}}{{{teamb_OTperiod|}}}| | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OTperiod|}}}|{{{label_OTperiod}}}|OT}}</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OTperiod|}}}|{{{label_OTperiod}}}|OT}}</th> |
}}{{ | }}{{ | ||
#if:{{{teama_OT2period|}}}{{{teamb_OT2period|}}}| | #if:{{{teama_OT2period|}}}{{{teamb_OT2period|}}}| | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT2period|}}}|{{{label_OT2period}}}|2OT}}</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT2period|}}}|{{{label_OT2period}}}|2OT}}</th> |
}}{{ | }}{{ | ||
#if:{{{teama_OT3period|}}}{{{teamb_OT3period|}}}| | #if:{{{teama_OT3period|}}}{{{teamb_OT3period|}}}| | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT3period|}}}|{{{label_OT3period}}}|3OT}}</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT3period|}}}|{{{label_OT3period}}}|3OT}}</th> |
}}{{ | }}{{ | ||
#if:{{{teama_OT4period|}}}{{{teamb_OT4period|}}}| | #if:{{{teama_OT4period|}}}{{{teamb_OT4period|}}}| | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT4period|}}}|{{{label_OT4period}}}|4OT}}</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT4period|}}}|{{{label_OT4period}}}|4OT}}</th> |
}}{{ | }}{{ | ||
#if:{{{teama_OT5period|}}}{{{teamb_OT5period|}}}| | #if:{{{teama_OT5period|}}}{{{teamb_OT5period|}}}| | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT5period|}}}|{{{label_OT5period}}}|5OT}}</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT5period|}}}|{{{label_OT5period}}}|5OT}}</th> |
}}{{ | }}{{ | ||
#if:{{{teama_OT6period|}}}{{{teamb_OT6period|}}}| | #if:{{{teama_OT6period|}}}{{{teamb_OT6period|}}}| | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT6period|}}}|{{{label_OT6period}}}|6OT}}</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT6period|}}}|{{{label_OT6period}}}|6OT}}</th> |
}}{{ | }}{{ | ||
#if:{{{teama_OT7period|}}}{{{teamb_OT7period|}}}| | #if:{{{teama_OT7period|}}}{{{teamb_OT7period|}}}| | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT7period|}}}|{{{label_OT7period}}}|7OT}}</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_OT7period|}}}|{{{label_OT7period}}}|7OT}}</th> |
}}{{ | }}{{ | ||
#if:{{{teama_SO|}}}{{{teamb_SO|}}}| | #if:{{{teama_SO|}}}{{{teamb_SO|}}}| | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_SO|}}}|{{{label_SO}}}|SO}}</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">{{#if:{{{label_SO|}}}|{{{label_SO}}}|SO}}</th> |
}} | }} | ||
| − | <th style="width: {{{width|25px}}}; vertical-align: bottom">Total</th> | + | <th style="text-align:center; width: {{{width|25px}}}; vertical-align: bottom">Total</th> |
| − | </tr><tr | + | </tr><tr> |
<td style="text-align:right; white-space: nowrap">{{{teama}}}</td> | <td style="text-align:right; white-space: nowrap">{{{teama}}}</td> | ||
| − | <td style="background:#efefef">{{#if:{{{teama_1period|}}}|{{{teama_1period}}}|0}}</td>{{ | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_1period|}}}|{{{teama_1period}}}|0}}</td>{{ |
#if:{{{teama_2period|}}}{{{teamb_2period|}}}| | #if:{{{teama_2period|}}}{{{teamb_2period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teama_2period|}}}|{{{teama_2period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_2period|}}}|{{{teama_2period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_3period|}}}{{{teamb_3period|}}}| | #if:{{{teama_3period|}}}{{{teamb_3period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teama_3period|}}}|{{{teama_3period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_3period|}}}|{{{teama_3period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_4period|}}}{{{teamb_4period|}}}| | #if:{{{teama_4period|}}}{{{teamb_4period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teama_4period|}}}|{{{teama_4period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_4period|}}}|{{{teama_4period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OTperiod|}}}{{{teamb_OTperiod|}}}| | #if:{{{teama_OTperiod|}}}{{{teamb_OTperiod|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teama_OTperiod|}}}|{{{teama_OTperiod}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_OTperiod|}}}|{{{teama_OTperiod}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT2period|}}}{{{teamb_OT2period|}}}| | #if:{{{teama_OT2period|}}}{{{teamb_OT2period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teama_OT2period|}}}|{{{teama_OT2period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_OT2period|}}}|{{{teama_OT2period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT3period|}}}{{{teamb_OT3period|}}}| | #if:{{{teama_OT3period|}}}{{{teamb_OT3period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teama_OT3period|}}}|{{{teama_OT3period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_OT3period|}}}|{{{teama_OT3period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT4period|}}}{{{teamb_OT4period|}}}| | #if:{{{teama_OT4period|}}}{{{teamb_OT4period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teama_OT4period|}}}|{{{teama_OT4period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_OT4period|}}}|{{{teama_OT4period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT5period|}}}{{{teamb_OT5period|}}}| | #if:{{{teama_OT5period|}}}{{{teamb_OT5period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teama_OT5period|}}}|{{{teama_OT5period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_OT5period|}}}|{{{teama_OT5period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT6period|}}}{{{teamb_OT6period|}}}| | #if:{{{teama_OT6period|}}}{{{teamb_OT6period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teama_OT6period|}}}|{{{teama_OT6period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_OT6period|}}}|{{{teama_OT6period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT7period|}}}{{{teamb_OT7period|}}}| | #if:{{{teama_OT7period|}}}{{{teamb_OT7period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teama_OT7period|}}}|{{{teama_OT7period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_OT7period|}}}|{{{teama_OT7period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_SO|}}}{{{teamb_SO|}}}| | #if:{{{teama_SO|}}}{{{teamb_SO|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teama_SO|}}}|{{{teama_SO}}}|0/0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teama_SO|}}}|{{{teama_SO}}}|0/0}}</td> |
}} | }} | ||
| − | <td style="font-weight: bold">{{#if:{{{teama_total|}}} | + | <td style="text-align:center; font-weight: bold">{{#if:{{{teama_total|}}} |
|{{{teama_total|}}} | |{{{teama_total|}}} | ||
|{{#expr:{{#if:{{{teama_1period|}}}|{{{teama_1period}}}|0}}+{{#if:{{{teama_2period|}}}|{{{teama_2period}}}|0}}+{{#if:{{{teama_3period|}}}|{{{teama_3period}}}|0}}+{{#if:{{{teama_4period|}}}|{{{teama_4period}}}|0}}+{{#if:{{{teama_OTperiod|}}}|{{{teama_OTperiod}}}|0}}+{{#if:{{{teama_OT2period|}}}|{{{teama_OT2period}}}|0}}+{{#if:{{{teama_OT3period|}}}|{{{teama_OT3period}}}|0}}+{{#if:{{{teama_OT4period|}}}|{{{teama_OT4period}}}|0}}+{{#if:{{{teama_OT5period|}}}|{{{teama_OT5period}}}|0}}+{{#if:{{{teama_OT6period|}}}|{{{teama_OT6period}}}|0}}+{{#if:{{{teama_OT7period|}}}|{{{teama_OT7period}}}|0}} }} | |{{#expr:{{#if:{{{teama_1period|}}}|{{{teama_1period}}}|0}}+{{#if:{{{teama_2period|}}}|{{{teama_2period}}}|0}}+{{#if:{{{teama_3period|}}}|{{{teama_3period}}}|0}}+{{#if:{{{teama_4period|}}}|{{{teama_4period}}}|0}}+{{#if:{{{teama_OTperiod|}}}|{{{teama_OTperiod}}}|0}}+{{#if:{{{teama_OT2period|}}}|{{{teama_OT2period}}}|0}}+{{#if:{{{teama_OT3period|}}}|{{{teama_OT3period}}}|0}}+{{#if:{{{teama_OT4period|}}}|{{{teama_OT4period}}}|0}}+{{#if:{{{teama_OT5period|}}}|{{{teama_OT5period}}}|0}}+{{#if:{{{teama_OT6period|}}}|{{{teama_OT6period}}}|0}}+{{#if:{{{teama_OT7period|}}}|{{{teama_OT7period}}}|0}} }} | ||
}}</td> | }}</td> | ||
| − | </tr><tr | + | </tr><tr> |
<td style="text-align:right; white-space: nowrap">{{{teamb}}}</td> | <td style="text-align:right; white-space: nowrap">{{{teamb}}}</td> | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_1period|}}}|{{{teamb_1period}}}|0}}</td>{{ | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_1period|}}}|{{{teamb_1period}}}|0}}</td>{{ |
#if:{{{teama_2period|}}}{{{teamb_2period|}}}| | #if:{{{teama_2period|}}}{{{teamb_2period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_2period|}}}|{{{teamb_2period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_2period|}}}|{{{teamb_2period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_3period|}}}{{{teamb_3period|}}}| | #if:{{{teama_3period|}}}{{{teamb_3period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_3period|}}}|{{{teamb_3period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_3period|}}}|{{{teamb_3period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_4period|}}}{{{teamb_4period|}}}| | #if:{{{teama_4period|}}}{{{teamb_4period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_4period|}}}|{{{teamb_4period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_4period|}}}|{{{teamb_4period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OTperiod|}}}{{{teamb_OTperiod|}}}| | #if:{{{teama_OTperiod|}}}{{{teamb_OTperiod|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_OTperiod|}}}|{{{teamb_OTperiod}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_OTperiod|}}}|{{{teamb_OTperiod}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT2period|}}}{{{teamb_OT2period|}}}| | #if:{{{teama_OT2period|}}}{{{teamb_OT2period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_OT2period|}}}|{{{teamb_OT2period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_OT2period|}}}|{{{teamb_OT2period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT3period|}}}{{{teamb_OT3period|}}}| | #if:{{{teama_OT3period|}}}{{{teamb_OT3period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_OT3period|}}}|{{{teamb_OT3period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_OT3period|}}}|{{{teamb_OT3period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT4period|}}}{{{teamb_OT4period|}}}| | #if:{{{teama_OT4period|}}}{{{teamb_OT4period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_OT4period|}}}|{{{teamb_OT4period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_OT4period|}}}|{{{teamb_OT4period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT5period|}}}{{{teamb_OT5period|}}}| | #if:{{{teama_OT5period|}}}{{{teamb_OT5period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_OT5period|}}}|{{{teamb_OT5period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_OT5period|}}}|{{{teamb_OT5period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT6period|}}}{{{teamb_OT6period|}}}| | #if:{{{teama_OT6period|}}}{{{teamb_OT6period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_OT6period|}}}|{{{teamb_OT6period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_OT6period|}}}|{{{teamb_OT6period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_OT7period|}}}{{{teamb_OT7period|}}}| | #if:{{{teama_OT7period|}}}{{{teamb_OT7period|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_OT7period|}}}|{{{teamb_OT7period}}}|0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_OT7period|}}}|{{{teamb_OT7period}}}|0}}</td> |
}}{{ | }}{{ | ||
#if:{{{teama_SO|}}}{{{teamb_SO|}}}| | #if:{{{teama_SO|}}}{{{teamb_SO|}}}| | ||
| − | <td style="background:#efefef">{{#if:{{{teamb_SO|}}}|{{{teamb_SO}}}|0/0}}</td> | + | <td style="text-align:center; background:#efefef">{{#if:{{{teamb_SO|}}}|{{{teamb_SO}}}|0/0}}</td> |
}} | }} | ||
| − | <td style="font-weight: bold">{{#if:{{{teamb_total|}}} | + | <td style="text-align:center; font-weight: bold">{{#if:{{{teamb_total|}}} |
|{{{teamb_total|}}} | |{{{teamb_total|}}} | ||
|{{#expr:{{#if:{{{teamb_1period|}}}|{{{teamb_1period}}}|0}}+{{#if:{{{teamb_2period|}}}|{{{teamb_2period}}}|0}}+{{#if:{{{teamb_3period|}}}|{{{teamb_3period}}}|0}}+{{#if:{{{teamb_4period|}}}|{{{teamb_4period}}}|0}}+{{#if:{{{teamb_OTperiod|}}}|{{{teamb_OTperiod}}}|0}}+{{#if:{{{teamb_OT2period|}}}|{{{teamb_OT2period}}}|0}}+{{#if:{{{teamb_OT3period|}}}|{{{teamb_OT3period}}}|0}}+{{#if:{{{teamb_OT4period|}}}|{{{teamb_OT4period}}}|0}}+{{#if:{{{teamb_OT5period|}}}|{{{teamb_OT5period}}}|0}}+{{#if:{{{teamb_OT6period|}}}|{{{teamb_OT6period}}}|0}}+{{#if:{{{teamb_OT7period|}}}|{{{teamb_OT7period}}}|0}} }} | |{{#expr:{{#if:{{{teamb_1period|}}}|{{{teamb_1period}}}|0}}+{{#if:{{{teamb_2period|}}}|{{{teamb_2period}}}|0}}+{{#if:{{{teamb_3period|}}}|{{{teamb_3period}}}|0}}+{{#if:{{{teamb_4period|}}}|{{{teamb_4period}}}|0}}+{{#if:{{{teamb_OTperiod|}}}|{{{teamb_OTperiod}}}|0}}+{{#if:{{{teamb_OT2period|}}}|{{{teamb_OT2period}}}|0}}+{{#if:{{{teamb_OT3period|}}}|{{{teamb_OT3period}}}|0}}+{{#if:{{{teamb_OT4period|}}}|{{{teamb_OT4period}}}|0}}+{{#if:{{{teamb_OT5period|}}}|{{{teamb_OT5period}}}|0}}+{{#if:{{{teamb_OT6period|}}}|{{{teamb_OT6period}}}|0}}+{{#if:{{{teamb_OT7period|}}}|{{{teamb_OT7period}}}|0}} }} | ||
Revision as of 13:22, 15 July 2015
This helper template is used by several infobox templates to format the score for a game.
Contents
Usage
Template:Parameter names example
{{Infobox game score
| align =
| style =
| width =
| label_1period =
| teama_2period =
| teamb_2period =
| label_2period =
| teama_3period =
| teamb_3period =
| label_3period =
| teama_4period =
| teamb_4period =
| label_4period =
| teama_OTperiod =
| teamb_OTperiod =
| label_OTperiod =
| teama_OT2period =
| teamb_OT2period =
| label_OT2period =
| teama_OT3period =
| teamb_OT3period =
| label_OT3period =
| teama_OT4period =
| teamb_OT4period =
| label_OT4period =
| teama_OT5period =
| teamb_OT5period =
| label_OT5period =
| teama_OT6period =
| teamb_OT6period =
| label_OT6period =
| teama_OT7period =
| teamb_OT7period =
| label_OT7period =
| teama_SO =
| teamb_SO =
| label_SO =
| teama =
| teama_1period =
| teama_total =
| teamb =
| teamb_1period =
| teamb_total =
}}
Matches with three periods
| 1 | 2 | 3 | Total | |
|---|---|---|---|---|
| Visitor | 1 | 2 | 3 | 6 |
| Home | 4 | 5 | 6 | 15 |
{{Infobox game score
| teama =
| teama_1period =
| teama_2period =
| teama_3period =
| teamb =
| teamb_1period =
| teamb_2period =
| teamb_3period =
}}
Matches with four periods
| 1 | 2 | 3 | 4 | Total | |
|---|---|---|---|---|---|
| Visitor | 1 | 2 | 3 | 4 | 10 |
| Home | 5 | 6 | 7 | 8 | 26 |
{{Infobox game score
| teama =
| teama_1period =
| teama_2period =
| teama_3period =
| teama_4period =
| teamb =
| teamb_1period =
| teamb_2period =
| teamb_3period =
| teamb_4period =
}}
Overtime
| 1 | 2 | 3 | 4 | OT | 2OT | 3OT | 4OT | 5OT | 6OT | 7OT | Total | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Visitor | 1 | 2 | 3 | 4 | 1 | 2 | 3 | 4 | 5 | 6 | 1 | 32 |
| Home | 4 | 3 | 2 | 1 | 1 | 2 | 3 | 4 | 5 | 6 | 2 | 33 |
For matches with an overtime period, use
| teama_OTperiod = | teamb_OTperiod =
For a second overtime period, use
| teama_OT2period = | teamb_OT2period =
... For a seventh overtime period, use
| teama_OT7period = | teamb_OT7period =
Shoot out
| 1 | 2 | 3 | OT | SO | Total | |
|---|---|---|---|---|---|---|
| Visitor | 1 | 2 | 3 | 1 | 0/2 | 7 |
| Home | 3 | 2 | 1 | 1 | 2/3 | 8 |
For matches with a shoot out period (not automatically included in the score), use
| teama_SO = | teamb_SO =
and
| teama_total = | teamb_total =
Period labels
| 1st half | 2nd half | Total | |
|---|---|---|---|
| Visitor | 50 | 30 | 80 |
| Home | 29 | 52 | 81 |
The labels for each period can be changed using |label_Xperiod= for the X period. For example, for the first period, use
| label_1period =
Total score
| 1 | 2 | Total | |
|---|---|---|---|
| Visitor | 1 | 2 | Halted due |
| Home | 4 | 5 | to weather |
By default, the total score is computed by summing the score from each period. To override this feature, use
| teama_total = | teamb_total =
Templates using this template
- {{Infobox basketball game}}
- {{Infobox Canadian football game}}
- {{Infobox college football single game}}
- {{Infobox College AllStar Game}}
- {{Infobox ice hockey game}}
- {{Infobox NBA All-Star Game}}
- {{Infobox NFL single game}}
- {{Infobox RHI All-Star Game}}
| The above documentation is transcluded from Template:Infobox game score/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |