משתמש:Sokuya/תבנית:מדינה במשחקים האולימפיים/תיעוד
{{תיעוד תבנית}} תבנית:Intricate template
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
- country
- name (or wikilink) to the article of this country's National Olympic Committee
- countryflag
- במידת הצורך במידה ושם הדגל שונה משם המדינה, משתמשים בו כמו בתבנית {{דגל}}, יש להזין את שם הדגל שיוצג.
- 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
- year of the games
- 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[עריכת קוד מקור | עריכה]