模板:Country data Ireland
这是Template:Country data Ireland的说明文件。它是由Template:Country showdata自动产生的。
Template:Country data Ireland为一系列模板的元模板,亦即本模版将用于构建其他模板,如flag、flagicon等等。请勿在条目中直接使用此模板。
| File:Information icon4.svg | 此模板是维基百科专题:纹章及旗帜/旗帜模板的范围,此专题目的是维护、精进维基百科中的旗帜模板。 |
请在对此模板做任何变更后重新整理此页面。
基本参数
| 参数名称 | 参数值 | 含义 |
|---|---|---|
alias |
爱尔兰
| 主条目(爱尔兰) |
shortname alias |
愛爾蘭 |
(可选)alias是一个歧义名称时,显示的维基百科内部链接,如范例所示 |
flag alias |
Flag of Ireland.svg |
图片名称(File:Flag of Ireland.svg,显示在右方) |
旗帜变异
| 标记 | 旗帜图档 (40px) | 图片档案名称 |
|---|---|---|
1783 | File:Saint Patrick's Saltire.svg | Saint Patrick's Saltire.svg |
green | File:Green harp flag of Ireland.svg | Green harp flag of Ireland.svg |
4prov | File:Four Provinces Flag.svg | Four Provinces Flag.svg |
football | File:Saint Patrick's Saltire.svg | Saint Patrick's Saltire.svg |
rugby union | File:IRFU flag.svg | IRFU flag.svg |
hockey | File:Flag of Ireland hockey team.svg | Flag of Ireland hockey team.svg |
cricket | File:Cricket Ireland flag.svg | Cricket Ireland flag.svg |
naval | File:Naval jack of Ireland.svg | Naval_jack_of_Ireland.svg |
military | File:Flag of the Irish Defence Forces.svg | Flag_of_the_Irish_Defence_Forces.svg |
coast guard | File:Coast Guard Flag (Ireland).svg | Coast Guard Flag (Ireland).svg |
navy | File:Irish Naval Service Colour.svg | Irish Naval Service Colour.svg |
air force | File:Flag of the Irish Air Corps.svg | Flag of the Irish Air Corps.svg |
army | File:Flag of the Irish Defence Forces.svg | Flag of the Irish Defence Forces.svg |
军事旗帜
此模板包括武装部队军旗的变体,可以使用Template:Armed forces:
{{Armed forces|Ireland}}→ File:Flag of the Irish Defence Forces.svg 爱尔兰{{flagicon|Ireland|military}}→ 爱尔兰
此模板包括陆军军旗的变体,可以使用Template:Army:
{{army|Ireland}}→ File:Flag of the Irish Defence Forces.svg 爱尔兰{{flagicon|Ireland|army}}→ 爱尔兰
此模板包括海军军旗的变体,可以使用Template:Navy:
{{navy|Ireland}}→ File:Irish Naval Service Colour.svg 爱尔兰{{flagicon|Ireland|navy}}→ 爱尔兰
此模板包括海军舰艏旗的变体,可以使用Template:Naval:
{{naval|Ireland}}→ File:Naval jack of Ireland.svg 爱尔兰{{flagicon|Ireland|naval}}→ 爱尔兰
此模板包括海岸警卫队旗的变体,可以使用Template:Coast guard:
{{coast guard|Ireland}}→ File:Coast Guard Flag (Ireland).svg 爱尔兰{{flagicon|Ireland|coast guard}}→ 爱尔兰
此模板包括空军军旗的变体,可以使用Template:Air force:
{{air force|Ireland}}→ File:Flag of the Irish Air Corps.svg 爱尔兰{{flagicon|Ireland|air force}}→ 爱尔兰
重定向模板
此模板亦可以以别称(其他名称)使用(以重定向至此模板的方式执行):| 别称 | {{flag|別稱}}输出样貌 | {{flagcountry|別稱}}输出样貌 |
|---|---|---|
IRE(显示) | File:Flag of Ireland.svg 爱尔兰 | File:Flag of Ireland.svg 爱尔兰 |
EIR(显示) | File:Flag of Ireland.svg 爱尔兰 | File:Flag of Ireland.svg 爱尔兰 |
IRL(显示) | File:Flag of Ireland.svg 爱尔兰 | File:Flag of Ireland.svg 爱尔兰 |
Republic of Ireland(显示) | File:Flag of Ireland.svg 爱尔兰 | File:Flag of Ireland.svg 爱尔兰 |
查看全部重定向。
使用范例
{{flag|Ireland}}→ File:Flag of Ireland.svg 爱尔兰{{flagicon|Ireland}}→ 爱尔兰{{flagcountry|Ireland}}→ File:Flag of Ireland.svg 爱尔兰
使用旗帜变异
{{flag|Ireland|1783}}→ File:Saint Patrick's Saltire.svg 爱尔兰{{flagicon|Ireland|1783}}→ 爱尔兰
使用重定向模板
{{flagicon|IRE}}→ 爱尔兰{{flagcountry|IRE}}→ File:Flag of Ireland.svg 爱尔兰{{flag|IRE}}→ File:Flag of Ireland.svg 爱尔兰
相关模版
请参阅以下相关國家數據模板:
- Template:Country data Lordship of IrelandFile:Banner of the Lordship of Ireland.svg 爱尔兰领地
- Template:Country data Kingdom of IrelandFile:Saint Patrick's Saltire.svg 爱尔兰王国
- Template:Country data Confederate IrelandFile:Green harp flag of Ireland.svg 爱尔兰邦联
- Template:Country data United Kingdom of Great Britain and IrelandFile:Flag of the United Kingdom (1-2).svg 大不列颠及爱尔兰联合王国
- Template:Country data Southern Ireland (1921–1922)File:Flag of the Lord Lieutenant of Ireland.svg 南爱尔兰
- Template:Country data Irish RepublicFile:Flag of Ireland.svg 爱尔兰共和国
- Template:Country data Irish Free StateFile:Flag of Ireland.svg 爱尔兰自由邦
- Template:Country data Northern IrelandFile:Flag of Northern Ireland.svg 北爱尔兰
其他资讯
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}}→ File:Saint Patrick's Saltire.svg 爱尔兰 (use for Ireland as part of United Kingdom of Great Britain and Ireland){{flag|Ireland}}→ File:Flag of Ireland.svg 爱尔兰 (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}}→ File:Saint Patrick's Saltire.svg 爱尔兰 (football, 1882–1922){{fh|Ireland}}→ File:Flag of Ireland.svg 爱尔兰 (field hockey){{rl|Ireland}}→ File:Four Provinces Flag.svg 爱尔兰 (rugby league){{ih|Ireland}}→ File:Flag of Ireland.svg 爱尔兰 (ice hockey) — all-Ireland team that uses the tri-colour{{ru|Ireland}}→ File:IRFU flag.svg 爱尔兰 (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}}→ File:Flag of Ireland.svg 爱尔兰 (links to Republic of Ireland national football team){{fb|IRE}}→ File:Saint Patrick's Saltire.svg 爱尔兰 (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}}→File:Flag of Ireland.svg 爱尔兰(Use{{fh|IRE}}instead)
其他旗帜
军旗
| 标识 | 图片 (40px) |
|---|---|
| army | 爱尔兰 |
| air force | 爱尔兰 |
| coast guard | 爱尔兰 |
| military | 爱尔兰 |
| naval | 爱尔兰 |
| navy | 爱尔兰 |
爱尔兰历史政权的旗帜
Country data系列模板同样可用于爱尔兰历史政权。
爱尔兰省份
Country_data 系列模板同样可用于爱尔兰省份: