Template:Shipboxflag
外观
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 tonaval
parameter 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
上述文档嵌入自Template:Shipboxflag/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |