Loading AI tools
维基媒体模板 来自维基百科,自由的百科全书
参数名称 | 参数值 | 含义 |
---|---|---|
alias |
爱尔兰
| 主条目(爱尔兰) |
shortname alias |
愛爾蘭 |
(可选)alias是一个歧义名称时,显示的维基百科内部链接,如范例所示 |
flag alias |
Flag of Ireland.svg |
图片名称(File:Flag of Ireland.svg,显示在右方) |
这是Template:Country data Ireland的说明文件。它是由Template:Country showdata自动产生的。
Template:Country data Ireland
为一系列模板的元模板,亦即本模版将用于构建其他模板,如flag
、flagicon
等等。请勿在条目中直接使用此模板。
此模板是维基百科专题:纹章及旗帜/旗帜模板的范围,此专题目的是维护、精进维基百科中的旗帜模板。 |
请在对此模板做任何变更后重新整理此页面。
此模板包括武装部队军旗的变体,可以使用Template:Armed forces:
{{Armed forces|Ireland}}
→ 爱尔兰{{flagicon|Ireland|military}}
→ 此模板包括陆军军旗的变体,可以使用Template:Army:
此模板包括海军军旗的变体,可以使用Template:Navy:
此模板包括海军舰艏旗的变体,可以使用Template:Naval:
此模板包括海岸警卫队旗的变体,可以使用Template:Coast guard:
此模板包括空军军旗的变体,可以使用Template:Air force:
{{air force|Ireland}}
→ 爱尔兰{{flagicon|Ireland|air force}}
→ 查看全部重定向。
{{flag|Ireland|1783}}
→ 爱尔兰{{flagicon|Ireland|1783}}
→ 请参阅以下相关國家數據
模板:
This template is intended to be used for all-Ireland instances, usually resulting in a wikilink to Ireland (article about the island) instead of Republic of Ireland (article about the sovereign nation).
However, it is often convenient to use {{flagicon|Ireland}}
and {{flag|Ireland}}
instead of {{flagicon|Republic of Ireland}}
and {{flag|Republic of Ireland}}
respectively, so this template differs from the standard format in order to accommodate that usage. The alias
parameter changes depending on whether or not a flag variant is used by the parent template call:
alias = {{#if:{{{variant|}}}|Ireland|Ireland (state)}}
This results in
{{flag|Ireland|1783}}
→ 爱尔兰 (use for Ireland as part of United Kingdom of Great Britain and Ireland){{flag|Ireland}}
→ 爱尔兰 (use for current state)Also, several sport-specific flag variants are maintained here, and these are automatically used by the respective sport team templates:
{{fb|Ireland}}
→ 爱尔兰 (football, 1882–1922){{fh|Ireland}}
→ 爱尔兰 (field hockey){{rl|Ireland}}
→ 爱尔兰 (rugby league){{ih|Ireland}}
→ 爱尔兰 (ice hockey) — all-Ireland team that uses the tri-colour{{ru|Ireland}}
→ 爱尔兰 (rugby union)The standard country code for the Republic of Ireland is IRL, so it can be used as an alias for Template:Country data Republic of Ireland. The non-standard country code IRE is used as an alias for this template to provide similar convenience. For example:
{{flagicon|IRL}}
→ {{flagicon|IRE|1783}}
→ {{flagicon|IRE|4prov}}
→ {{fb|IRL}}
→ 爱尔兰 (links to Republic of Ireland national football team){{fb|IRE}}
→ 爱尔兰 (links to Ireland national football team (1882–1950))Do not use the IRL alias for all-Ireland sports team, and do not use the IRE alias without a flag variant specified. The following examples should not be used.
{{flagicon|IRE}}
→ (Works, but better to use the standard country code for IRL.){{fh|IRL}}
→ {{fh|IRE}}
instead)Country_data
templates are also available for each of the four traditional provinces of Ireland:
Template:Country data Connacht | 康诺特省 |
Template:Country data Leinster | 伦斯特省 |
Template:Country data Munster | 芒斯特省 |
Template:Country data Ulster | 阿尔斯特省 |
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.