Template:Flag: Difference between revisions
Jump to navigation
Jump to search
geometrydash.wiki.gg>Jamasto mNo edit summary |
geometrydash.wiki.gg>Jamasto mNo edit summary |
||
| Line 4: | Line 4: | ||
Available country flags can be seen in [[dev:Category:Country_flags|our Commons Wiki]]. | Available country flags can be seen in [[dev:Category:Country_flags|our Commons Wiki]]. | ||
== Usage == | == Usage == | ||
The template can be used with the following formatting: | The template can be used with the following formatting: {{t|Flag|code|legend}}, where: | ||
* <code>code</code> is the [[wikipedia:ISO 3166-1 alpha-2|ISO 3166-1 alpha-2]] code for the country flag. | * <code>code</code> is the [[wikipedia:ISO 3166-1 alpha-2|ISO 3166-1 alpha-2]] code for the country flag. | ||
* <code>Legend</code> is the legend displayed on hover (optional). | * <code>Legend</code> is the legend displayed on hover (optional). | ||
Revision as of 10:10, 25 June 2025
This formatting template allows you to display country flags inline.
Available country flags can be seen in our Commons Wiki.
Usage
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
| Code | Result |
|---|---|
{{flag|ca|Canada}} |