Template:Country data United Kingdom

From Wikispooks
Revision as of 09:18, 10 July 2016 by Robin (talk | contribs) (Text replacement - "Royal Navy" to "Royal Navy")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.

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
civil40pxCivil Ensign of the United Kingdom.svg
government40pxGovernment Ensign of the United Kingdom.svg
naval-RFA40pxBritish-Royal-Fleet-Auxiliary-Ensign.svg
naval-RMAS40pxBritish Royal Maritime Auxiliary Ensign.svg
naval40pxNaval Ensign of the United Kingdom.svg
air force40pxEnsign of the Royal Air Force.svg
army40pxFlag 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 an army ensign flag variant that can be used with Template:Army:

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) UK United Kingdom
the United Kingdom (view) the United Kingdom United Kingdom

See What links here for a full list of redirects.

Example usage

  • {{flag|United Kingdom}} United Kingdom
  • {{flagicon|United Kingdom}}United Kingdom

Using a flag variant

Using a redirect alias

  • {{flagicon|UK}}United Kingdom
  • {{flagcountry|UK}} United Kingdom
  • {{flag|UK}} UK

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

<templatedata> {

 "description": "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.",
 "params": {}

} </templatedata>