Template:Flag/doc
Appearance
This formatting template allows you to display country flags inline.
Available country flags can be seen in our Commons Wiki.
Usage[edit]
The template can be used with the following formatting: {{flag|code|Legend}}, where:
codeis the ISO 3166-1 alpha-2 code for the country flag.Legendis the legend displayed on hover (optional).
Examples[edit]
| Code | Result |
|---|---|
{{flag|ca|Canada}} |
File:Flag ca.svg |