Fyrimynd:Floti
Appearance
Fyri the template that changes text color, sí Template:Navy (color).
{{land dáta {{{1}}}
| navy/core | variant = | size = | name =
}}
Usage
[rætta wikitekst]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
[rætta wikitekst]- Algeria
{{navy|Algeria}}
→ Algerian National Navy
- Australia
{{navy|Argentina}}
→ Argentine Navy{{navy|Argentina|coast guard}}
→ Argentine Navy
- Australia
{{navy|Australia|1913}}
→ Royal Australian Navy{{navy|Australia}}
→ Royal Australian Navy
- Belgium
{{navy|Belgium|state}}
→ Belgian Navy (1831-1950){{navy|Belgium}}
→ Belgian Navy
- Canada
{{navy|Canada}}
→ Canadian Forces Maritime Command{{navy|Canada|1921}}
→ Canadian Forces Maritime Command
- China
{{navy|Qing dynasty}}
→ Fyrimynd:Land dáta Qing dynasty{{navy|CHN}}
→ People's Liberation Army Navy
- France
{{navy|Kingdom of France}}
→ French Navy{{navy|France}}
→ French Navy{{navy|France}}
→ Marine Nationale{{navy|Free French}}
→ Free French Naval Forces
- Georgia
{{Navy|Georgia}}
→ Georgian Navy{{navy|Georgia|coast guard}}
→ Georgian Navy
- Germany
{{Navy|German Empire}}
→ Kaiserliche Marine{{navy|Weimar Republic}}
→ Reichsmarine{{Navy|Nazi Germany}}
→ Kriegsmarine{{navy|East Germany}}
→ Fyrimynd:Land dáta East Germany{{navy|DEU}}
→ German Navy{{navy|DEU}}
→ Deutsche Marine
- Iceland
{{navy|Iceland}}
→ Icelandic Coast Guard
- India
{{navy|British Raj}}
→ Royal Indian Navy{{navy|India}}
→ Indian Navy
- Italy
{{navy|Kingdom of Italy}}
→ Regia Marina{{navy|Italy}}
→ Marina Militare
- Japan
{{navy|Japan}}
→ Japan Maritime Self-Defense Force{{navy|Empire of Japan}}
→ Imperial Japanese Navy
- Netherlands
{{navy|Netherlands}}
→ Royal Netherlands Navy
- New Zealand
{{navy|New Zealand|1941}}
→ Royal New Zealand Navy{{navy|New Zealand}}
→ Royal New Zealand Navy
- Norway
{{navy|NOR}}
→ Royal Norwegian Navy
- Panama
{{navy|Panama|1958}}
→ Panama Navy{{navy|Panama|1984}}
→ Panama Navy{{navy|Panama}}
→ Panama Navy
- Russia/Soviet Union
{{navy|Russian Empire}}
→ Imperial Russian Navy{{navy|Soviet Union}}
→ Fyrimynd:Land dáta Soviet Union{{navy|Russia}}
→ Russian Navy
- South Africa
{{navy|South Africa|1922}}
→ South African Navy (1922 to 1946){{navy|South Africa|1946}}
→ South African Navy (1946 to 1952){{navy|South Africa|1952}}
→ South African Navy (1952 to 1981){{navy|South Africa|1981}}
→ South African Navy (1981 to 1994){{navy|South Africa}}
→ South African Navy (since 1994)
- Spain
{{navy|Spain|1506}}
→ Spanish Navy (1506 to 1701){{navy|Spain|1701}}
→ Spanish Navy (1701 to 1748){{navy|Spain|1748}}
→ Spanish Navy (1748 to 1785){{navy|Spain|1785}}
→ Spanish Navy (1785 to 1873){{navy|Spain|1873}}
→ Spanish Navy (1873 to 1931){{navy|Spanish Republic}}
→ Fyrimynd:Land dáta Spanish Republic (1931 to 1938){{navy|Spain|1938}}
→ Spanish Navy (1938 to 1945){{navy|Spain|1945}}
→ Spanish Navy (1945 to 1977){{navy|Spain|1977}}
→ Spanish Navy (1977 to 1981){{navy|Spain}}
→ Spanish Navy (from 1981)
- Thailand
{{navy|Thailand}}
→ Royal Thai Navy
- United Kingdom
{{navy|England}}
→ Royal Navy (16th century to 1706)- {{flagicon|Kingdom of Great Britain|white}} [[Royal Navy]] → Royal Navy (1707-1801) – DO NOT USE {{navy|Kingdom of Great Britain}}, which would produce Royal Navy!
{{navy|United Kingdom}}
→ Royal Navy{{navy|United Kingdom|RFA}}
→ Royal Fleet Auxiliary{{navy|United Kingdom|RMAS}}
→ Royal Maritime Auxiliary Service
- United States
{{navy|USA}}
→ United States Navy{{navy|USA|1912}}
→ United States Navy{{navy|USA|coast guard}}
→ United States Coast Guard
Related templates
[rætta wikitekst]naval
variant as a template parameter:
{{flagicon|UK|naval}}
→{{flagicon|CHN|naval}}
→{{flagicon|Japan|naval}}
→{{flagicon|Nazi Germany|naval}}
→
Implementation notes
[rætta wikitekst]country_data
template (complete set found in Bólkur: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
[rætta wikitekst]- Wikipedia:WikiProject Ships/Ensigns
- {{Shipboxflag}}
- {{USN flag}}, providing U.S. Navy flags for any given year.
Dokumentatiónin omanfyri er tikin frá Fyrimynd:Floti/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |