Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Syntax  





1.2  Parameters  







2 Examples  



2.1  Algeria  





2.2  Argentina  





2.3  Australia  





2.4  Belgium  





2.5  Canada  





2.6  China  





2.7  France  





2.8  Georgia  





2.9  Germany  





2.10  Iceland  





2.11  India  





2.12  Italy  





2.13  Japan  





2.14  Netherlands  





2.15  New Zealand  





2.16  Norway  





2.17  Panama  





2.18  Russia / Soviet Union  





2.19  South Africa  





2.20  Spain  





2.21  Thailand  





2.22  United Kingdom  





2.23  United States  







3 Related templates  





4 Implementation notes  





5 TemplateData  





6 See also  














Template:Navy






Anarâškielâ
العربية
Arpetan
تۆرکجه
Basa Bali

 / Bân-lâm-gú
Basa Banyumasan

Bikol Central
Български
Català
Čeština
Dansk
الدارجة

Español
فارسی
Føroyskt
Français
Galego
/Hak-kâ-ngî

Hausa
ि
Bahasa Hulontalo
Ilokano
Bahasa Indonesia
Italiano
Jawa

Kapampangan

Kurdî
Magyar
ि
Македонски
Malagasy

مصرى

Bahasa Melayu
 / Mìng-dĕ̤ng-nḡ



Norfuk / Pitkern
ି
Oʻzbekcha / ўзбекча

پنجابی
پښتو

Tok Pisin
Português
Română
Русиньскый

Scots

Simple English
سنڌي
Slovenščina
Soomaaliga
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Sunda
Suomi
Svenska
ி
Taqbaylit
 



Türkçe
Türkmençe
Українська
اردو
Vèneto
Tiếng Vit

Winaray

Yorùbá

Zazaki

 
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
Wikiversity
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


{{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|size=optional|name=optional}}

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.

Examples

Algeria

Argentina

Australia

Belgium

Canada

China

France

Georgia

Germany

Iceland

India

Italy

Japan

Netherlands

New Zealand

Norway

Panama

Russia / Soviet Union

South Africa

Spain

Thailand

United Kingdom

United States

The {{flag icon}} template can be used to display the naval flag by itself, using the naval variant as a template parameter:

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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Navy in articles based on its TemplateData.

TemplateData for Navy

Produces a flag icon attached to a wiki-linked "Xxxx National Navy" article, as appropriate for a given country.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Nationnation 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

Example
USA
Stringrequired
Variantvariant 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.

Example
coast guard
Stringoptional
Sizesize

Can be used to change the flag icon size

Unknownoptional
Namename

Can be used to change the wikilink display text

Unknownoptional

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Navy&oldid=1163650777"

Categories: 
Navy formatting templates
Ship templates
Flag template system
Hidden categories: 
Wikipedia template-protected templates
Templates using TemplateData
 



This page was last edited on 5 July 2023, at 22:42 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki