Template:Flagu
Appearance
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
This template is used to display a small flag icon next to an unlinked country name. It is an alternative to the {{flag}} and {{flagcountry}} templates, for use in cases where the country name does not need to be linked.
Usage[change]
- {{flagu|country identifier|optional variant}}
- country identifier is the common name of the country (e.g. "United States"), a common alias (e.g. "US"), or a standard country code such as those listed at ISO 3166-1 alpha-3
- variant is an optional second parameter that can be used to display a flag variation, such as a historical flag. The list of variants for each country is documented on the appropriate template page, such as Template:Country data Germany
See the prefix index for the templates latently called by this one.
Examples[change]
Wiki markup | Displays |
---|---|
{{flagu|Germany}} |
File:Flag of Germany.svg Germany |
{{flagu|GER}} |
File:Flag of Germany.svg GER |
{{flagu|Germany|empire}} |
File:Flag of the German Empire.svg Germany |
{{flagu|German Empire}} |
File:Flag of the German Empire.svg German Empire |
Related templates[change]
- Template:Flagcountry—always expands the link text to the full country name.
- Template:Flagicon—displays the flag only.
- Template:Flagdeco—displays the flag only, but without alternative text for the image.