Bản mẫu:Ice hockey box/doc

Bách khoa toàn thư mở Wikipedia

Cách sử dụng[sửa mã nguồn]

Ví dụ

{{Ice hockey box
| id          = "ITA v CAN"
| date        = {{Start date|2006|02|15|mf=y}}
| time        = 13:05
| team1       = {{ih-rt|ITA}}
| team2       = '''{{ih|CAN}}'''
| score       = 2–7
| periods     = (0–1, 2–5, 0–1)
| reference   = http://www.iihf.com/Hydra/OG06/data/iihf/output/xml/11/IHM400A01_74_3_1.pdf
| goalie1     = [[Jason Muzzatti]]
| goalie2     = [[Martin Brodeur]]
| progression = 0–1 / 1–1 / 1–2 / 1–3 / 1–4 / 1–5 / 1–6 / 2–6 / 2–7
| goals1      = [[Jason Cirone|Cirone]] ([[Giulio Scandella|Scandella]]) (PP) – 20:43 / [[John Parco|Parco]] ([[Tony Tuzzolino|Tuzzolino]]) – 38:08
| goals2      = 5:33 – [[Jarome Iginla|Iginla]] ([[Todd Bertuzzi|Bertuzzi]], [[Joe Sakic|Sakic]]) / 21:55 – [[Dany Heatley|Heatley]] ([[Martin St. Louis|St. Louis]], [[Vincent Lecavalier|Lecavalier]]) / 25:38 – [[Shane Doan|Doan]] ([[Chris Pronger|Pronger]], [[Brad Richards|Richards]]) / 26:04 – [[Jarome Iginla|Iginla]] ([[Joe Sakic|Sakic]]) (PP) / 33:53 – St. Louis (Heatley, Lecavalier) / 34:38 – [[Brad Richards|Richards]] ([[Shane Doan|Doan]], [[Todd Bertuzzi|Bertuzzi]]) / 43:39 – [[Joe Thornton|Thornton]] ([[Simon Gagné|Gagné]]) (PP) 
| official    = [[Thomas Andersson (trọng tài)|]] ([[Hiệp hội khúc côn cầu trên băng Thụy Điển|Thụy Điển]])
| official2   = 
| linesman    = 
| linesman2   = 
| stadium     = [[Pala Alpitour]]
| attendance  = 8.575
| penalties1  = 20
| penalties2  = 12
| shots1      = 20
| shots2      = 50
| note        = 
}}

15 tháng 2 năm 2006 (2006-02-15)
13:05
Ý 2–7
(0–1, 2–5, 0–1)
 CanadaPala Alpitour
Số khán giả: 8.575

Bản mẫu trống[sửa mã nguồn]

{{IceHockeybox
| id          = 
| date        = 
| time        = 
| team1       = 
| team2       = 
| score       = 
| periods     = 
| reference   = 
| goalie1     = 
| goalie2     = 
| progression = 
| pnote       = 
| goals1      = 
| goals2      = 
| soshots1    = 
| soshots2    = 
| sonote      = 
| official    = 
| official2   = 
| linesman    = 
| linesman2   = 
| stadium     = 
| attendance  = 
| penalties1  = 
| penalties2  = 
| shots1      = 
| shots2      = 
| bg          = <!-- optional, to change the color from the preset grey -->
| note        =
}}

The HTML markup produced by this template includes an hCard microformat, which makes the person's or organisation's name parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

The hCard in this template uses at least some of these HTML classes:

  • fn (required)
  • nickname
  • org
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them.

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Classes used

The HTML classes this microformat uses include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.