Bản mẫu:Hộp thông tin sự kiện thi đấu thể thao
Bước tới điều hướng
Bước tới tìm kiếm
The purpose of this template is to provide an infobox summary for articles on specific events of a championship or games, for example Athletics at the 2012 Summer Olympics – Men's 100 metres. This template is designed for usage on any grouping of articles which describe individual competitions within a broader sports event.
Cách sử dụng[sửa mã nguồn]
Without image_size | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}|{{{alt}}}]] {{{caption}}} |
{{Hộp thông tin sự kiện thi đấu thể thao | event = | competition = | image = | alt = | caption = | venue = | location = | dates = | competitors = | nations = | teams = | win_value = | gold = | silver = | bronze = | gold_nation = | silver_nation = | bronze_nation = | previous = | next = }}
Complete syntax[sửa mã nguồn]
{{Hộp thông tin sự kiện thi đấu thể thao | event = <!--or: name--> | competition = <!--or: championship,games--> | governing_body = <!--IOC,PASO,CGF,SEAGF--> | year = | type = | image = | image_size = <!--or: imagesize,size--> | alt = | caption = | venue = <!--or: venues--> | location = | date = <!--or: dates,start_date,end_date--> | competitors = | nations = | teams = | win_label = <!--default: Winning time--> | win_value = <!--or: win_time,win_score--> | prize_money = | website = | longnames = | gold = | gold_nation = <!--or: goldNOC--> | gold2 = | gold2_nation = <!--or: goldNOC2--> | gold3 = | gold3_nation = <!--or: goldNOC3--> | silver = | silver_nation = <!--or: silverNOC--> | silver2 = | silver2_nation = <!--or: silverNOC2--> | silver3 = | silver3_nation = <!--or: silverNOC3--> | bronze = | bronze_nation = <!--or: bronzeNOC--> | bronze2 = | bronze2_nation = <!--or: bronzeNOC2--> | bronze3 = | bronze3_nation = <!--or: bronzeNOC3--> | champion = <!--or: champions--> | men = | women = | team = | previous = <!--or: prev--> | next = }}
Parameters[sửa mã nguồn]
- event
- Name of the event. For infobox title, this can be used alone or in conjunction with "competition", "competition", or "games".
- name
- (see above)
- competition
- Name of the competition. For infobox title, this can be used alone or in conjunction with "event".
- championship
- Name of the championship. For infobox title, this can be used alone or in conjunction with "event".
- games
- Name of the games. For infobox title, this can be used alone or in conjunction with "event" or "governing body".
- governing_body
- One of the following: IOC (Olympic Games), PASO (Pan American Games), CGF (Commonwealth Games), or SEAGF (Southeast Asian Games). Use in conjunction with "year", and optionally for IOC only: "type" or "games" (see examples below).
- year
- Used with "governing_body", such as "governing_body=IOC" with "year=2012", or "governing_body=PASO" with "year=2015".
- type
- Used with "governing_body=IOC" for years with multiple Olympics, such as 1988 which needs "type=Summer" or "type=Winter".
- image
- An image filename
- alt
- Alt text for the image
- caption
- Displays under the image
- venue
- venues
- Either is required
- location
- City and country
- date
- dates
- Date(s) of the competition. Use {{Ubl}} if not contiguous
- competitors
- Total number of competitors for individual events
- nations
- Total number of unique nations represented in this event
- teams
- Number of teams in the tournament for team sports
- win_label
- Use
win_label = Winning score
to change the label from Winning time to Winning score, for example - win_value
- Winning time or score
- gold
- gold2
- gold3
- silver
- silver2
- silver3
- bronze
- bronze2
- bronze3
- Athlete name or team name. Use
gold = {{flagIOCteam|CHN|2008 Summer}}
(for example) for a team name, instead of numerating a full list of athletes. - gold_nation
- gold2_nation
- gold3_nation
- silver_nation
- silver2_nation
- silver3_nation
- bronze_nation
- bronze2_nation
- bronze3_nation
- An optional country code for the medal winner. Do not specify this if the
gold
parameter specifies a team name instead of an individual name. - previous
- Link to article on the same event/sport from the previous edition of the games
- next
- Link to article on the same event/sport from the following edition of the games
Examples[sửa mã nguồn]
Olympics, individual event[sửa mã nguồn]
Men's 400 metre individual medley tại Thế vận hội lần thứ XXIX | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
![]() Medal winners | ||||||||||
Địa điểm | Beijing National Aquatics Center | |||||||||
Các ngày |
| |||||||||
Vận động viên | 29 từ 22 quốc gia | |||||||||
Danh sách huy chương | ||||||||||
|
{{Hộp thông tin sự kiện thi đấu thể thao | event = Men's 400 metre individual medley | governing_body = IOC | year = 2008 | type = Summer | image = Michael Phelps Ryan Lochte Laszlo Cseh medals 2008 Olympics.jpg | image_size = 240 | caption = Medal winners | venue = [[Beijing National Aquatics Center]] | dates = {{Ubl|August 9 (heats)|August 10 (final)}} | competitors = 29 | nations = 22 | gold = [[Michael Phelps]] | gold_nation = USA | silver = [[László Cseh]] | silver_nation = HUN | bronze = [[Ryan Lochte]] | bronze_nation = USA }}
Olympics, team event[sửa mã nguồn]
Women's 4×100 metre medley relay tại ambiguous | |||||||
---|---|---|---|---|---|---|---|
Địa điểm | Beijing National Aquatics Center | ||||||
Danh sách huy chương | |||||||
|
{{Hộp thông tin sự kiện thi đấu thể thao | event = Women's 4×100 metre medley relay | governing_body = IOC | games = 1988 Summer | venue = [[Beijing National Aquatics Center]] | gold = {{flagIOC|GDR|1988 Summer}} | silver = {{flagIOC|USA|1988 Summer}} | bronze = {{flagIOC|CAN|1988 Summer}} }}
World Championships, individual event[sửa mã nguồn]
Men's 400 metre freestyle tại 2007 FINA World Championships | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Địa điểm | Rod Laver Arena | |||||||||
Ngày | 25 March 2007 | |||||||||
Vận động viên | 79 | |||||||||
Thời gian chiến thắng | 3 minutes 44.30 seconds | |||||||||
Danh sách huy chương | ||||||||||
| ||||||||||
{{Hộp thông tin sự kiện thi đấu thể thao | event = Men's 400 metre freestyle | competition = 2007 FINA World Championships | venue = [[Rod Laver Arena]] | date = 25 March 2007 | competitors = 79 | nations = | win_value = 3 minutes 44.30 seconds | gold = [[Park Tae-Hwan]] | goldNOC = KOR | silver = [[Grant Hackett]] | silverNOC = AUS | bronze = [[Yury Prilukov]] | bronzeNOC = RUS | prev = [[Swimming at the 2005 World Aquatics Championships – Men's 400 metre freestyle|2005]] | next = [[Swimming at the 2009 World Aquatics Championships – Men's 400 metre freestyle|2009]] }}
Pacific Games, team event[sửa mã nguồn]
Rugby sevens – Women's tournament tại 2015 Pacific Games | |||||||
---|---|---|---|---|---|---|---|
![]() | |||||||
Địa điểm | Sir John Guise Stadium | ||||||
Vị trí | Port Moresby, Papua New Guinea | ||||||
Các ngày | 8–10 July 2015 | ||||||
Quốc gia | 7 | ||||||
Danh sách huy chương | |||||||
| |||||||
{{Hộp thông tin sự kiện thi đấu thể thao | event = Rugby sevens – Women's tournament | games = 2015 Pacific Games | image = [[File:Rugby union pictogram.svg|70px]] | venue = [[Sir John Guise Stadium]] | location = [[Port Moresby]], Papua New Guinea | dates = 8–10 July 2015 | nations = 7 | gold = {{ru7w|FIJ}} | silver = {{ru7w|AUS}} | bronze = {{ru7w|PNG}} | previous = [[Rugby sevens at the 2011 Pacific Games – Women's tournament|2011]] | next = <!--[[Rugby sevens at the 2019 Pacific Games – Women's tournament|2019]]--> }}
Using competition without event[sửa mã nguồn]
World Yo-Yo Contest | |
---|---|
Vị trí | Cleveland, Ohio, United States |
Các ngày | August 4–7, 2016 |
{{Hộp thông tin sự kiện thi đấu thể thao | competition = World Yo-Yo Contest | location = [[Cleveland]], Ohio, United States | dates = August 4–7, 2016 }}
See also[sửa mã nguồn]
- Supporting templates
- Template:Hộp thông tin sự kiện thi đấu thể thao/medalrow
- Template:IOC year
- Template:PASO year
- Template:CGF year
- Template:SEAGF year
- Similar templates