Difference between revisions of "Template:Infobox ice hockey game"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Sabbatino (Rmv double-bolding) |
|||
| (22 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| | + | {{Infobox |
| − | | | + | | bodystyle = width:300px; font-size: 90%; |
| − | + | | titlestyle = margin-left: inherit; font-size: medium; | |
| − | + | | labelstyle = text-align:right; | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | | title = {{#if:{{{game_name<includeonly>|</includeonly>}}}|{{{game_name}}}}} | |
| + | |||
| + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}}} | ||
| + | |||
| + | | data1 = | ||
| + | {{Infobox game score|width = 33px | ||
| + | | teama = {{{visitor}}} | ||
| + | | teama_1period = {{{visitor_per1}}} | ||
| + | | teama_2period = {{{visitor_per2}}} | ||
| + | | teama_3period = {{{visitor_per3}}} | ||
| + | | teama_OTperiod = {{{visitor_OT|}}} | ||
| + | | teama_OT2period = {{{visitor_2OT|}}} | ||
| + | | teama_OT3period = {{{visitor_3OT|}}} | ||
| + | | teama_OT4period = {{{visitor_4OT|}}} | ||
| + | | teama_SO = {{{visitor_SO|}}} | ||
| + | | teama_total = {{{visitor_total}}} | ||
| + | | teamb = {{{home}}} | ||
| + | | teamb_1period = {{{home_per1}}} | ||
| + | | teamb_2period = {{{home_per2}}} | ||
| + | | teamb_3period = {{{home_per3}}} | ||
| + | | teamb_OTperiod = {{{home_OT|}}} | ||
| + | | teamb_OT2period = {{{home_2OT|}}} | ||
| + | | teamb_OT3period = {{{home_3OT|}}} | ||
| + | | teamb_OT4period = {{{home_4OT|}}} | ||
| + | | teamb_SO = {{{home_SO|}}} | ||
| + | | teamb_total = {{{home_total}}} | ||
| + | }} | ||
| + | |||
| + | | label2 = Date | ||
| + | | data2 = {{{date<includeonly>|</includeonly>}}} | ||
| + | | label4 = Arena | ||
| + | | data4 = {{{arena<includeonly>|</includeonly>}}} | ||
| + | | label6 = City | ||
| + | | data6 = {{{city<includeonly>|</includeonly>}}} | ||
| + | | label8 = [[Most valuable player|MVP]] | ||
| + | | data8 = {{{MVP<includeonly>|</includeonly>}}} | ||
| + | | label9 = Attendance | ||
| + | | data9 = {{{attendance<includeonly>|</includeonly>}}} | ||
| + | | below = {{#if:{{{previous<includeonly>|</includeonly>}}}{{{next|}}}| | ||
| + | <table style="width:100%"><tr> | ||
| + | <td style="text-align:left; width:50%">{{#if:{{{previous<includeonly>|</includeonly>}}}|← {{{previous}}} }} | ||
| + | <td style="text-align:right;width:50%">{{#if:{{{next<includeonly>|</includeonly>}}}|{{{next}}} → }} | ||
| + | </tr></table>}} | ||
| + | }}<noinclude> | ||
| + | {{Documentation}} | ||
| + | </noinclude> | ||
Latest revision as of 19:44, 18 January 2018
| [[File:{{{image}}}|frameless]] | ||||||||||||||||
| ||||||||||||||||
| Date | {{{date}}} | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Arena | {{{arena}}} | |||||||||||||||
| City | {{{city}}} | |||||||||||||||
| MVP | {{{MVP}}} | |||||||||||||||
| Attendance | {{{attendance}}} | |||||||||||||||
| ||||||||||||||||
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox ice hockey game}} can be used to provide an ice hockey game itself.
Contents
Usage
{{Infobox ice hockey game
|game_name =
|image =
|visitor =
|home =
|visitor_per1 =
|visitor_per2 =
|visitor_per3 =
|visitor_OT =
|visitor_SO =
|home_per1 =
|home_per2 =
|home_per3 =
|home_OT =
|home_SO =
|visitor_total =
|home_total =
|date =
|arena =
|city =
|MVP =
|attendance =
|previous =
|next =
}}
Parameters
| Parameter | Description |
|---|---|
| game_name | The name of the game itself. Used as a heading. Required |
| image | The image or logo of the game. Must be 200px or less. |
| visitor | The name of the teams. Full or abbreviation name of the team can be used. |
| home | |
| visitor_per | Scoring per period. |
| home_per | |
| visitor_OT | Used when the game is won or played in overtime. Overtime periods only last to 4. |
| home_OT | |
| visitor_SO | Used when the game is won by a shootout. |
| home_SO | |
| visitor_total | The total or final score of the game. |
| home_total | |
| date | The date of the game. Use {{Start date}} if necessary. |
| arena | The place where the game is played. |
| city | The location where the game is played. |
| MVP | Used only during All-Star Games or when a game is in the finals or conference finals and the team has won the series. |
| attendance | The total attendance of the game. |
| previous | Used when an ice hockey game is held yearly. |
| next |
As of March 23 (UTC), the use of the |MVP= is now allowed in all ice hockey articles as plenty of the NHL All-Star Game articles were using the MVP parameter.
Examples
This example uses the |image=, the |MVP=, the |previous=, and the |next= parameters. This example comes from the 58th National Hockey League All-Star Game. The |image= is blocked out because of the image use policy.
{{Infobox ice hockey game
| game_name = 58th NHL All-Star Game
| image = <!-- PICTURE IS NOT AVAILABLE [[File:2010 NHL All Star Game logo.jpg|200px]] -->
| visitor = Team Staal
| home = Team Lidstrom
| visitor_total = 10
| home_total = 11
| visitor_per1 = 4
| visitor_per2 = 2
| visitor_per3 = 4
| home_per1 = 4
| home_per2 = 3
| home_per3 = 4
| date = January 30, 2011
| arena = [[PNC Arena]]
| city = [[Raleigh, North Carolina|Raleigh]], [[North Carolina|NC]]
| MVP = [[Patrick Sharp]]
| attendance = 18,680
| previous= [[57th National Hockey League All-Star Game|2009]]
| next= [[59th National Hockey League All-Star Game|2012]]
|}}
| ||||||||||||||||
| Date | January 30, 2011 | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Arena | PNC Arena | |||||||||||||||
| City | Raleigh, NC | |||||||||||||||
| MVP | Patrick Sharp | |||||||||||||||
| Attendance | 18,680 | |||||||||||||||
| ||||||||||||||||
See also
- {{Ice Hockey Game}}
| The above documentation is transcluded from Template:Infobox ice hockey game/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. |