Template:Infobox sports competition event: Difference between revisions
Jump to navigation
Jump to search
(fix parameter style) |
m (1 revision imported) |
Latest revision as of 00:20, 27 July 2021
This template uses Lua: |
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.
Usage
{{{event}}} at the {{{competition}}} | |
---|---|
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]] | |
Venue | {{{venue}}} |
Location | {{{location}}} |
Date | {{{date}}} |
Competitors | {{{competitors}}} from {{{nations}}} nations |
Teams | {{{teams}}} |
{{{win_label}}} | {{{win_value}}} |
Total prize money | {{{prize_money}}} |
Website | {{{website}}} |
Medalists | |
Template:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrow | |
Champion | |
{{{champion}}} | |
Men | {{{men}}} |
Women | {{{women}}} |
Team | {{{team}}} |
Without image_size | |
---|---|
[[File:{{{image}}}|frameless|alt={{{alt}}}]] |
{{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 at the Template:IOC year | |
---|---|
Venue | Beijing National Aquatics Center |
Dates |
|
Competitors | 29 from 22 nations |
Medalists | |
Template:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrow |
{{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 at the Template:IOC year | |
---|---|
Venue | Beijing National Aquatics Center |
Medalists | |
Template:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrow |
{{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 at the 2007 FINA World Championships | |
---|---|
Venue | Rod Laver Arena |
Date | 25 March 2007 |
Competitors | 79 |
Winning time | 3 minutes 44.30 seconds |
Medalists | |
Template:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrow | |
{{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 at the 2015 Pacific Games | |
---|---|
Venue | Sir John Guise Stadium |
Location | Port Moresby, Papua New Guinea |
Dates | 8–10 July 2015 |
Nations | 7 |
Medalists | |
Template:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrowTemplate:Infobox sports competition event/medalrow | |
{{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 | |
---|---|
Location | Cleveland, Ohio, United States |
Dates | August 4–7, 2016 |
{{Infobox sports competition event | competition = World Yo-Yo Contest | location = [[Cleveland]], Ohio, United States | dates = August 4–7, 2016 }}
Subtemplates
See also
- Supporting templates
- Similar templates