Template:Shipboxflag/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Message box|mbox}}

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 to <syntaxhighlight lang="text" enclose="none">naval</syntaxhighlight> parameter will select the naval ensign, but for civil ships, this parameter may be omitted.

Examples

See also