Difference between revisions of "Template:Shipboxflag"
From Wiki
m (Changed protection level of Template:Shipboxflag: allow template editors to modify ([Edit=Protected template] (indefinite) [Move=Protected template] (indefinite))) |
m (1 revision) |
(No difference)
|
Latest revision as of 23:20, 1 February 2014
100x35pxUsage
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 tonaval
parameter will select the naval ensign, but for civil ships, this parameter may be omitted.
Examples
{{shipboxflag|United Kingdom|naval}}
→ 100x35px{{shipboxflag|United Kingdom|civil}}
→ 100x35px{{shipboxflag|Kingdom of Great Britain|naval}}
→ 100x35px{{shipboxflag|Kingdom of Great Britain|civil}}
→ 100x35px{{shipboxflag|United States}}
→ 100x35px (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}}
→ 100x35px
See also
- Wikipedia:WikiProject Ships/Ensigns
- {{Navy}}
- {{USN flag}} – for U.S. Navy vesselsbn:টেমপ্লেট:Shipboxflag
The above documentation is transcluded from Template:Shipboxflag/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |