Template:Country data United Kingdom: Difference between revisions
Richardpruen (talk | contribs) m 1 revision imported: Templates and CSS files |
imported>Paine Ellsworth per edit request on talk page - update to include all flag and link variants |
||
Line 2: | Line 2: | ||
| alias = United Kingdom | | alias = United Kingdom | ||
| flag alias = Flag of the United Kingdom.svg | | flag alias = Flag of the United Kingdom.svg | ||
| flag alias-1707 = Naval ensign of Great Britain (1707–1800).svg | |||
| flag alias-air force = Ensign of the Royal Air Force.svg | |||
| flag alias-army = Flag of the British Army.svg | |||
| flag alias-civil = Civil Ensign of the United Kingdom.svg | | flag alias-civil = Civil Ensign of the United Kingdom.svg | ||
| flag alias-civil-air = Civil Air Ensign of the United Kingdom.svg | | flag alias-civil-air = Civil Air Ensign of the United Kingdom.svg | ||
| flag alias-coast guard = Flag of Her Majesty's Coastguard.svg | |||
| flag alias-consulate = UK-Consular.svg | |||
| flag alias-embassy = British Ambassador Ensign.svg | |||
| flag alias-government = Government Ensign of the United Kingdom.svg | | flag alias-government = Government Ensign of the United Kingdom.svg | ||
| flag alias-marines = Flag of the Royal Marines.svg | |||
| flag alias-military = Flag of the United Kingdom (3-5).svg | |||
| flag alias-naval = Naval Ensign of the United Kingdom.svg | | flag alias-naval = Naval Ensign of the United Kingdom.svg | ||
| flag alias-GS = Government Service Ensign.svg | |||
| flag alias-merchant = Civil Ensign of the United Kingdom.svg | |||
| flag alias-RFA = British-Royal-Fleet-Auxiliary-Ensign.svg | |||
| flag alias-RMAS = British Royal Maritime Auxiliary Ensign.svg | |||
| flag alias-RNLI = Flag of the Royal National Lifeboat Institution.svg | |||
| flag alias-naval-1707 = Naval ensign of Great Britain (1707–1800).svg | |||
| flag alias-naval-GS = Government Service Ensign.svg | |||
| flag alias-naval-merchant = Civil Ensign of the United Kingdom.svg | |||
| flag alias-naval-RFA = British-Royal-Fleet-Auxiliary-Ensign.svg | | flag alias-naval-RFA = British-Royal-Fleet-Auxiliary-Ensign.svg | ||
| flag alias-naval-RMAS = British Royal Maritime Auxiliary Ensign.svg | | flag alias-naval-RMAS = British Royal Maritime Auxiliary Ensign.svg | ||
| flag alias-naval-RNLI = Flag of the Royal National Lifeboat Institution.svg | | flag alias-naval-RNLI = Flag of the Royal National Lifeboat Institution.svg | ||
| flag alias-navy = Naval Ensign of the United Kingdom.svg | |||
| flag alias- | |||
| link alias-air force = Royal Air Force | | link alias-air force = Royal Air Force | ||
| link alias-army = British Army | | link alias-army = British Army | ||
| | | link alias-coast guard = His Majesty's Coastguard | ||
| link alias-marines = Corps of Royal Marines | |||
| link alias-military = British Armed Forces | | link alias-military = British Armed Forces | ||
| | | link alias-naval = {{#switch:{{{variant|}}} | ||
| | | #default = Royal Navy | ||
| | | merchant|merchant = Merchant Navy (United Kingdom){{!}}Merchant Navy | ||
| | | reserve|reserve = Royal Naval Reserve | ||
| | | RFA|RFA = Royal Fleet Auxiliary | ||
| | | RMAS|RMAS = Royal Maritime Auxiliary Service | ||
| RNLI|RNLI = Royal National Lifeboat Institution | |||
| naval-merchant|naval-merchant = Merchant Navy (United Kingdom){{!}}Merchant Navy | |||
| naval-reserve|naval-reserve = Royal Naval Reserve | |||
| naval-RFA|naval-RFA = Royal Fleet Auxiliary | |||
| naval-RMAS|naval-RMAS = Royal Maritime Auxiliary Service | |||
| naval-RNLI|naval-RNLI = Royal National Lifeboat Institution | |||
}} | |||
| link alias-navy = {{#switch:{{{variant|}}} | |||
| #default = Royal Navy | |||
| merchant|merchant = Merchant Navy (United Kingdom){{!}}Merchant Navy | |||
| reserve|reserve = Royal Naval Reserve | |||
| RFA|RFA = Royal Fleet Auxiliary | |||
| RMAS|RMAS = Royal Maritime Auxiliary Service | |||
| RNLI|RNLI = Royal National Lifeboat Institution | |||
| naval-merchant|naval-merchant = Merchant Navy (United Kingdom){{!}}Merchant Navy | |||
| naval-reserve|naval-reserve = Royal Naval Reserve | |||
| naval-RFA|naval-RFA = Royal Fleet Auxiliary | |||
| naval-RMAS|naval-RMAS = Royal Maritime Auxiliary Service | |||
| naval-RNLI|naval-RNLI = Royal National Lifeboat Institution | |||
}} | |||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{#ifeq:{{{name|}}}|Britain|United Kingdom|{{{name|}}}}} | | name = {{#ifeq:{{{name|}}}|Britain|United Kingdom|{{{name|}}}}} | ||
Line 38: | Line 64: | ||
| var1 = civil | | var1 = civil | ||
| var2 = government | | var2 = government | ||
| var3 = | | var3 = 1707 | ||
| | | var4 = civil-air | ||
| | | var5 = embassy | ||
| | | var6 = consulate | ||
| | | var7 = GS | ||
| | | var8 = merchant | ||
| | | var9 = RFA | ||
| var10 = RMAS | |||
| var11 = RNLI | |||
| var12 = naval-1707 | |||
| var13 = naval-GS | |||
| var14 = naval-merchant | |||
| var15 = naval-RFA | |||
| var16 = naval-RMAS | |||
| var17 = naval-RNLI | |||
| redir1 = UK | | redir1 = UK | ||
| redir2 = U.K. | | redir2 = U.K. |
Latest revision as of 15:10, 7 February 2023
This template is used on approximately 140,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 , 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
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) | ||
U.K. (view) | ||
the United Kingdom (view) |
See What links here for a full list of redirects.
Example usage
{{flag|United Kingdom}}
→United Kingdom
{{flagicon|United Kingdom}}
→
Using a flag variant
{{flag|United Kingdom|civil}}
→United Kingdom
{{flagicon|United Kingdom|civil}}
→
Using a redirect alias
{{flagicon|UK}}
→{{flagcountry|UK}}
→United Kingdom
{{flag|UK}}
→UK
Military ensigns
This template includes a naval flag variant that can be used with Template:Naval:
{{naval|United Kingdom}}
→Royal Navy
{{flagicon|United Kingdom|naval}}
→
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|United Kingdom}}
→Royal Air Force
{{flagicon|United Kingdom|air force}}
→
This template includes a marine ensign flag variant that can be used with Template:Marines:
{{marines|United Kingdom}}
→Corps of Royal Marines
{{flagicon|United Kingdom|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}}
→
This template includes an ensign flag variant that can be used with Template:Navy:
{{navy|United Kingdom}}
→Royal Navy
{{flagicon|United Kingdom|navy}}
→
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:
{{coast guard|United Kingdom}}
→His Majesty's Coastguard
{{flagicon|United Kingdom|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}}
→
Related templates
Please see the following related country_data
templates:
- Template:Country data Great Britain
Great Britain
- Template:Country data Kingdom of Great Britain
Kingdom of Great Britain
- Template:Country data British Empire
British Empire
- Template:Country data United Kingdom of Great Britain and Ireland
United Kingdom of Great Britain and Ireland
- Template:Country data Kingdom of England
Kingdom of England
- Template:Country data Kingdom of Scotland
Kingdom of Scotland
Other information
Country_data templates are also available for the following subdivisions and dependencies of the United Kingdom:
Constituent countries
Template:Country data England | |
Template:Country data Northern Ireland | |
Template:Country data Scotland | |
Template:Country data Wales |
Crown Dependencies
Template:Country data Guernsey | |
Template:Country data Isle of Man | |
Template:Country data Jersey |
British Overseas Territories
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 |