Template:Flagathlete/doc
This is a documentation subpage for Template:Flagathlete. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 27,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
lemba{{flagathlete|Athlete's name|Country code or name|optional flag variant|code=optional code value}}
Examples
lemba{{flagathlete|[[Michael Phelps]]|USA}}
→ Michael Phelps (USA)<span class="flagicon">[[File:Flag of the United States.svg|23x15px|border |alt=|link=]] </span>[[Michael Phelps]] <span style="font-size:90%;">(<abbr title="United States">USA</abbr>)</span>
{{flagathlete|[[Bjørn Dæhlie]]|NOR}}
→ Bjørn Dæhlie (NOR)<span class="flagicon">[[File:Flag of Norway.svg|23x15px|border |alt=|link=]] </span>[[Bjørn Dæhlie]] <span style="font-size:90%;">(<abbr title="Norway">NOR</abbr>)</span>
{{flagathlete|[[Nedo Nadi]]|ITA|1861}}
→ Nedo Nadi (ITA)<span class="flagicon">[[File:Flag of Italy (1861–1946).svg|23x15px|border |alt=|link=]] </span>[[Nedo Nadi]] <span style="font-size:90%;">(<abbr title="Italy">ITA</abbr>)</span>
{{flagathlete|[[Elisabeta Lipă]]|ROU|1965}}
→ Elisabeta Lipă (ROU)<span class="flagicon">[[File:Flag of Romania (1965-1989).svg|23x15px|border |alt=|link=]] </span>[[Elisabeta Lipă]] <span style="font-size:90%;">(<abbr title="Romania">ROU</abbr>)</span>
{{flagathlete|[[Daley Thompson]]|ENG}}
→ Daley Thompson (ENG)<span class="flagicon">[[File:Flag of England.svg|23x15px|border |alt=|link=]] </span>[[Daley Thompson]] <span style="font-size:90%;">(<abbr title="England">ENG</abbr>)</span>
{{flagathlete|[[Daley Thompson]]|GBR}}
→ Daley Thompson (GBR)<span class="flagicon">[[File:Flag of the United Kingdom.svg|23x15px|border |alt=|link=]] </span>[[Daley Thompson]] <span style="font-size:90%;">(<abbr title="Great Britain">GBR</abbr>)</span>
{{flagathlete|[[Werner Günthör]]|SUI}}
→ Werner Günthör (SUI)<span class="flagicon">[[File:Flag of Switzerland (Pantone).svg|23x16px|border |alt=|link=]] </span>[[Werner Günthör]] <span style="font-size:90%;">(<abbr title="Switzerland">SUI</abbr>)</span>
{{flagathlete|[[Orukpe Erayokan]]|NIG}}
→ Orukpe Erayokan (NIG)<span class="flagicon">[[File:Flag of Niger.svg|23x15px|border |alt=|link=]] </span>[[Orukpe Erayokan]] <span style="font-size:90%;">(<abbr title="Niger">NIG</abbr>)</span>
{{flagathlete|[[Jasna Šekarić]]|FR Yugoslavia|code=YUG}}
→ Jasna Šekarić (YUG)<span class="flagicon">[[File:Flag of Yugoslavia (1992–2003); Flag of Serbia and Montenegro (2003–2006).svg|23x15px|border |alt=|link=]] </span>[[Jasna Šekarić]] <span style="font-size:90%;">(<abbr title="FR Yugoslavia">YUG</abbr>)</span>
Parameters
lembaGenerates an inline flag, followed by an athlete's name, followed by a country code.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Athlete's name | 1 | Name of the athlete. May be wikilinked. | Content | required |
Country code or name | 2 | Selects the country whose flag is to be shown.
| String | required |
Variant | 3 variant | Selects the variant of the flag to be used; see Template:Flag.
| String | optional |
Country code for display | code | The code to display after the name, if different to parameter 2, "Country code or name".
| Unknown | optional |
See also
lemba- Template:Flagteam, a similar template useful for entire teams instead of individual names
- Template:Flagmedalist a similar template with expanded country names
- Template:FlagATHCHmedalist a similar template with expanded country names and country info on one line
- Template:Flag and Template:Flagicon for additional discussion about flag variations
- Template:FlagIOCathlete, a similar template for use with athletes at the Olympics
- Template:FlagATHCHathlete, a similar template to provide links to countries at editions of athletics championships
Output style → | Country name | Country Name (code) | Athlete (country code) | Athlete Country Name |
Country code |
---|---|---|---|---|---|
Olympic Games | {{FlagIOC}} | {{FlagIOCteam}} | {{FlagIOCathlete}} | {{FlagIOCmedalist}} | {{FlagIOCshort}} |
Other games | {{FlagIOC2}} | {{FlagIOC2team}} | {{FlagIOC2athlete}} | {{FlagIOC2medalist}} | {{FlagIOC2short}} |
Paralympic Games | {{FlagIPC}} | {{FlagIPCteam}} | {{FlagIPCathlete}} | {{FlagIPCmedalist}} | {{FlagIPCshort}} |
Pan American | {{FlagPASO}} | {{FlagPASOteam}} | {{FlagPASOathlete}} | {{FlagPASOmedalist}} | |
Parapan American | {{FlagPPASO}} | ||||
Commonwealth | {{FlagCGF}} | {{FlagCGFteam}} | {{FlagCGFathlete}} | {{FlagCGFmedalist}} | |
Southeast Asian | {{FlagSEAGF}} | {{FlagSEAGFteam}} | {{FlagSEAGFathlete}} | {{FlagSEAGFmedalist}} | |
World Games | {{FlagIWGA}} | ||||
Central American and Caribbean Games | {{FlagCAC}} | ||||
Asian Games | {{FlagOCA}} | ||||
European Games | {{FlagEOC}} | ||||
African Games | {{FlagAFOC}} | ||||
Mediterranean Games | {{FlagCIJM}} | ||||
Summer Universiade | {{FlagFISU}} | ||||
"Nation at Championships"-style | {{Flaglinkteam}} | ||||
Generic | {{Flag}} | {{Flagteam}} | {{Flagathlete}} | {{Flagmedalist}} | |
Generic (variant) | {{Flaglink}} | {{Flaglinkathlete}} | {{Flaglinkmedalist}} | ||