![]() | This template is used on approximately 11,000 pages and changes may be widely noticed. Test changes in the template's /sandboxor/testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua:
|
This template family is used to display a small flag and name of a country, with a wikilink to the country's page for the specified multi-sport event.
Use {{Flag IOC}} for the Olympic Games.
{{flagXXX|code|games|athletes}}
<year> <games>
, or just <games>
<year> Summer
, <year> Winter
, or just Summer
orWinter
<year>
. See below for a full list of supported "shortcut" templatesIn addition to using historical flags when appropriate, the specific name of the games will be selected when appropriate.
{{flagIOC2|CHN|Asian Games}}
→ {{flagIOC2|CHN|2008 Asian Beach Games}}
→ {{flagIOC2|HKG|1954 Asian Games}}
→ {{flagIOC2|JPN|2009 Asian Indoor Games|100}}
→ {{flagIOC|USA}}
→ {{flagIOC|GER|Winter}}
→ {{flagIOC|ESP|2004 Summer}}
→ {{flagIOC|CAN|2006 Winter}}
→ {{flagIOC|CAN|1924 Winter}}
→ {{flagIOC|GRE|2004 Summer|441}}
→ {{flagIPC|GRE|2004 Summer|441}}
→ {{flagCGF|CAN}}
→ {{flagCGF|MAS|2006}}
→ {{flagCGF|AUS|1974}}
→ {{flagCGF|NZL|1962}}
→ {{flagCGF|IND|1934}}
→ {{flagCGF|SCO|2010|191}}
→ {{flagSEAGF|VIE|1973}}
→ {{flagSEAGF|MAS|1961}}
→ {{flagSEAGF|MYA|2013}}
→ {{flagSEAGF|VIE|2015|400}}
→ {{flagOCA|CHN}}
→ {{flagOCA|CHN|2010}}
→ {{FlagPASO|COL|2011}}
→ {{FlagPASO|BRA|2011|590}}
→ {{flagCAC|MEX|2010}}
→ {{flagIWGA|JPN|2017}}
→ {{flagEOC|ISR|2015}}
→ {{flagAFOC|EGY|2015}}
→ {{flagCIJM|ITA|2018}}
→ {{flagFISU|FRA|2019}}
→ {{country alias|AAA}}
where AAA is an IOC country code.{{country alias}}
Pages with many flag icons may come close to or exceed Wikipedia's Post-expand include size limit. In these cases consider {{#invoke:flag|IOC}}/{{#invoke:flag|IOC 2}} instead. For basic use, {{flag IOC|country|games}}
can be replaced with {{#invoke:flag|IOC|country|games}}
.
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}} |