แม่แบบ:กล่องประเภทกีฬาโอลิมปิก

จากวิกิพีเดีย สารานุกรมเสรี
{{{event}}}
at the Games of the Olympiad
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]


Usage[แก้]

{{กล่องประเภทกีฬาโอลิมปิก
|event = 
|games = 
|image = 
|caption = 
|venue = 
|dates = 
|competitors = 
|nations = 
|teams = 
|governing_body = 
|win_value =
|gold = 
|goldNOC = 
|gold2 = 
|goldNOC2 = 
|silver = 
|silverNOC = 
|bronze = 
|bronzeNOC = 
|prev = 
|next = 
}}
event
Required for infobox title
games
String such as 2008 Summer or 2006 Winter, for example
image
(Optional) complete image syntax
caption
(Optional) displays under the image
venue or venues
Required
date or dates
Required, date(s) of the competition. Use multiple lines if necessary.
competitors
Optional, total number of competitors for individual events
nations
Optional, total number of unique nations represented in this event
teams
Optional, number of teams in the tournament for team sports
governing_body
Optional, name of International Governing body for the sport
win_value
Optional, winning time or score. Use win_label = Winning score to change the label from Winning time to Winning score, for example.
gold, silver, bronze
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.
goldNOC, silverNOC, bronzeNOC
(Optional) country code for the gold medal winner. Do not specify this if the gold parameter specifies a team name instead of an individual name.
gold2 and goldNOC2
As for gold and goldNOC, but used for situations where there is a tie for first place and two gold medals are awarded (The template currently supports up to three of each medal type.).
prev
Link to article on the same event/sport from the previous edition of the Olympic Games
next
Link to article on the same event/sport from the following edition of the Olympic Games

Example[แก้]

{{กล่องประเภทกีฬาโอลิมปิก
|event = Men's 400 metre individual medley
|games = 2008 Summer
|image = [[Image:Michael Phelps Ryan Lochte Laszlo Cseh medals 2008 Olympics.jpg|240px]]
|caption = Medal winners
|venue = [[Beijing National Aquatics Center]]
|dates = August 9 (heats)<br/>August 10 (final)
|competitors = 29
|nations = 22
|gold = [[Michael Phelps]]
|goldNOC = USA
|silver = [[László Cseh]]
|silverNOC = HUN
|bronze = [[Ryan Lochte]]
|bronzeNOC = USA
}}
Men's 400 metre individual medley
at the Games of the XXIX Olympiad
Michael Phelps Ryan Lochte Laszlo Cseh medals 2008 Olympics.jpg
Medal winners
Venue Beijing National Aquatics Center
Dates August 9 (heats)
August 10 (final)
Competitors 29 from 22 nations
Medalists
เหรียญทอง    สหรัฐอเมริกา
เหรียญเงิน    ฮังการี
เหรียญทองแดง    สหรัฐอเมริกา