[[|]]
This template is used on approximately 2,200 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
{{flagmedalist|Athlete's name|Country code or name|optional flag variant|code=optional code value}}
Examples
{{flagmedalist|[[Michael Phelps]]|USA}}
|
Michael Phelps United States |
{{flagmedalist|[[Bjørn Dæhlie]]|NOR}}
|
Bjørn Dæhlie Norway |
{{flagmedalist|[[Nedo Nadi]]|ITA|1861}}
|
Nedo Nadi Italy |
{{flagmedalist|[[Elisabeta Lipă]]|ROU|1965}}
|
Elisabeta Lipă Romania |
{{flagmedalist|[[Daley Thompson]]|ENG}}
|
Daley Thompson England |
{{flagmedalist|[[Jasna Šekarić]]|FR Yugoslavia|code=YUG}}
|
Jasna Šekarić Yugoslavia |
Alternatives to avoid Wikipedia's Post-expand include size limit
Pages with many flag icons may come close to or exceed Wikipedia's Post-expand include size limit. In these cases consider using modules or module-wrapper templates instead:
- {{flagg}} is a simple wrapper for Module:Flagg: For basic use,
{{flagmedalist|[[athlete's name]]|country code or name}}
can be replaced with[[athlete's name]]<br/>{{flagg|unc|country code or name}}
. To use IOC country codes, replaceunc
withunci
. - {{#invoke:flag|medalist}} is a wrapper for Module:Flagg that can further reduce sizes when invoked directly. For basic use,
{{flagmedalist|athlete's name|country code or name}}
can be replaced with{{#invoke:flag|medalist|athlete's name|country code or name}}
. To use IOC country codes, add|opts=i
.
See also
- Template:Flagathlete for a similar template that renders output on a single line
- Template:FlagIOCmedalist for a similar template for use with athletes at the Olympics
- Template:Flag and Template:Flagicon for additional discussion about flag variations
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}} | ||