Template: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 | ![]() |
编者 |