From Wikipedia, the free encyclopedia

Usage

{{flag link medalist|Athlete's name|Country code|optional link modifer|flag variant}}

The purpose of this template is to automatically provide a country link to a specific country page of a championships or games (for example United States at the 2012 Summer Olympics) on results articles for those competitions. The competition is derived automatically from the page title, so for example on the article Athletics at the 2012 Summer Olympics – Men's 100 metres a link will be automatically generated for "X at the 2012 Summer Olympics". The template will return any text in the title that is after " at the " and before " – ". Titles without those elements will be returned in full (e.g. 2015 World Championships in Athletics)

The optional link modifier is for athletics championships and should be a prefix to a competition named "...Championships in Athletics". For example, if "2013 World" is entered in this modifier, the outputted link will be for that country at the "2013 World Championships in Athletics".

Variants to the flag (for a country's historical flags, for example) can be generated by placing the variant code in the fourth field.

Examples

Note that the current page title is generated in the examples
{{flag link medalist|[[Michael Phelps]]|USA}} Michael Phelps
  United States (USA)
{{flag link medalist|[[Grete Waitz]]|NOR|2011 World}} Grete Waitz
  Norway (NOR)
{{flag link medalist|[[Nedo Nadi]]|ITA||1861}} Nedo Nadi
  Italy (ITA)
{{flag link medalist|[[Koji Murofushi]]|JPN|2013 Asian|naval}} Koji Murofushi
  Japan (JPN)
{{flag link medalist|[[Daley Thompson]]|ENG}} Daley Thompson
  England (ENG)

See also

Flag templates
Output style → Country name Country name (code) Athlete (country code) Athlete Country Name Country code
Olympic Games {{ Flag IOC}} {{ Flag IOC team}} {{ FlagIOCathlete}} {{ Flag IOC medalist}} {{ Flag IOC short}}
Other games {{ Flag IOC 2}} {{ FlagIOC2team}} {{ Flag IOC 2 athlete}} {{ Flag IOC 2 medalist}} {{ Flag IOC 2 short}}
Paralympic Games {{ Flag IPC}} {{ Flag IPC team}} {{ Flag IPC athlete}} {{ Flag IPC medalist}} {{ Flag IPC short}}
Pan American {{ Flag PASO}} {{ Flag PASO team}} {{ Flag PASO athlete}} {{ Flag PASO medalist}}
Parapan American {{ Flag PPASO}}
Commonwealth {{ Flag CGF}} {{ Flag CGF team}} {{ Flag CGF athlete}} {{ Flag CGF medalist}}
Southeast Asian {{ Flag SEAGF}} {{ Flag SEAGF team}} {{ Flag SEAGF athlete}} {{ Flag SEAGF medalist}}
World Games {{ Flag IWGA}}
Central American and Caribbean Games {{ Flag CAC}}
Asian Games {{ Flag OCA}}
European Games {{ Flag EOC}}
African Games {{ Flag AFOC}}
Mediterranean Games {{ FlagCIJM}}
Summer Universiade {{ FlagFISU}}
"Nation at Championships"-style {{ Flag link team}}
Generic {{ Flag}} {{ Flag team}} {{ Flag athlete}} {{ Flag medalist}}
Generic (variant) {{ Flag link}} {{ Flag link athlete}} {{ Flag link medalist}}


From Wikipedia, the free encyclopedia

Usage

{{flag link medalist|Athlete's name|Country code|optional link modifer|flag variant}}

The purpose of this template is to automatically provide a country link to a specific country page of a championships or games (for example United States at the 2012 Summer Olympics) on results articles for those competitions. The competition is derived automatically from the page title, so for example on the article Athletics at the 2012 Summer Olympics – Men's 100 metres a link will be automatically generated for "X at the 2012 Summer Olympics". The template will return any text in the title that is after " at the " and before " – ". Titles without those elements will be returned in full (e.g. 2015 World Championships in Athletics)

The optional link modifier is for athletics championships and should be a prefix to a competition named "...Championships in Athletics". For example, if "2013 World" is entered in this modifier, the outputted link will be for that country at the "2013 World Championships in Athletics".

Variants to the flag (for a country's historical flags, for example) can be generated by placing the variant code in the fourth field.

Examples

Note that the current page title is generated in the examples
{{flag link medalist|[[Michael Phelps]]|USA}} Michael Phelps
  United States (USA)
{{flag link medalist|[[Grete Waitz]]|NOR|2011 World}} Grete Waitz
  Norway (NOR)
{{flag link medalist|[[Nedo Nadi]]|ITA||1861}} Nedo Nadi
  Italy (ITA)
{{flag link medalist|[[Koji Murofushi]]|JPN|2013 Asian|naval}} Koji Murofushi
  Japan (JPN)
{{flag link medalist|[[Daley Thompson]]|ENG}} Daley Thompson
  England (ENG)

See also

Flag templates
Output style → Country name Country name (code) Athlete (country code) Athlete Country Name Country code
Olympic Games {{ Flag IOC}} {{ Flag IOC team}} {{ FlagIOCathlete}} {{ Flag IOC medalist}} {{ Flag IOC short}}
Other games {{ Flag IOC 2}} {{ FlagIOC2team}} {{ Flag IOC 2 athlete}} {{ Flag IOC 2 medalist}} {{ Flag IOC 2 short}}
Paralympic Games {{ Flag IPC}} {{ Flag IPC team}} {{ Flag IPC athlete}} {{ Flag IPC medalist}} {{ Flag IPC short}}
Pan American {{ Flag PASO}} {{ Flag PASO team}} {{ Flag PASO athlete}} {{ Flag PASO medalist}}
Parapan American {{ Flag PPASO}}
Commonwealth {{ Flag CGF}} {{ Flag CGF team}} {{ Flag CGF athlete}} {{ Flag CGF medalist}}
Southeast Asian {{ Flag SEAGF}} {{ Flag SEAGF team}} {{ Flag SEAGF athlete}} {{ Flag SEAGF medalist}}
World Games {{ Flag IWGA}}
Central American and Caribbean Games {{ Flag CAC}}
Asian Games {{ Flag OCA}}
European Games {{ Flag EOC}}
African Games {{ Flag AFOC}}
Mediterranean Games {{ FlagCIJM}}
Summer Universiade {{ FlagFISU}}
"Nation at Championships"-style {{ Flag link team}}
Generic {{ Flag}} {{ Flag team}} {{ Flag athlete}} {{ Flag medalist}}
Generic (variant) {{ Flag link}} {{ Flag link athlete}} {{ Flag link medalist}}



Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook