Шаблон:Infobox Olympic games
Зоҳир
This template's documentation is missing or does not accurately describe its functionality or the parameters in its code. Please help improve it. (January 2012) |
Рамз ва вижагиҳои ин шаблон печида аст.
Хоҳишмандем танҳо дар сурате, ки сохтори карди онро мефаҳмед ва омодагии рафъи ишколҳои эҳтимолиашро доред, онро тағйир диҳед. |
Usage
{{Infobox Olympic games|Year|Season| <!-- IMPORTANT: keep the pipe after "Season" on the same line for the template to work properly --> | image = <!-- internal link to the logo image file --> | alt = <!-- alternative text for the logo image --> | image_size = <!-- custom size for the logo image --> | caption = <!-- optional caption for the logo--> | motto = <!-- the motto/slogan of the Games --> | nations_participating = <!-- total number of participating National Olympic Committees (NOCs) --> | athletes_participating = <!-- total number of participating athletes --> | officially_opened_by = <!-- person who officially opened the Games --> | athlete's_oath = <!-- athlete who swore the Olympic Oath --> | judge's_oath = <!-- judge/official who swore the Olympic Oath --> | coach's_oath = <!-- coach who swore the Olympic Oath --> | Olympic_torch = <!-- last torch bearer --> }}
Some parameters are not customizable and display a default value according to mandatory parameters Year
and Season
:
- Host city
- Name of the city where the Games were hosted (values provided by sub-template {{Infobox Olympic games/host city}})
- Events
- Total number of events and sports contested at the Games (values provided by sub-template {{Infobox Olympic games/events}})
- Opening ceremony
- Date of the opening ceremony of the Games (values provided by sub-template {{Infobox Olympic games/opening ceremony}})
- Closing ceremony
- Date of the closing ceremony of the Games (values provided by sub-template {{Infobox Olympic games/closing ceremony}})
Example
Here is an example of the infobox displaying content about the 2000 Summer Olympics:
{{Infobox Olympic games|1984|Summer| <!-- Commented out: | image = 1984 Summer Olympics logo.svg --> | alt = | image_size = 250 | caption = Los Angeles 1984 Olympic Games official emblem | motto = | nations_participating = 144 | athletes_participating = 6,829 (5,263 men, 1,566 women) | events = 221 in 21 sports | officially_opened_by = [[President of the United States|President]] [[Ronald Reagan]] | officially_closed_by = | athlete's_oath = [[Edwin Moses]] (athlete) | judge's_oath = Sharon Heber | Olympic_torch = [[Rafer Johnson]] (decathlete) }}
Microformat
- Classes used
The HTML classes this microformat uses include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
Please do not rename or remove these classes
nor collapse nested elements which use them.
nor collapse nested elements which use them.