• Home
  • Random
  • Recent changes
  • Special pages
  • Community portal
  • Settings
  • About The Wiki Camp 2
  • Disclaimers
The Wiki Camp 2
  • Create account
  • Log in

Template:Country data United Kingdom

  • Template
  • Discussion
  • Language
  • Watch
  • View history
  • View source
    • What links here
    • Permanent link
    • Page information
Template documentation
WarningThis 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.

Contents

  • 1 Standard parameters
  • 2 Flag variants
  • 3 Redirect aliases
  • 4 Example usage
    • 4.1 Using a flag variant
    • 4.2 Using a redirect alias
  • 5 Military ensigns
  • 6 Related templates
  • 7 TemplateData

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
governmentFile:Government Ensign of the United Kingdom.svgGovernment Ensign of the United Kingdom.svg
naval-RFAFile:British-Royal-Fleet-Auxiliary-Ensign.svgBritish-Royal-Fleet-Auxiliary-Ensign.svg
naval-RMASFile:British Royal Maritime Auxiliary Ensign.svgBritish Royal Maritime Auxiliary Ensign.svg
naval-RNLIFile:Flag of the Royal National Lifeboat Institution.svgFlag of the Royal National Lifeboat Institution.svg
1707File:Flag of Great Britain (1707–1800).svgFlag of Great Britain (1707–1800).svg
civil-airFile:Civil Air Ensign of the United Kingdom.svgCivil Air Ensign of the United Kingdom.svg
navalFile:Naval Ensign of the United Kingdom.svgNaval Ensign of the United Kingdom.svg
marinesFile:Flag of the Royal Marines.svgFlag of the Royal Marines.svg
militaryFlag of the United Kingdom (3-5).svg
coast guardFile:Flag of Her Majesty's Coastguard.svgFlag of Her Majesty's Coastguard.svg
navyFile:Naval Ensign of the United Kingdom.svgNaval Ensign of the United Kingdom.svg
air forceFile:Ensign of the Royal Air Force.svgEnsign of the Royal Air Force.svg
armyFile:Flag of the British Army.svgFlag 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:UKTemplate:Flagcountry
U.K. (view)File:U.K.Template:Flagcountry
the United Kingdom (view)File:The United KingdomTemplate: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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified
This is the documentation for Template:Country data United Kingdom. It is automatically generated by Template:Country showdata.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please purge the cache after making any changes to this template.
Any categories should be added to the template's /doc subpage, which does not exist yet.
Retrieved from "https://camp2.rectangle.zone/index.php?title=Template:Country_data_United_Kingdom&oldid=8408"
Categories:
  • Templates using TemplateData
  • Uncategorized country data templates
  • All country data templates
Hidden category:
  • Pages with broken file links
Last edited on 11 September 2022, at 03:40

Languages

    This page is not available in other languages.

    The Wiki Camp 2
    • This page was last edited on 11 September 2022, at 03:40.
    • This page has been accessed 149 times.
    • Privacy policy
    • About The Wiki Camp 2
    • Disclaimers
    • Desktop