Loading AI tools
维基媒体模板 来自维基百科,自由的百科全书
{{country data {{{1}}} | Coast guard/core | variant = | size = | name =
}}
Wiki markup | Displays | Notes |
---|---|---|
{{Coast guard|United States}} |
![]() |
Note that both instances link to United States Coast Guard. |
{{Coast guard|USA}} |
![]() | |
{{Coast guard|Germany}} |
![]() |
All three instances link to German Federal Coast Guard. In addition to the ISO country codes, those used by FIFA, IOC, etc. are also supported. |
{{Coast guard|DEU}} |
![]() | |
{{Coast guard|GER}} |
![]() | |
{{Coast guard|CAN|name=加拿大}} |
![]() |
The name parameter can be used to change the display string but keep the link to the correct article. |
{{Coast guard|USA|size=14px}} |
![]() |
The size parameter can be used to control the image dimensions. 23×15px is the default size for most countries (some entities have a different default size). |
{{Coast guard|USA|size=28px}} |
![]() |
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Country identifier | 1 | Common name of the country (e.g. 'United States'), a common alias (e.g. 'US'), or a standard country code | 字符串 | 必需 |
Variant | 2 | Identifies a coastguard flag variant to be used instead of the standard flag | 字符串 | 可选 |
Alternative text | name | Display alternative text instead of the standard country coastguard name | 字符串 | 可选 |
Maximum dimension | size | The maximum width or height, specified via standard image syntax (e.g. x30px) | 字符串 | 可选 |
This template is used to display a small flag variant icon next to a wikilinked name of a country's coastguard. It is a usable wrapper of the {{Coast guard/core}} template, which should not be accessed directly. It is built on the {{flag}} template.
{{Coast guard|country identifier|optional variant|name=alternative text string|size=maximum width and/or height of the flag image}}
See Wikipedia:WikiProject Flag Template for other flag-based templates.
上述文档嵌入自Template:Coast guard/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.