模 板 :Country data Ireland
![文档图示](https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
这是Template:Country data Ireland
Template:Country data Ireland
为一系列模板的元模板,flag
、flagicon
![]() | 此模 |
请在对此
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Flag_of_Ireland.svg/220px-Flag_of_Ireland.svg.png)
基本 参 数
含义 | ||
---|---|---|
alias |
爱尔兰
| |
shortname alias |
|
( |
flag alias |
Flag of Ireland.svg |
图片 |
旗 帜变异
军事旗 帜
此模
{{Armed forces|Ireland}}
→爱尔兰
{{flagicon|Ireland|military}}
→
此模
{{army|Ireland}}
→爱尔兰
{{flagicon|Ireland|army}}
→
此模
{{navy|Ireland}}
→爱尔兰
{{flagicon|Ireland|navy}}
→
{{naval|Ireland}}
→爱尔兰
此模
{{coast guard|Ireland}}
→爱尔兰
{{flagicon|Ireland|coast guard}}
→
此模
{{air force|Ireland}}
→爱尔兰
{{flagicon|Ireland|air force}}
→
重定 向 模 板
别称 | {{flag| 输出样貌 | {{flagicon| 输出样貌 |
---|---|---|
IRE (显示) | ![]() | ![]() |
EIR (显示) | Template:Country data EIR | Template:Country data EIR |
查看
使用 范例
使用 旗 帜变异
{{flag|Ireland|1783}}
→爱尔兰
{{flagicon|Ireland|1783}}
→
使用 重定 向 模 板
相 关模版
请参阅以
- Template:Country data Republic of Ireland
爱尔兰
- Template:Country data Southern Ireland
南 爱尔兰 - Template:Country data Kingdom of Ireland
爱尔兰王
国 - Template:Country data Lordship of Ireland
爱尔兰领
地 - Template:Country data Irish Free State
爱尔兰
自由 邦
其他资讯
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)
Other flags
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 | ![]() |
编者 |