Jump to content

Template:Flag medalist/doc

From Wikipedia, the free encyclopedia

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, replace unc with unci.
  • {{#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]
Flag templates
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}}