Bản mẫu:Shipboxflag
Usage
{{shipboxflag|nation|variant}}
Produces a larger flag icon, suitable for an image in the Ship flag parameter of Template:Infobox Ship Career.
- Parameters
- nation — Use either the name of the nation or the three-letter ISO 3166-1 alpha-3 country code
- variant (optional) — Specifies the flag to use. This parameter is documented by the appropriate template in Category:Country data templates. For many countries, the
navalparameter will select the naval ensign, but for civil ships, this parameter may be omitted.
Examples
- {{shipboxflag|United Kingdom|naval}} →
- {{shipboxflag|United Kingdom|civil}} → Tập tin:Civil Ensign of the United Kingdom.svg
- {{shipboxflag|Kingdom of Great Britain|naval}} → Tập tin:Naval Ensign of Great Britain (1707-1800).svg
- {{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}} → Tập tin:Flag of the United States Coast Guard.svg