Template:Flagathlete
From Wikipedia, the free encyclopedia
()
![]() | 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
{{flagathlete|Athlete's name|Country code or name|optional flag variant|code=optional code value}}
Examples
<nowiki>{{flagathlete|[[Michael Phelps]]|USA}}</nowiki>
→ {{flagathlete|[[Michael Phelps]]|USA}}'"`UNIQ--nowiki-00000003-QINU`"'
<nowiki>{{flagathlete|[[Bjørn Dæhlie]]|NOR}}</nowiki>
→ {{flagathlete|[[Bjørn Dæhlie]]|NOR}}'"`UNIQ--nowiki-00000005-QINU`"'
<nowiki>{{flagathlete|[[Nedo Nadi]]|ITA|1861}}</nowiki>
→ {{flagathlete|[[Nedo Nadi]]|ITA|1861}}'"`UNIQ--nowiki-00000007-QINU`"'
<nowiki>{{flagathlete|[[Elisabeta Lipă]]|ROU|1965}}</nowiki>
→ {{flagathlete|[[Elisabeta Lipă]]|ROU|1965}}'"`UNIQ--nowiki-00000009-QINU`"'
<nowiki>{{flagathlete|[[Daley Thompson]]|ENG}}</nowiki>
→ {{flagathlete|[[Daley Thompson]]|ENG}}'"`UNIQ--nowiki-0000000B-QINU`"'
<nowiki>{{flagathlete|[[Daley Thompson]]|GBR}}</nowiki>
→ {{flagathlete|[[Daley Thompson]]|GBR}}'"`UNIQ--nowiki-0000000D-QINU`"'
<nowiki>{{flagathlete|[[Werner Günthör]]|SUI}}</nowiki>
→ {{flagathlete|[[Werner Günthör]]|SUI}}'"`UNIQ--nowiki-0000000F-QINU`"'
<nowiki>{{flagathlete|[[Orukpe Erayokan]]|NIG}}</nowiki>
→ {{flagathlete|[[Orukpe Erayokan]]|NIG}}'"`UNIQ--nowiki-00000011-QINU`"'
<nowiki>{{flagathlete|[[Jasna Šekarić]]|FR Yugoslavia|code=YUG}}</nowiki>
→ {{flagathlete|[[Jasna Šekarić]]|FR Yugoslavia|code=YUG}}'"`UNIQ--nowiki-00000013-QINU`"'
Parameters
More information Parameter, Description ...
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 |
Close
See also
- 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
More information Output style →, Country name ...
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}} | ||
Close
The above documentation is transcluded from Template:Flagathlete/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.