Šablon:FlagIOCathlete/dok

S Vikipedije, slobodne enciklopedije

Opis[uredi izvor]

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:

  • 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[uredi izvor]

{{FlagIOCathlete|athlete|code|games}}

athlete
Any text string, usually a wikilinked name. Could also be a pair of names, for example.
code
Three letter code as per Spisak MOK kodova po državama

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.

Primeri[uredi izvor]

{{flagIOCathlete|[[Марк Спиц]]|USA|Летњим олимпијским играма 1972.}}

 Mark Spic (USA)

{{flagIOCathlete|[[Ивана Шпановић]]|SRB|Европском првенству у атлетици на отвореном 2016.}}

 Ivana Španović (SRB)

{{flagIOCathlete|[[Борислава Перић|Борислава Перић - Ранковић]]|SRB|Летњим параолимпијским играма 2016.}}

 Borislava Perić - Ranković (SRB)

{{flagIOCathlete|[[Џејми Сал]] и [[Дејвид Пелетиер]]|CAN|Зимским олимпијским играма 2002.}}

 Džejmi Sal i Dejvid Peletier (CAN)

{{flagIOCathlete|[[Мирослав Церар]]|YUG|Летњим олимпијским играма 1968.}}

 Miroslav Cerar (YUG) ()