Template:Shipboxflag/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Shipboxflag. It contains usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]Produces a larger flag icon, suitable for an image in the |Ship flag= parameter of {{Infobox Ship Career}}.
- Syntax
{{shipboxflag|nation|variant}}
- Parameters
-
|nation=– Use either the name of the nation or the three-letter ISO 3166-1 alpha-3 country code. Be sure that the country name is appropriate for the specific dates, by checking Wikipedia:WikiProject Ships/Ensigns.|variant=(optional) – Specifies the flag to use. This parameter is documented by the appropriate template in Category:Country data templates. For many countries, setting this field toparameter will select the naval ensign, but for civil ships, this parameter may be omitted.naval
Examples
[edit source]{{shipboxflag|United Kingdom|naval}}→ File:Naval Ensign of the United Kingdom.svg{{shipboxflag|United Kingdom|civil}}→ File:Civil Ensign of the United Kingdom.svg{{shipboxflag|Kingdom of Great Britain|naval}}→ File:British-Red-Ensign-1707.svg{{shipboxflag|Kingdom of Great Britain|civil}}→ File:Union flag 1606 (Kings Colors).svg{{shipboxflag|United States}}→ File:Flag of the United States Navy.svg (with no variant parameter specified, the standard national flag is used, which is also the naval ensign for some countries){{shipboxflag|United States|coast guard}}→ File:Ensign of the United States Coast Guard.svg
See also
[edit source]- Wikipedia:WikiProject Ships/Ensigns
- {{Navy}}
- {{USN flag}} – for U.S. Navy vessels