Template:Country data Great Britain: Difference between revisions
m (fix linking) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 03:27, 15 February 2024
File:Test Template Info-Icon - Version (2).svg Template documentation
Warning | This template is used on approximately 102,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. |
File:Exclamationdiamond.svg | Template:Country data Great Britain is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag , flagicon , and others. |
File:Information icon4.svg | 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) |
shortname alias |
Great Britain |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of the United Kingdom.svg |
Image name (File:Flag of the United Kingdom.svg, shown on right) |
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 |
---|---|---|
GBR (view) | File:Flag of the United Kingdom.svg GBR | File:Flag of the United Kingdom.svg Great Britain |
Great Britain and N.I. (view) | Template:Country data Great Britain and N.I. | Template:Country data Great Britain and N.I. |
See What links here for a full list of redirects.
Example usage
{{flag|Great Britain}}
→ File:Flag of the United Kingdom.svg Great Britain{{flagicon|Great Britain}}
→ United Kingdom{{flagcountry|Great Britain}}
→ File:Flag of the United Kingdom.svg Great Britain
Using a redirect alias
{{flagicon|GBR}}
→ United Kingdom{{flagcountry|GBR}}
→ File:Flag of the United Kingdom.svg Great Britain{{flag|GBR}}
→ File:Flag of the United Kingdom.svg GBR
Related templates
Please see the following related country_data
templates:
- Template:Country data United KingdomFile:Flag of the United Kingdom.svg United Kingdom
- Template:Country data Kingdom of Great BritainTemplate:Country data Kingdom of Great Britain
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data Great Britain in articles based on its TemplateData.
TemplateData for Country data Great Britain
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 |