模板:Country data Ireland
这是Template:Country data Ireland的说明文件。它是由Template:Country showdata自动产生的。
Template:Country data Ireland为一系列模板的元模板,亦即本模版将用于构建其他模板,如flag、flagicon等等。请勿在条目中直接使用此模板。
| 此模板是维基百科专题:纹章及旗帜/旗帜模板的范围,此专题目的是维护、精进维基百科中的旗帜模板。 |
请在对此模板做任何变更后重新整理此页面。

基本参数
| 参数名称 | 参数值 | 含义 |
|---|---|---|
alias |
爱尔兰
| 主条目(爱尔兰) |
shortname alias |
愛爾蘭 |
(可选)alias是一个歧义名称时,显示的维基百科内部链接,如范例所示 |
flag alias |
Flag of Ireland.svg |
图片名称(File:Flag of Ireland.svg,显示在右方) |
旗帜变异
军事旗帜
此模板包括武装部队军旗的变体,可以使用Template:Armed forces:
{{Armed forces|Ireland}}→
爱尔兰{{flagicon|Ireland|military}}→
此模板包括陆军军旗的变体,可以使用Template:Army:
{{army|Ireland}}→
爱尔兰{{flagicon|Ireland|army}}→
此模板包括海军军旗的变体,可以使用Template:Navy:
{{navy|Ireland}}→
爱尔兰{{flagicon|Ireland|navy}}→
此模板包括海军舰艏旗的变体,可以使用Template:Naval:
{{naval|Ireland}}→
爱尔兰{{flagicon|Ireland|naval}}→
此模板包括海岸警卫队旗的变体,可以使用Template:Coast guard:
{{coast guard|Ireland}}→
爱尔兰{{flagicon|Ireland|coast guard}}→
此模板包括空军军旗的变体,可以使用Template:Air force:
{{air force|Ireland}}→
爱尔兰{{flagicon|Ireland|air force}}→
重定向模板
| 别称 | {{flag|別稱}}输出样貌 | {{flagicon|別稱}}输出样貌 |
|---|---|---|
IRE(显示) | ||
EIR(显示) | ||
IRL(显示) | ||
Republic of Ireland(显示) |
查看全部重定向。
使用范例
使用旗帜变异
{{flag|Ireland|1783}}→
爱尔兰{{flagicon|Ireland|1783}}→
使用重定向模板
相关模版
请参阅以下相关國家數據模板:
- Template:Country data Lordship of Ireland
爱尔兰领地 - Template:Country data Kingdom of Ireland
爱尔兰王国 - Template:Country data Confederate Ireland
爱尔兰邦联 - Template:Country data United Kingdom of Great Britain and Ireland
大不列颠及爱尔兰联合王国 - Template:Country data Southern Ireland (1921–1922)
南爱尔兰 - Template:Country data Irish Republic
爱尔兰共和国 - Template:Country data Irish Free State
爱尔兰自由邦 - Template:Country data Northern Ireland
北爱尔兰
其他资讯
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)
Sporting teams
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)
Use of country code aliases
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))
Incorrect usage
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}}→(Use
爱尔兰{{fh|IRE}}instead)
其他旗帜
军旗
| 标识 | 图片 (40px) |
|---|---|
| army | |
| air force | |
| coast guard | |
| military | |
| naval | |
| navy |
爱尔兰历史政权的旗帜
Country data系列模板同样可用于爱尔兰历史政权。
| Template:Country data Lordship of Ireland | 1171年—1542年 | |
| Template:Country data Kingdom of Ireland | 1542年-1800年 | |
| Template:Country data Confederate Ireland | 1642年—1649年 | |
| Template:Country data Irish Republic (1798) | 1798年 | |
| Template:Country data United Kingdom of Great Britain and Ireland | 1801年-1922年 | |
| Template:Country data Southern Ireland (1921–1922) | 1921年—1922年 | |
| Template:Country data Irish Republic | 1919年—1922年 | |
| Template:Country data Irish Free State | 1922年—1937年 |
爱尔兰省份
Country_data 系列模板同样可用于爱尔兰省份:
| Template:Country data Connacht | |
| Template:Country data Leinster | |
| Template:Country data Munster | |
| Template:Country data Ulster |