Changes
Jump to navigation
Jump to search
Template:Flagteam/doc (view source)
Revision as of 17:37, 16 September 2018
, 17:37, 16 September 2018update examples
{{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.
==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==
*[[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
{{Flag templates}}
<includeonly>{{sandbox other||
<!-- Categories below this line and interwikis at Wikidata -->
[[Category:Flag template system]]
}}</includeonly>
<!-- 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.
==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==
*[[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
{{Flag templates}}
<includeonly>{{sandbox other||
<!-- Categories below this line and interwikis at Wikidata -->
[[Category:Flag template system]]
}}</includeonly>