Jump to content

Шаблон:Infobox country Olympics/doc

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

This infobox is intended to be used indirectly on all the "Country at the year Olympics" pages. It is a meta-template that is used for the common layout of per-country infoboxes.

There are two sets of parameters for this infobox. Some will be common for all instances of a single country, so these are specified once in templates such as {{Infobox Olympics Greece}}. Others are specific for each Games, and would therefore be specified as parameters to the per-country template on individual pages such as Greece at the 1896 Summer Olympics.

NOC
three letter country code, as per List of IOC country codes
NOCname
name (or wikilink) to the article of this country's National Olympic Committee
website
external link to the NOC's website
oldcode
country code actually used at the specific Games, if different from the current one (e.g. HOL was used instead of NED for the Netherlands for many years)
games
year, plus "Summer" or "Winter", as in "2004 Summer" or "2006 Winter"
flagcaption
optional, replaces the default caption for the nation's flag, which is a wikilink to the appropriate "Flag of Country" article. This automatic link might not always work (for example [[Flag of the United Kingdom]] is most appropriate for GBR, instead of the automatically created caption of [[Flag of Great Britain]]
competitors
optional, if specified should be the number of competitors for the nation at the Games identified with the games argument
sports
optional, indicates the number of sports in which this nation had athletes compete at the specified Games
flagbearer
optional, indicates the name of the person(s) who served as flagbearer at the opening and/or closing ceremonies
officials
optional, indicates the number of officials the nation sent to the specified Games
gold
number of gold medals won, defaults to 0 if not specified
silver
number of silver medals won, defaults to 0 if not specified
bronze
number of bronze medals won, defaults to 0 if not specified
rank
optional, indicates the rank of the nation in the final medal count
summerappearances
optional, should be a list of links to other "Country at the year Summer Olympics" articles
winterappearances
optional, should be a list of links to other "Country at the year Winter Olympics" articles
otherappearances
optional, should be a list of links to other "Country at the year Olympics" articles, used to handle situations where athletes from a NOC had competed in another form (e.g. CZE used to be part of TCH)

The HTML mark-up produced by this template includes an hCard microformat that makes an organization's 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.

Subtemplates

Please do not remove instances of these subtemplates.

Classes used

The HTML classes this microformat uses include:

  • adr
  • agent
  • category
  • country-name
  • extended-address
  • fn
  • geo
  • label
  • latitude
  • locality
  • longitude
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard
Please do not rename or remove these classes
nor collapse nested elements which use them.