Templeeti:Flag athlete
(25x17px)
| This template is used on approximately 37,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
[dezie ebe o si]{{Flag athlete|Athlete's name|Country code or name|optional flag variant|code=optional code value}}
Examples
[dezie ebe o si]Lua error in package.lua at line 80: module 'Module:Template test case/data' not found. Lua error in package.lua at line 80: module 'Module:Template test case/data' not found. Lua error in package.lua at line 80: module 'Module:Template test case/data' not found. Lua error in package.lua at line 80: module 'Module:Template test case/data' not found. Lua error in package.lua at line 80: module 'Module:Template test case/data' not found. Lua error in package.lua at line 80: module 'Module:Template test case/data' not found. Lua error in package.lua at line 80: module 'Module:Template test case/data' not found. Lua error in package.lua at line 80: module 'Module:Template test case/data' not found. Lua error in package.lua at line 80: module 'Module:Template test case/data' not found.
Parameters
[dezie ebe o si]TemplateData for Flag athlete
Generates an inline flag, followed by an athlete's name, followed by a country code.
| Oke | Nkọwa | Dee | Ọnọdụ | |
|---|---|---|---|---|
| Athlete's name | 1 | Name of the athlete. May be wikilinked. | Ọdịnaya | Achọrọ |
| Country code or name | 2 | Selects the country whose flag is to be shown.
| Eriri | Achọrọ |
| Variant | 3 variant | Selects the variant of the flag to be used; see Template:Flag.
| Eriri | Nhọrọ |
| Country code for display | code | The code to display after the name, if different to parameter 2, "Country code or name".
| Nke amaghị | Nhọrọ |
Alternatives to avoid Wikipedia's Post-expand include size limit
[dezie ebe o si]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 athlete|athlete's name|country code or name}}can be replaced with{{flagg|unaep|country code or name|preftext=athlete's name}}. To use IOC country codes, replaceunaepwithunaepi. - {{#invoke:flag|athlete}} is a wrapper for Module:Flagg that can further reduce sizes when invoked directly. For basic use,
{{Flag athlete|athlete's name|country code or name}}can be replaced with{{#invoke:flag|athlete|athlete's name|country code or name}}. To use IOC country codes, add|opts=i.
See also
[dezie ebe o si]- Template:Flag team, a similar template useful for entire teams instead of individual names
- Template:Flag medalist a similar template with expanded country names
- Template:Flag link medalist a similar template with expanded country names and country info on one line
- Template:Flag and Template:Flag icon for additional discussion about flag variations
- Template:Flag IOC athlete, a similar template for use with athletes at the Olympics
- Template:Flag link athlete, 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 | {{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}} |