ਫਰਮਾ:Infobox Country Olympics/doc
ਇਹ ਇੱਕ ਫਰਮਾ:Infobox Country Olympics ਲਈ documentation ਉਪ ਸਫ਼ਾ ਹੈ। ਇਸ ਵਿੱਚ ਵਰਤੋਂ ਦੀ ਜਾਣਕਾਰੀ, ਸ਼੍ਰੇਣੀਆਂ ਅਤੇ ਹੋਰ ਸਮੱਗਰੀ ਜੋ ਮੂਲ ਦਾ ਹਿੱਸਾ ਨਹੀਂ ਹੈ, ਸ਼ਾਮਲ ਹੈ। ਫਰਮਾ page. |
Usage
[ਸੋਧੋ]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.
Parameters
[ਸੋਧੋ]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)
Microformat
[ਸੋਧੋ]The HTML mark up produced by this template includes an hCard microformat, which makes the organisation's details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.
If the organisation has an "established", "founded", "opened" or similar date, use {{Start date}} (unless the date is before 1583 CE)
If the organisation has a URL, use {{URL}}
If the organisation has a "coordinates" field, use {{Coord}} to include a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit.
hCard uses HTML classes including:
- 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.