Template:Country data United Kingdom
| This template is used on approximately 81,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. 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, flagicon, 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
| Label | Flag image (40px) | Image name |
|---|---|---|
civil | File:Civil Ensign of the United Kingdom.svg | Civil Ensign of the United Kingdom.svg |
government | File:Government Ensign of the United Kingdom.svg | Government Ensign of the United Kingdom.svg |
naval-RFA | File:British-Royal-Fleet-Auxiliary-Ensign.svg | British-Royal-Fleet-Auxiliary-Ensign.svg |
naval-RMAS | File:British Royal Maritime Auxiliary Ensign.svg | British Royal Maritime Auxiliary Ensign.svg |
naval-RNLI | File:Flag of the Royal National Lifeboat Institution.svg | Flag of the Royal National Lifeboat Institution.svg |
1707 | File:Flag of Great Britain (1707–1800).svg | Flag of Great Britain (1707–1800).svg |
civil-air | File:Civil Air Ensign of the United Kingdom.svg | Civil Air Ensign of the United Kingdom.svg |
naval | File:Naval Ensign of the United Kingdom.svg | Naval Ensign of the United Kingdom.svg |
marines | File:Flag of the Royal Marines.svg | Flag of the Royal Marines.svg |
military | Flag of the United Kingdom (3-5).svg | |
coast guard | File:Flag of Her Majesty's Coastguard.svg | Flag of Her Majesty's Coastguard.svg |
navy | File:Naval Ensign of the United Kingdom.svg | Naval Ensign of the United Kingdom.svg |
air force | File:Ensign of the Royal Air Force.svg | Ensign of the Royal Air Force.svg |
army | File:Flag of the British Army.svg | Flag of the British Army.svg |
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
UK (view) | File:UK | Template:Flagcountry |
U.K. (view) | File:U.K. | Template:Flagcountry |
the United Kingdom (view) | File:The United Kingdom | Template:Flagcountry |
See What links here for a full list of redirects.
Example usage
{{flag|United Kingdom}}→ File:United Kingdom{{flagicon|United Kingdom}}→ Template:Flagicon
Using a flag variant
{{flag|United Kingdom|civil}}→ File:United Kingdom{{flagicon|United Kingdom|civil}}→ Template:Flagicon
Using a redirect alias
{{flagicon|UK}}→ Template:Flagicon{{flagcountry|UK}}→ Template:Flagcountry{{flag|UK}}→ File:UK
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|United Kingdom}}→ Template:Naval{{flagicon|United Kingdom|naval}}→ Template:FlagiconTemplate: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{{flagicon|United Kingdom|air force}}→ Template:FlagiconTemplate:Break
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|United Kingdom}}→ Template:Marines{{flagicon|United Kingdom|marines}}→ Template:FlagiconTemplate:Break
This template includes a marine ensign flag variant that can be used with Template:Armed forces:
{{Armed forces|United Kingdom}}→ Template:Armed forces{{flagicon|United Kingdom|military}}→ Template:FlagiconTemplate:Break
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|United Kingdom}}→ Template:Navy{{flagicon|United Kingdom|navy}}→ Template:FlagiconTemplate: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{{flagicon|United Kingdom|coast guard}}→ Template:FlagiconTemplate:Break
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|United Kingdom}}→ Template:Army{{flagicon|United Kingdom|army}}→ Template:Flagicon
Related templates
Please see the following related country_data templates:
- Template:Country data Great BritainFile:Great Britain
- Template:Country data Kingdom of Great BritainFile:Kingdom of Great Britain
- Template:Country data British EmpireFile:British Empire
- Template:Country data United Kingdom of Great Britain and IrelandFile:United Kingdom of Great Britain and Ireland
- Template:Country data Kingdom of EnglandFile:Kingdom of England
- Template:Country data Kingdom of ScotlandFile: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:Flagicon. 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 | ||||||