Difference between revisions of "Template:Flagteam/doc"
Jump to navigation
Jump to search
imported>Andy M. Wang (→See also: {{Flag templates}}) |
imported>Zyxw (update examples) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> |
Displays a flag icon, country name, and country code in parentheses. The first input parameter is the three-letter country code, and the second (optional) parameter is the flag variant label, if necessary. This template is useful for sports results tables, for example, where country codes are often used to identify national teams. Use the optional <code>code</code> parameter when a country name is used to select the flag. | Displays a flag icon, country name, and country code in parentheses. The first input parameter is the three-letter country code, and the second (optional) parameter is the flag variant label, if necessary. This template is useful for sports results tables, for example, where country codes are often used to identify national teams. Use the optional <code>code</code> parameter when a country name is used to select the flag. | ||
| − | == | + | ==Examples== |
| − | + | {{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagteam|IRQ}}</nowiki>}} | |
| − | + | {{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagteam|SCO}}</nowiki>}} | |
| − | + | {{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagteam|GBR}}</nowiki>}} | |
| − | + | {{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagteam|CAN|1921}}</nowiki>}} | |
| + | {{nowiki template demo|format=inline|output=nowiki+|code=<nowiki>{{flagteam|FR Yugoslavia|code=YUG}}</nowiki>}} | ||
==See also== | ==See also== | ||
| Line 16: | Line 17: | ||
{{Flag templates}} | {{Flag templates}} | ||
| − | <includeonly><!-- | + | <includeonly>{{sandbox other|| |
| − | + | <!-- Categories below this line and interwikis at Wikidata --> | |
| − | [[Category:Flag template system | + | [[Category:Flag template system]] |
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 17:37, 16 September 2018
| This is a documentation subpage for Template:Flagteam. It contains usage information, categories and other content that is not part of the original template page. |
Displays a flag icon, country name, and country code in parentheses. The first input parameter is the three-letter country code, and the second (optional) parameter is the flag variant label, if necessary. This template is useful for sports results tables, for example, where country codes are often used to identify national teams. Use the optional code parameter when a country name is used to select the flag.
Examples
Template:Nowiki template demo Template:Nowiki template demo Template:Nowiki template demo Template:Nowiki template demo Template:Nowiki template demo
See also
- Template:Flagathlete for a similar template useful for individual names
- Template:Flag and Template:Flagicon for additional discussion about flag variations
- List of IOC country codes and List of FIFA country codes for some commonly used country codes
| Output style → | Country name | Country (code) | Athlete (country) | Athlete Country |
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}} | ||||
| "Nation at Championships"-style | {{Flaglinkteam}} | {{FlagATHCHathlete}} | |||
| Generic | {{Flag}} | {{Flagteam}} | {{Flagathlete}} | {{Flagmedalist}} | |
| Generic (variant) | {{Flaglink}} | {{Flaglinkmedalist}} | |||