Template:Country data Great Britain: Difference between revisions
meta>Andrwsc change from redirect to new template with different shortname alias. This is to support sports teams that are named "Great Britain". Template:flagicon will still work with this as before. |
m 34 revisions imported |
||
(28 intermediate revisions by 9 users not shown) | |||
Line 1: | Line 1: | ||
{{ {{{1<noinclude>|country showdata</noinclude>}}} | {{safesubst<noinclude />: {{{1<noinclude>|country showdata</noinclude>}}} | ||
| alias | | alias = United Kingdom | ||
| shortname alias = Great Britain | | shortname alias = Great Britain | ||
| flag alias | | flag alias = Flag of the United Kingdom.svg | ||
| | | link alias-basketball = Great Britain {{{mw|}}} national {{{age|}}} basketball team | ||
| link alias-football = Great Britain {{{mw|}}} {{#ifeq:{{{mw|}}}|Olympic||Olympic}} football team | |||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| altlink = {{{altlink|}}} | | altlink = {{{altlink|}}} | ||
| altvar = {{{altvar|}}} | |||
<noinclude> | |||
| redir1 = GBR | |||
| redir2 = Great Britain and N.I. | |||
| related1 = United Kingdom | |||
| related2 = Kingdom of Great Britain | |||
</noinclude> | |||
}} | }} |
Latest revision as of 04:09, 3 September 2020
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.
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) | File:Flag of the United Kingdom.svg Great Britain and N.I. | File:Flag of the United Kingdom.svg Great Britain |
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 BritainFile:Union flag 1606 (Kings Colors).svg Kingdom of Great Britain
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 |