Difference between revisions of "Template:Infobox game score/doc"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes |
||
| Line 6: | Line 6: | ||
== Usage == | == Usage == | ||
=== Matches with three periods === | === Matches with three periods === | ||
| + | {{Infobox game score | ||
| + | | teama = Visitor | ||
| + | | teama_1period = 1 | ||
| + | | teama_2period = 2 | ||
| + | | teama_3period = 3 | ||
| + | | teamb = Home | ||
| + | | teamb_1period = 4 | ||
| + | | teamb_2period = 5 | ||
| + | | teamb_3period = 6 | ||
| + | }} | ||
<pre> | <pre> | ||
{{Infobox game score | {{Infobox game score | ||
| Line 20: | Line 30: | ||
=== Matches with four periods === | === Matches with four periods === | ||
| + | {{Infobox game score | ||
| + | | teama = Visitor | ||
| + | | teama_1period = 1 | ||
| + | | teama_2period = 2 | ||
| + | | teama_3period = 3 | ||
| + | | teama_4period = 4 | ||
| + | | teamb = Home | ||
| + | | teamb_1period = 5 | ||
| + | | teamb_2period = 6 | ||
| + | | teamb_3period = 7 | ||
| + | | teamb_4period = 8 | ||
| + | }} | ||
<pre> | <pre> | ||
{{Infobox game score | {{Infobox game score | ||
| Line 36: | Line 58: | ||
=== Overtime === | === Overtime === | ||
| + | {{Infobox game score | ||
| + | | teama = Visitor | ||
| + | | teama_1period = 1 | ||
| + | | teama_2period = 2 | ||
| + | | teama_3period = 3 | ||
| + | | teama_4period = 4 | ||
| + | | teama_OTperiod = 1 | ||
| + | | teama_OT2period = 2 | ||
| + | | teama_OT3period = 3 | ||
| + | | teama_OT4period = 1 | ||
| + | | teamb = Home | ||
| + | | teamb_1period = 4 | ||
| + | | teamb_2period = 3 | ||
| + | | teamb_3period = 2 | ||
| + | | teamb_4period = 1 | ||
| + | | teamb_OTperiod = 1 | ||
| + | | teamb_OT2period = 2 | ||
| + | | teamb_OT3period = 3 | ||
| + | | teamb_OT4period = 2 | ||
| + | }} | ||
For matches with an overtime period, use | For matches with an overtime period, use | ||
<pre> | <pre> | ||
| Line 58: | Line 100: | ||
=== Period labels === | === Period labels === | ||
| + | {{Infobox game score | ||
| + | | teama = Visitor | ||
| + | | label_1period = 1st half | ||
| + | | label_2period = 2nd half | ||
| + | | teama_1period = 50 | ||
| + | | teama_2period = 30 | ||
| + | | teamb = Home | ||
| + | | teamb_1period = 29 | ||
| + | | teamb_2period = 52 | ||
| + | }} | ||
The labels for each period can be changed using {{para|label_Xperiod}} for the X period. For example, for the first period, use | The labels for each period can be changed using {{para|label_Xperiod}} for the X period. For example, for the first period, use | ||
<pre> | <pre> | ||
| Line 64: | Line 116: | ||
=== Total score === | === Total score === | ||
| + | {{Infobox game score | ||
| + | | teama = Visitor | ||
| + | | teama_1period = 1 | ||
| + | | teama_2period = 2 | ||
| + | | teama_total = {{small|Halted due}} | ||
| + | | teamb = Home | ||
| + | | teamb_1period = 4 | ||
| + | | teamb_2period = 5 | ||
| + | | teamb_total = {{small|to weather}} | ||
| + | }} | ||
By default, the total score is computed by summing the score from each period. To override this feature, use | By default, the total score is computed by summing the score from each period. To override this feature, use | ||
<pre> | <pre> | ||
| Line 70: | Line 132: | ||
</pre> | </pre> | ||
| − | == | + | == Templates using this template == |
| + | * {{tl|Infobox NFL single game}} | ||
<includeonly> | <includeonly> | ||
Revision as of 16:44, 4 March 2012
| This is a documentation subpage for Template:Infobox game score. It contains usage information, categories and other content that is not part of the original template page. |
This helper template is used by several infobox templates to format the score for a game.
Contents
Usage
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 | Total | |
|---|---|---|---|---|---|---|---|---|---|
| Visitor | 1 | 2 | 3 | 4 | 1 | 2 | 3 | 1 | 17 |
| Home | 4 | 3 | 2 | 1 | 1 | 2 | 3 | 2 | 18 |
For matches with an overtime period, use
| teama_OTperiod = | teamb_OTperiod =
For a second overtime period, use
| teama_OT2period = | teamb_OT2period =
For a third overtime period, use
| teama_OT3period = | teamb_OT3period =
For a fourth overtime period, use
| teama_OT4period = | teamb_OT4period =
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