ಟೆಂಪ್ಲೇಟು:Infobox Olympic games/doc
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Infobox Olympic games It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
This template's documentation is missing, inadequate, or does not accurately describe its functionality and/or the parameters in its code. Please help to expand and improve it. (January 2012) |
This ಟೆಂಪ್ಲೇಟು employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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}}
)
- Name of the city where the Games were hosted (values provided by sub-template
- Events
- Total number of events and sports contested at the Games (values provided by sub-template
{{Infobox Olympic games/events}}
)
- Total number of events and sports contested at the Games (values provided by sub-template
- Opening ceremony
- Date of the opening ceremony of the Games (values provided by sub-template
{{Infobox Olympic games/opening ceremony}}
)
- Date of the opening ceremony of the Games (values provided by sub-template
- Closing ceremony
- Date of the closing ceremony of the Games (values provided by sub-template
{{Infobox Olympic games/closing ceremony}}
)
- Date of the closing ceremony of the Games (values provided by sub-template
Example
ಬದಲಾಯಿಸಿHere is an example of the infobox displaying content about the 2000 Summer Olympics:
ಅತಿಥೇಯ ನಗರ | Los Angeles, ಕ್ಯಾಲಿಫೊರ್ನಿಯ, United States |
---|---|
ಭಾಗವಹಿಸುತ್ತಿರುವ ರಾಷ್ಟ್ರಗಳು | 144 |
ಭಾಗವಹಿಸುತ್ತಿರುವ ಕ್ರೀಡಾಪಟುಗಳು | 6,829 (5,263 men, 1,566 women) |
ಘಟನೆಗಳು | 221 in 21 sports |
ಉದ್ಘಾಟನಾ ಸಮಾರಂಭ | July 28 |
ಮುಕ್ತಾಯ ಸಮಾರಂಭ | August 12 |
ವಿದ್ಯುಕ್ತವಾಗಿ ಉದ್ಘಾಟಿಸಿದವರು | President Ronald Reagan |
ಕ್ರೀಡಾಪಟುವಿನ ಪ್ರಮಾಣ | Edwin Moses (athlete) |
ನ್ಯಾಯಾಧಿಕಾರಿಗಳ ಪ್ರಮಾಣ | Sharon Heber |
ಒಲಂಪಿಕ್ ಜ್ಯೋತಿ | Rafer Johnson (decathlete) |
ಕ್ರೀಡಾಂಗಣ | Los Angeles Memorial Coliseum |
{{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]] | athlete's_oath = [[Edwin Moses]] (athlete) | judge's_oath = Sharon Heber | Olympic_torch = [[Rafer Johnson]] (decathlete) }}
Microformat
ಬದಲಾಯಿಸಿThe HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.
- Classes used
The HTML classes of this microformat 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.