ข้ามไปเนื้อหา

แม่แบบ:กล่องข้อมูล กิจกรรมการแข่งขันกีฬา

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

การใช้งาน

[แก้]
{{{event}}}
ใน{{{competition}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|{{{alt}}}]]
{{{caption}}}
สนาม{{{venue}}}
ที่ตั้ง{{{location}}}
{{{date}}}
จำนวนนักกีฬา{{{competitors}}} คน จาก {{{nations}}} ประเทศ
ทีม{{{teams}}}
{{{win_label}}}{{{win_value}}}
เงินรางวัลทั้งหมด{{{prize_money}}}
เว็บไซต์{{{website}}}
ผู้ที่ได้รับเหรียญ
gold medal 
gold medal 
gold medal 
silver medal 
silver medal 
silver medal 
bronze medal 
bronze medal 
bronze medal 
Champion
{{{champion}}}
ชาย{{{men}}}
หญิง{{{women}}}
ทีม{{{team}}}
← {{{previous}}}
{{{next}}} →
Without image_size
[[File:{{{image}}}|frameless|alt={{{alt}}}|{{{alt}}}]]
{{{caption}}}
{{Infobox sports competition event
| 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

[แก้]
{{Infobox sports competition event
| event = <!--or: name-->
| competition = <!--or: championship, games-->
| governing_body = <!--IOC, PASO, CGF, SEAGF-->
| year = <!--or: IWGA year, PASO year, CGF year, 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 = 
| men_win_value =
| women = 
| women_win_value =
| team = 
| team_win_value = 
| wheelchair_men = <!-- for marathons and road races etc.-->
| wheelchair_men_win_value =
| wheelchair_women = 
| wheelchair_women_win_value =
| previous = <!--or: prev-->
| next = 
}}

Parameters

[แก้]
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.
champion
champions
men
women
wheelchair_men
wheelchair_women
optional parameters to add the names of the winning participants
men_win_value
women_win_value
wheelchair_men_win_value
wheelchair_women_win_value
optional parameters to add the winning performance (e.g. time, mark, score) of the winning participants
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

[แก้]

Olympics, individual event

[แก้]
Men's 400 metre individual medley
ในแม่แบบ:IOC year
Medal winners
สนามBeijing National Aquatics Center
วันที่
  • August 9 (heats)
  • August 10 (final)
จำนวนนักกีฬา29 คน จาก 22 ประเทศ
ผู้ที่ได้รับเหรียญ
gold medal   สหรัฐ
silver medal   ฮังการี
bronze medal   สหรัฐ
{{Infobox sports competition event
| 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

[แก้]
Women's 4×100 metre medley relay
ในแม่แบบ:IOC year
สนามBeijing National Aquatics Center
ผู้ที่ได้รับเหรียญ
gold medal 
silver medal 
bronze medal 
{{Infobox sports competition event
| 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

[แก้]
Men's 400 metre freestyle
ใน2007 FINA World Championships
สนามRod Laver Arena
25 March 2007
จำนวนนักกีฬา79
Winning time3 minutes 44.30 seconds
ผู้ที่ได้รับเหรียญ
gold medal    เกาหลีใต้
silver medal    ออสเตรเลีย
bronze medal    รัสเซีย
← 2005
2009 →
{{Infobox sports competition event
| 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

[แก้]
Rugby sevens – Women's tournament
ใน2015 Pacific Games
สนามSir John Guise Stadium
ที่ตั้งPort Moresby, Papua New Guinea
วันที่8–10 July 2015
ประเทศ7
ผู้ที่ได้รับเหรียญ
gold medal 
silver medal 
bronze medal 
← 2011
{{Infobox sports competition event
| 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

[แก้]
World Yo-Yo Contest
ที่ตั้งCleveland, Ohio, United States
วันที่August 4–7, 2016
{{Infobox sports competition event
| competition  = World Yo-Yo Contest
| location     = [[Cleveland]], Ohio, United States
| dates        = August 4–7, 2016
}}

Subtemplates

[แก้]

ดูเพิ่ม

[แก้]
Supporting templates
Similar templates