Template documentation

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.

File:Flag of the United Kingdom.svg

Standard parameters

Parameter nameValueMeaning
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

LabelFlag image (40px)Image name
civilFile:Civil Ensign of the United Kingdom.svgCivil Ensign of the United Kingdom.svg
governmentGovernment Ensign of the United Kingdom.svg
naval-RFABritish-Royal-Fleet-Auxiliary-Ensign.svg
naval-RMASBritish Royal Maritime Auxiliary Ensign.svg
naval-RNLIFlag of the Royal National Lifeboat Institution.svg
1707Flag of Great Britain (1707–1800).svg
navalFile:Naval Ensign of the United Kingdom.svgNaval Ensign of the United Kingdom.svg
marinesFlag of the Royal Marines.svg
militaryFlag of the United Kingdom (3-5).svg
coast guardFlag of Her Majesty's Coastguard.svg
air forceFile:Ensign of the Royal Air Force.svgEnsign of the Royal Air Force.svg
armyFlag of the British Army.svg

Military ensigns

This template includes a naval ensign flag variant that can be used with Template:Navy:

This template includes an air force ensign flag variant that can be used with Template:Air force:

This template includes a marine ensign flag variant that can be used with Template:Marines:

This template includes a marine ensign flag variant that can be used with Template:Armed forces:

  • {{Armed forces|United Kingdom}} British Armed Forces
  • {{flagicon|United Kingdom|military}}United Kingdom

This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:

This template includes an army ensign flag variant that can be used with Template:Army:

  • {{army|United Kingdom}} British Army
  • {{flagicon|United Kingdom|army}}United Kingdom

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:Flag of the United Kingdom.svg UKFile:Flag of the United Kingdom.svg United Kingdom
U.K. (view)File:Flag of the United Kingdom.svg U.K.File:Flag of the United Kingdom.svg United Kingdom
the United Kingdom (view)File:Flag of the United Kingdom.svg the United KingdomFile:Flag of the United Kingdom.svg United Kingdom

See What links here for a full list of redirects.

Example usage

Using a flag variant

Using a redirect alias

Related templates

Please see the following related country_data templates:


TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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 Bharatpedia:WikiProject Flag Template for further documentation.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified