Difference between revisions of "Template:Flagteam/doc"

From blackwiki
Jump to navigation Jump to search
imported>Andrwsc
(add example)
imported>Tatasport
m
Line 17: Line 17:
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
[[Category:Flag template system|{{PAGENAME}}]]
 
[[Category:Flag template system|{{PAGENAME}}]]
 +
 +
[[id:Templat:Flagteam]]
 
</includeonly>
 
</includeonly>

Revision as of 03:21, 2 September 2011

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.

Usage examples

  • {{flagteam|IRQ}} Iraq (IRQ)
  • {{flagteam|SCO}} Scotland (SCO)
  • {{flagteam|CAN|1921}} Canada (CAN)
  • {{flagteam|FR Yugoslavia|code=YUG}} FR Yugoslavia (YUG)

See also