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}}
→ 22x20px Algerian National Navy
- Australia
{{navy|Argentina}}
→ 22x20px Argentine Navy{{navy|Argentina|coast guard}}
→ 22x20px Argentine Naval Prefecture
- Australia
{{navy|Australia|1913}}
→ 22x20px Royal Australian Navy{{navy|Australia}}
→ 22x20px Royal Australian Navy
- Belgium
{{navy|Belgium|state}}
→ 22x20px Belgian Marine Component (1831-1950){{navy|Belgium}}
→ 22x20px Belgian Marine Component
- Canada
{{navy|Canada}}
→ 22x20px Royal Canadian Navy{{navy|Canada|1921}}
→ 22x20px Royal Canadian Navy
- China
{{navy|Qing dynasty}}
→ 22x20px Imperial Chinese Navy{{navy|CHN}}
→ 22x20px People's Liberation Army Navy
- France
{{navy|Kingdom of France}}
→ 22x20px French Navy{{navy|France}}
→ 22x20px French Navy{{navy|France}}
→ 22x20px Marine Nationale{{navy|Free French}}
→ 22x20px Free French Naval Forces
- Georgia
{{Navy|Georgia}}
→ 22x20px Georgian Navy{{navy|Georgia|coast guard}}
→ 22x20px Coast Guard of Georgia
- Germany
{{Navy|German Empire}}
→ 22x20px Kaiserliche Marine{{navy|Weimar Republic}}
→ 22x20px Reichsmarine{{Navy|Nazi Germany}}
→ 22x20px Kriegsmarine{{navy|East Germany}}
→ 22x20px Volksmarine{{navy|DEU}}
→ File:Naval Ensign of Germany.svg German Navy{{navy|DEU}}
→ File:Naval Ensign of Germany.svg Deutsche Marine
- Iceland
{{navy|Iceland}}
→ File:Flag of Iceland (state).svg Icelandic Coast Guard
- India
{{navy|British Raj}}
→ 22x20px Royal Indian Navy{{navy|India}}
→ 22x20px Indian Navy
- Italy
{{navy|Kingdom of Italy}}
→ 22x20px Regia Marina{{navy|Italy}}
→ 22x20px Marina Militare
- Japan
{{navy|Japan}}
→ 22x20px Japan Maritime Self-Defense Force{{navy|Empire of Japan}}
→ 22x20px Imperial Japanese Navy
- Netherlands
{{navy|Netherlands}}
→ 22x20px Royal Netherlands Navy
- New Zealand
{{navy|New Zealand|1941}}
→ 22x20px Royal New Zealand Navy{{navy|New Zealand}}
→ 22x20px Royal New Zealand Navy
- Norway
{{navy|NOR}}
→ File:Flag of Norway, state.svg Royal Norwegian Navy
- Panama
{{navy|Panama|1958}}
→ 22x20px Panamanian National Guard{{navy|Panama|1984}}
→ 22x20px Panamanian Defense Forces{{navy|Panama}}
→ 22x20px Panamanian Public Forces
- Russia/Soviet Union
{{navy|Russian Empire}}
→ 22x20px Imperial Russian Navy{{navy|Soviet Union}}
→ 22x20px Soviet Navy{{navy|Russia}}
→ 22x20px Russian Navy
- South Africa
{{navy|South Africa|1922}}
→ 22x20px South African Navy (1922 to 1946){{navy|South Africa|1946}}
→ 22x20px South African Navy (1946 to 1952){{navy|South Africa|1952}}
→ 22x20px South African Navy (1952 to 1981){{navy|South Africa|1981}}
→ 22x20px South African Navy (1981 to 1994){{navy|South Africa}}
→ 22x20px South African Navy (since 1994)
- Spain
{{navy|Spain|1506}}
→ 22x20px Spanish Navy (1506 to 1701){{navy|Spain|1701}}
→ 22x20px Spanish Navy (1701 to 1748){{navy|Spain|1748}}
→ 22x20px Spanish Navy (1748 to 1785){{navy|Spain|1785}}
→ 22x20px Spanish Navy (1785 to 1873){{navy|Spain|1873}}
→ 22x20px Spanish Navy (1873 to 1931){{navy|Spanish Republic}}
→ 22x20px Spanish Republican Navy (1931 to 1938){{navy|Spain|1938}}
→ 22x20px Spanish Navy (1938 to 1945){{navy|Spain|1945}}
→ 22x20px Spanish Navy (1945 to 1977){{navy|Spain|1977}}
→ 22x20px Spanish Navy (1977 to 1981){{navy|Spain}}
→ 22x20px Spanish Navy (from 1981)
- Thailand
{{navy|Thailand}}
→ 22x20px Royal Thai Navy
- United Kingdom
{{navy|England}}
→ 22x20px Royal Navy (16th century to 1706)- {{flagicon|Kingdom of Great Britain|white}} [[Royal Navy]] → 23x15px Royal Navy (1707-1801) – DO NOT USE {{navy|Kingdom of Great Britain}}, which would produce 22x20px Royal Navy!
{{navy|United Kingdom}}
→ 22x20px Royal Navy{{navy|United Kingdom|RFA}}
→ 22x20px Royal Fleet Auxiliary{{navy|United Kingdom|RMAS}}
→ 22x20px Royal Maritime Auxiliary Service
- United States
{{navy|USA}}
→ 22x20px United States Navy{{navy|USA|1912}}
→ 22x20px United States Navy{{navy|USA|coast guard}}
→ 22x20px United States Coast Guard
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}}
→ 23x15px{{flagicon|CHN|naval}}
→ 23x15px{{flagicon|Japan|naval}}
→ 23x15px{{flagicon|Nazi Germany|naval}}
→ 23x15px
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
See also
- Wikipedia:WikiProject Ships/Ensigns
- {{Shipboxflag}}
- {{USN flag}}, providing U.S. Navy flags for any given year.
bn:টেমপ্লেট:Navy ko:틀:Navy tpi:Templet:Navy
The above documentation is transcluded from Template:Navy/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |