Template:Navy
{{country data {{{1}}}
| navy/core | variant = | size = | name =
}}
Usage
Produces a flag icon attached to a wiki-linked "Xxxx National Navy" article, as appropriate for a given country.
- Syntax
{{navy|nation|variant}}
- Parameters
-
|nation=
– Use either the name of the nation or the three-letter ISO 3166-1 alpha-3 country code|variant=
(optional) – Specifies an alternate (historical) naval flag to use. This parameter is documented by the appropriate template in Category:Country data templates. Note that the standard behaviour of this template is to use thenaval
variant if present, so there is no need to specify this variant in the template call.|size=
(optional) – Can be used to change the flag icon size|name=
(optional) – Can be used to change the wikilink display text
Examples
- Algeria
{{navy|Algeria}}
→ Template:Country data Algeria
- Argentina
{{navy|Argentina}}
→ Template:Country data Argentina{{navy|Argentina|coast guard}}
→ Template:Country data Argentina
- Australia
{{navy|Australia|1913}}
→ Template:Country data Australia{{navy|Australia}}
→ Template:Country data Australia
- Belgium
{{navy|Belgium|state}}
→ Template:Country data Belgium (1831-1950){{navy|Belgium}}
→ Template:Country data Belgium
- Canada
{{navy|Canada}}
→ Template:Country data Canada{{navy|Canada|1921}}
→ Template:Country data Canada
- China
{{navy|Qing dynasty}}
→ Template:Country data Qing dynasty{{navy|CHN}}
→ Template:Country data CHN
- France
{{navy|Kingdom of France}}
→ Template:Country data Kingdom of France{{navy|France|naval-1790}}
→ Template:Country data France (1790-94){{navy|France}}
→ Template:Country data France{{navy|France}}
→ Template:Country data France{{navy|Free French}}
→ Template:Country data Free French
- Georgia
{{Navy|Georgia}}
→ Template:Country data Georgia{{navy|Georgia|coast guard}}
→ Template:Country data Georgia
- Germany
{{Navy|German Empire}}
→ Template:Country data German Empire{{navy|Weimar Republic}}
→ Template:Country data Weimar Republic{{Navy|Nazi Germany}}
→ Template:Country data Nazi Germany{{navy|East Germany}}
→ Template:Country data East Germany{{navy|DEU}}
→ Template:Country data DEU{{navy|DEU}}
→ Template:Country data DEU
- Iceland
{{navy|Iceland}}
→ Template:Country data Iceland
- India
{{navy|British Raj}}
→ Template:Country data British Raj{{navy|India}}
→ Template:Country data India
- Italy
{{navy|Kingdom of Italy}}
→ Template:Country data Kingdom of Italy{{navy|Italy}}
→ Template:Country data Italy
- Japan
{{navy|Japan}}
→ Template:Country data Japan{{navy|Empire of Japan}}
→ Template:Country data Empire of Japan
- Netherlands
{{navy|Netherlands}}
→ Template:Country data Netherlands
- New Zealand
{{navy|New Zealand|1941}}
→ Template:Country data New Zealand{{navy|New Zealand}}
→ Template:Country data New Zealand
- Norway
{{navy|NOR}}
→ Template:Country data NOR
- Panama
{{navy|Panama|1958}}
→ Template:Country data Panama{{navy|Panama|1984}}
→ Template:Country data Panama{{navy|Panama}}
→ Template:Country data Panama
- Russia/Soviet Union
{{navy|Russian Empire}}
→ Template:Country data Russian Empire{{navy|Soviet Union}}
→ Template:Country data Soviet Union{{navy|Soviet Union|1935}}
→ Template:Country data Soviet Union{{navy|Russia}}
→ Template:Country data Russia
- South Africa
{{navy|South Africa|1922}}
→ Template:Country data South Africa (1922 to 1946){{navy|South Africa|1946}}
→ Template:Country data South Africa (1946 to 1952){{navy|South Africa|1952}}
→ Template:Country data South Africa (1952 to 1981){{navy|South Africa|1981}}
→ Template:Country data South Africa (1981 to 1994){{navy|South Africa}}
→ Template:Country data South Africa (since 1994)
- Spain
{{navy|Spain|1506}}
→ Template:Country data Spain (1506 to 1701){{navy|Spain|1701}}
→ Template:Country data Spain (1701 to 1748){{navy|Spain|1748}}
→ Template:Country data Spain (1748 to 1785){{navy|Spain|1785}}
→ Template:Country data Spain (1785 to 1873){{navy|Spain|1873}}
→ Template:Country data Spain (1873 to 1931){{navy|Spanish Republic}}
→ Template:Country data Spanish Republic (1931 to 1938){{navy|Spain|1938}}
→ Template:Country data Spain (1938 to 1945){{navy|Spain|1945}}
→ Template:Country data Spain (1945 to 1977){{navy|Spain|1977}}
→ Template:Country data Spain (1977 to 1981){{navy|Spain}}
→ Template:Country data Spain (from 1981)
- Thailand
{{navy|Thailand}}
→ Template:Country data Thailand
- United Kingdom
{{navy|England}}
→ Template:Country data England (16th century to 1706){{navy|Kingdom of Great Britain}}
→ Template:Country data Kingdom of Great Britain (1707-1800){{navy|United Kingdom}}
→ Template:Country data United Kingdom (since 1801){{navy|United Kingdom|RFA}}
→ Template:Country data United Kingdom{{navy|United Kingdom|RMAS}}
→ Template:Country data United Kingdom
- United States
{{navy|USA|navy}}
→ Template:Country data USA{{navy|USA|1912}}
→ Template:Country data USA{{coast guard|USA|coast guard}}
→ Template:Country data USA
Related templates
The {{flagicon}} template can be used to display the naval flag by itself, using the naval
variant as a template parameter:
{{flagicon|UK|naval}}
→ Template:Country data UK{{flagicon|CHN|naval}}
→ Template:Country data CHN{{flagicon|Japan|naval}}
→ Template:Country data Japan{{flagicon|Nazi Germany|naval}}
→ Template:Country data Nazi Germany
Implementation notes
By default, this template shows the standard national flag for the selected country, following by a wikilink to "Country Navy". Both of these items can be changed by adding specific parameters to the appropriate country_data
template (complete set found in Category:Country data templates).
To use a different flag, such as the naval ensign for the nation, use:
|flag alias-naval=image name of naval ensign
To use a different name for the wikilinked navy article, use:
|link alias-naval=article name
TemplateData
TemplateData for Navy
Produces a flag icon attached to a wiki-linked "Xxxx National Navy" article, as appropriate for a given country.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Nation | nation 1 | The name of the nation or the three-letter ISO 3166-1 alpha-3 country code of the nation to which the navy in question belongs
| String | required |
Variant | variant 2 | Specifies an alternate (historical) naval flag to use. This parameter is documented by the appropriate template in [[Category:Country data templates]]. Note that the standard behaviour of this template is to use the naval variant if present, so there is no need to specify this variant in the template call.
| String | optional |
Size | size | Can be used to change the flag icon size | Unknown | optional |
Name | name | Can be used to change the wikilink display text | Unknown | optional |
See also
- Wikipedia:WikiProject Ships/Ensigns
- {{Naval}}
- {{Shipboxflag}}
- {{USN flag}}, providing U.S. Navy flags for any given year.