تضامنًا مع حق الشعب الفلسطيني |
قالب:FlagIOCathlete
This template is used to simplify creation of Olympic results articles. It expands upon the infrastructure developed for the {{علم لجنة أولمبية}} template to render the following additions to an athlete's name:
- flag icon for the athlete's nation before the name
- country code for the athlete's nation after the name
- wikilink from the country code to the appropriate "Nation at the year Olympics" article
Usage
{{FlagIOCathlete|athlete|code|games}}
أمثلة
{{FlagIOCathlete| [[مارك سبيتز]] | USA | الصيفية 1972 }}
{{FlagIOCathlete| [[Jamie Salé]] and [[David Pelletier]] | CAN | الشتوية 2002 }}
- Jamie Salé and David Pelletier (كندا)
{{FlagIOCathlete| [[نيدو نادي]] | ITA | الصيفية 1920 }}
(shows historical Italian flag in use in 1920)
For comparison, the output of {{FlagIOCmedalist| [[نيدو نادي]] | ITA | الصيفية 1920 }}
is:
Supporting templates
- The country name is supplied by
{{country alias|AAA}}
where AAA is an قائمة رموز بلدان اللجنة الأولمبية الدولية. - The flag image name is also supplied by
خطأ لوا في وحدة:Country_alias على السطر 165: Invalid country alias: {{{country}}}.
- For the complete country code list with related names and flags, see وحدة:Country alias
Template Data
بيانات قالب: «FlagIOCathlete»
This template is used to simplify creation of Olympic results articles. It expands upon the infrastructure developed for the FlagIOC template to render the following additions to an athlete's name: national flag icon before, and country code after with wikilink to the appropriate "«Nation» at the «year» Olympics" article.
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Athlete | 1 | Any content string; usually one athlete wikilinked, but could be two.
| محتوى | مطلوب |
Country code | 2 | Three letter code as per [[قائمة رموز بلدان اللجنة الأولمبية الدولية]].
| نص | مطلوب |
Games | 3 | String of the form "«year» Summer" or "«year» Winter". In combination with the country code, shows the historically correct flag.
| نص | مطلوب |
Note that the combination of code and games parameters will automatically choose the correct flag for the nation (including historical flags for nations in which they have changed over the years) and the correct wikilink to the nation's article.
طالع أيضًا
Output style → | Country name | Country (code) | Athlete (country) | Athlete Country |
Country code |
---|---|---|---|---|---|
الألعاب الأولمبية | {{FlagIOC}} | {{FlagIOCteam}} | {{FlagIOCathlete}} | {{FlagIOCmedalist}} | {{FlagIOCshort}} |
ألعاب أخرى | {{FlagIOC2}} | {{FlagIOC2team}} | {{FlagIOC2athlete}} | {{FlagIOC2medalist}} | {{FlagIOC2short}} |
ألعاب البارالمبية | {{FlagIPC}} | {{FlagIPCteam}} | {{FlagIPCathlete}} | {{FlagIPCmedalist}} | {{FlagIPCshort}} |
للبلدان الأمريكية | {{FlagPASO}} | {{FlagPASOteam}} | {{FlagPASOathlete}} | {{FlagPASOmedalist}} | |
أمريكية بارالمبية | {{FlagPPASO}} | ||||
الكومنولث | {{FlagCGF}} | {{FlagCGFteam}} | {{FlagCGFathlete}} | {{FlagCGFmedalist}} | |
جنوب شرق آسيا | {{FlagSEAGF}} | {{FlagSEAGFteam}} | {{FlagSEAGFathlete}} | {{FlagSEAGFmedalist}} | |
World Games | {{FlagIWGA}} | ||||
Central American and Caribbean Games | {{FlagCAC}} | ||||
Asian Games | {{FlagOCA}} | ||||
"Nation at Championships"-style | {{Flaglinkteam}} | {{FlagATHCHathlete}} | |||
Generic | {{علم}} | {{علم فريق}} | {{علم رياضي}} | {{Flagmedalist}} | |
Generic (variant) | {{وصلة علم}} | {{Flaglinkmedalist}} | |||