Шаблон:Infobox sports competition event/doc

Мавод аз Википедиа — донишномаи озод

Purpose[вироиши манбаъ]

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[вироиши манбаъ]

{{Infobox sports competition event
| event        = 
| competition  = 
| image        = 
| alt          = 
| caption      = 
| venue        = 
| location     = 
| dates        = 
| competitors  = 
| nations      = 
| teams        = 
| win_value    = 
| gold         = 
| silver       = 
| bronze       = 
| goldNOC      = 
| silverNOC    = 
| bronzeNOC    = 
| prev         = 
| next         = 
}}

Complete syntax[вироиши манбаъ]

{{Infobox sports competition event
| event        = 
| competition  = 
| image        = 
| alt          = 
| caption      = 
| venue        = 
| venues       = 
| location     = 
| date         = 
| dates        = 
| competitors  = 
| nations      = 
| teams        = 
| win_label    = 
| win_value    = 
| gold         = 
| silver       = 
| bronze       = 
| goldNOC      = 
| silverNOC    = 
| bronzeNOC    = 
| gold2        = 
| silver2      = 
| bronze2      = 
| goldNOC2     = 
| silverNOC2   = 
| bronzeNOC2   = 
| gold3        = 
| silver3      = 
| bronze3      = 
| goldNOC3     = 
| silverNOC3   = 
| bronzeNOC3   = 
| prev         = 
| next         = 
}}

Parameters[вироиши манбаъ]

event
Required for infobox title
competition
championship
games
Name of the competition
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
Required 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.
goldNOC
goldNOC2
goldNOC3
silverNOC
silverNOC2
silverNOC3
bronzeNOC
bronzeNOC2
bronzeNOC3
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.
prev
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

Example[вироиши манбаъ]

{{Infobox sports competition event
| event       = Men's 400 metre individual medley
| games       = Games of the XXIX Olympiad
| image       = [[Image:Michael Phelps Ryan Lochte Laszlo Cseh medals 2008 Olympics.jpg|240px]]
| caption     = Medal winners
| venue       = [[Beijing National Aquatics Center]]
| dates       = {{Ubl|August 9 (heats)|August 10 (final)}}
| competitors = 29
| nations     = 22
| gold        = [[Michael Phelps]]
| goldNOC     = USA
| silver      = [[László Cseh]]
| silverNOC   = HUN
| bronze      = [[Ryan Lochte]]
| bronzeNOC   = USA
}}

See also[вироиши манбаъ]