Template:Shipboxflag: Difference between revisions
Jump to navigation
Jump to search
m Changed protection level of Template:Shipboxflag: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite)) |
m 1 revision imported |
||
(No difference)
| |||
Latest revision as of 13:27, 19 July 2026
| This template is used on approximately 21,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
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 tonavalparameter will select the naval ensign, but for civil ships, this parameter may be omitted.
Examples
{{shipboxflag|United Kingdom|naval}}→{{shipboxflag|United Kingdom|civil}}→{{shipboxflag|Kingdom of Great Britain|naval}}→{{shipboxflag|Kingdom of Great Britain|civil}}→{{shipboxflag|United States}}→(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}}→
See also
- Wikipedia:WikiProject Ships/Ensigns
- {{Navy}}
- {{USN flag}} – for U.S. Navy vessels