टेम्पलेट:Navy

विकिपीडिया से
Jump to navigation Jump to search

{{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 the naval 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

उदाहरण[संपादन]

Algeria
  • {{navy|Algeria}} [[]]
Australia
Australia
Belgium
  • {{navy|Belgium|state}} [[]] (1831-1950)
  • {{navy|Belgium}} [[]]
Canada
  • {{navy|Canada}} [[]]
  • {{navy|Canada|1921}} [[]]
China
France
Georgia
  • {{Navy|Georgia}} [[]]
  • {{navy|Georgia|coast guard}} [[]]
Germany
  • {{Navy|German Empire}} [[]]
  • {{navy|Weimar Republic}} Reichsmarine
  • {{Navy|Nazi Germany}} Kriegsmarine
  • {{navy|East Germany}} Volksmarine
  • {{navy|DEU}} [[]]
  • {{navy|DEU}} [[|Deutsche Marine]]
Iceland
  • {{navy|Iceland}} [[]]
India
Italy
  • {{navy|Kingdom of Italy}} Regia Marina
  • {{navy|Italy}} [[]]
Japan
Netherlands
  • {{navy|Netherlands}} [[]]
New Zealand
  • {{navy|New Zealand|1941}} [[]]
  • {{navy|New Zealand}} [[]]
Norway
  • {{navy|NOR}} [[]]
Panama
  • {{navy|Panama|1958}} [[]]
  • {{navy|Panama|1984}} [[]]
  • {{navy|Panama}} [[]]
Russia/Soviet Union
South Africa
  • {{navy|South Africa|1922}} [[]] (1922 to 1946)
  • {{navy|South Africa|1946}} [[]] (1946 to 1952)
  • {{navy|South Africa|1952}} [[]] (1952 to 1981)
  • {{navy|South Africa|1981}} [[]] (1981 to 1994)
  • {{navy|South Africa}} [[]] (since 1994)
Spain
  • {{navy|Spain|1506}} [[]] (1506 to 1701)
  • {{navy|Spain|1701}} [[]] (1701 to 1748)
  • {{navy|Spain|1748}} [[]] (1748 to 1785)
  • {{navy|Spain|1785}} [[]] (1785 to 1873)
  • {{navy|Spain|1873}} [[]] (1873 to 1931)
  • {{navy|Spanish Republic}} Spanish Republican Navy (1931 to 1938)
  • {{navy|Spain|1938}} [[]] (1938 to 1945)
  • {{navy|Spain|1945}} [[]] (1945 to 1977)
  • {{navy|Spain|1977}} [[]] (1977 to 1981)
  • {{navy|Spain}} [[]] (from 1981)
Thailand
  • {{navy|Thailand}} [[]]
United Kingdom
United States

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}}यूनाइटेड किंगडम
  • {{flagicon|CHN|naval}}चीन
  • {{flagicon|Japan|naval}}जापान
  • {{flagicon|Nazi Germany|naval}}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 श्रे: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

इहो देखल जाय[संपादन]