Template:Country data United Kingdom
| This template is used on approximately 161,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Template:Country data United Kingdom is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flag icon, and others. |
| This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |

Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
United Kingdom |
Main article name (United Kingdom) |
flag alias |
Flag of the United Kingdom.svg |
Image name (File:Flag of the United Kingdom.svg, shown on right) |
Flag variants
Redirect aliases
| Alias name | {{flag|alias}} output | {{flag country|alias}} output |
|---|---|---|
UK (view) | Template:Country data UK | Template:Country data UK |
United Kingdom of Great Britain and Northern Ireland (view) | Template:Country data United Kingdom of Great Britain and Northern Ireland | Template:Country data United Kingdom of Great Britain and Northern Ireland |
U.K. (view) | Template:Country data U.K. | Template:Country data U.K. |
See What links here for a full list of redirects.
Example usage
{{flag|United Kingdom}}→
United Kingdom{{flag icon|United Kingdom}}→
Using a flag variant
{{flag|United Kingdom|civil}}→
United Kingdom{{flag icon|United Kingdom|civil}}→
Using a redirect alias
{{flag icon|UK}}→ Template:Country data UKTemplate:Namespace detect showall{{flag country|UK}}→ Template:Country data UK{{flag|UK}}→ Template:Country data UK
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|United Kingdom}}→ Template:Naval{{flag icon|United Kingdom|naval}}→
Template:Break
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|United Kingdom}}→ Template:Air force{{flag icon|United Kingdom|air force}}→
Template:Break
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|United Kingdom}}→ Template:Marines{{flag icon|United Kingdom|marines}}→
Template:Break
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|United Kingdom}}→ Template:Armed forces{{flag icon|United Kingdom|military}}→
Template:Break
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|United Kingdom}}→ Template:Navy{{flag icon|United Kingdom|navy}}→
Template:Break
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|United Kingdom}}→ Template:Coast guard{{flag icon|United Kingdom|coast guard}}→
Template:Break
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|United Kingdom}}→ Template:Army{{flag icon|United Kingdom|army}}→
Related templates
Please see the following related country_data templates:
- Template:Country data Great BritainTemplate:Country data Great Britain
- Template:Country data LondonTemplate:Country data London
- Template:Country data Kingdom of Great BritainTemplate:Country data Kingdom of Great Britain
- Template:Country data British EmpireTemplate:Country data British Empire
- Template:Country data United Kingdom of Great Britain and IrelandTemplate:Country data United Kingdom of Great Britain and Ireland
- Template:Country data Kingdom of EnglandTemplate:Country data Kingdom of England
- Template:Country data Kingdom of ScotlandTemplate:Country data Kingdom of Scotland
TemplateData
TemplateData for Country data United Kingdom
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||