Template:Infobox sports competition event/doc

From The Democratikan Wiki
Revision as of 02:57, 15 February 2024 by Akarea (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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}}}]]
{{{caption}}}
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
gold medal 
gold medal 
gold medal 
silver medal 
silver medal 
silver medal 
bronze medal 
bronze medal 
bronze medal 
Champion
{{{champion}}}
Men{{{men}}}
Women{{{women}}}
Team{{{team}}}
← {{{previous}}}
{{{next}}} →
Without image_size
[[File:{{{image}}}|frameless|alt={{{alt}}}]]
{{{caption}}}

<syntaxhighlight lang="wikitext" style="overflow: auto;"> </syntaxhighlight>

Complete syntax

<syntaxhighlight lang="wikitext" style="overflow: auto;"> </syntaxhighlight>

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 Games of the XXIX Olympiad
File:Michael Phelps Ryan Lochte Laszlo Cseh medals 2008 Olympics.jpg
Medal winners
VenueBeijing National Aquatics Center
Dates
  • August 9 (heats)
  • August 10 (final)
Competitors29 from 22 nations
Medalists
gold medal   File:Flag of the United States.svg United States
silver medal   File:Flag of Hungary.svg Hungary
bronze medal   File:Flag of the United States.svg United States

<syntaxhighlight lang="wikitext" style="overflow: auto;">

Men's 400 metre individual medley
at the Games of the XXIX Olympiad
File:Michael Phelps Ryan Lochte Laszlo Cseh medals 2008 Olympics.jpg
Medal winners
VenueBeijing National Aquatics Center
Dates
  • August 9 (heats)
  • August 10 (final)
Competitors29 from 22 nations
Medalists
gold medal   File:Flag of the United States.svg United States
silver medal   File:Flag of Hungary.svg Hungary
bronze medal   File:Flag of the United States.svg United States

</syntaxhighlight>

Olympics, team event

Women's 4×100 metre medley relay
at the Games of the XXIV Olympiad
VenueBeijing National Aquatics Center
Medalists
gold medal 
silver medal 
bronze medal 

<syntaxhighlight lang="wikitext" style="overflow: auto;">

Women's 4×100 metre medley relay
at the Games of the XXIV Olympiad
VenueBeijing National Aquatics Center
Medalists
gold medal 
silver medal 
bronze medal 

</syntaxhighlight>

World Championships, individual event

Men's 400 metre freestyle
at the 2007 FINA World Championships
VenueRod Laver Arena
Date25 March 2007
Competitors79
Winning time3 minutes 44.30 seconds
Medalists
gold medal   File:Flag of South Korea.svg South Korea
silver medal   File:Flag of Australia (converted).svg Australia
bronze medal   File:Flag of Russia.svg Russia
← 2005
2009 →

<syntaxhighlight lang="wikitext" style="overflow: auto;">

Men's 400 metre freestyle
at the 2007 FINA World Championships
VenueRod Laver Arena
Date25 March 2007
Competitors79
Winning time3 minutes 44.30 seconds
Medalists
gold medal   File:Flag of South Korea.svg South Korea
silver medal   File:Flag of Australia (converted).svg Australia
bronze medal   File:Flag of Russia.svg Russia
← 2005
2009 →

</syntaxhighlight>

Pacific Games, team event

Rugby sevens – Women's tournament
at the 2015 Pacific Games
File:Rugby union pictogram.svg
VenueSir John Guise Stadium
LocationPort Moresby, Papua New Guinea
Dates8–10 July 2015
Nations7
Medalists
gold medal 
silver medal 
bronze medal 
← 2011

<syntaxhighlight lang="wikitext" style="overflow: auto;">

Rugby sevens – Women's tournament
at the 2015 Pacific Games
File:Rugby union pictogram.svg
VenueSir John Guise Stadium
LocationPort Moresby, Papua New Guinea
Dates8–10 July 2015
Nations7
Medalists
gold medal 
silver medal 
bronze medal 
← 2011

</syntaxhighlight>

Using competition without event

World Yo-Yo Contest
LocationCleveland, Ohio, United States
DatesAugust 4–7, 2016

<syntaxhighlight lang="wikitext" style="overflow: auto;">

World Yo-Yo Contest
LocationCleveland, Ohio, United States
DatesAugust 4–7, 2016

</syntaxhighlight>

Subtemplates

Tracking category

See also

Supporting templates

Similar templates