Template:Flag medalist/doc
Appearance
This is a documentation subpage for Template:Flag medalist. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 2,400 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
[edit]{{Flag medalist|Athlete's name|Country code or name|optional flag variant|code=optional code value}}
Examples
[edit]{{Flag medalist|[[Michael Phelps]]|USA}}
|
Michael Phelps United States |
{{Flag medalist|[[Bjørn Dæhlie]]|NOR}}
|
Bjørn Dæhlie Norway |
{{Flag medalist|[[Nedo Nadi]]|ITA|1861}}
|
Nedo Nadi Italy |
{{Flag medalist|[[Elisabeta Lipă]]|ROU|1965}}
|
Elisabeta Lipă Romania |
{{Flag medalist|[[Daley Thompson]]|ENG}}
|
Daley Thompson England |
{{Flag medalist|[[Jasna Šekarić]]|FR Yugoslavia|code=YUG}}
|
Jasna Šekarić Yugoslavia |
Alternatives to avoid Wikipedia's Post-expand include size limit
[edit]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,
{{Flag medalist|[[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,
{{Flag medalist|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
[edit]- Template:Flag athlete for a similar template that renders output on a single line
- Template:Flag IOC medalist for a similar template for use with athletes at the Olympics
- Template:Flag and Template:Flag icon for additional discussion about flag variations
Output style → | Country name | Country name (code) | Athlete (country code) | Athlete Country Name | Country code |
---|---|---|---|---|---|
Olympic Games | {{Flag IOC}} | {{Flag IOC team}} | {{Flag IOC athlete}} | {{Flag IOC medalist}} | {{Flag IOC short}} |
Other games | {{Flag IOC 2}} | {{Flag IOC 2 team}} | {{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 | {{Flag CIJM}} | ||||
Summer Universiade | {{Flag FISU}} | ||||
"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}} |