Template:Country data Ireland

這是Template:Country data Ireland的說明文件。它是由Template:Country showdata自動產生的。
Template:Country data Ireland
為一系列模板的元模板,亦即本模版將用於構建其他模板,如flag
、flagicon
等等。請勿在條目中直接使用此模板。
![]() | 此模板是維基百科專題:紋章及旗幟/旗幟模板的範圍,此專題目的是維護、精進維基百科中的旗幟模板。 |
請在對此模板做任何變更後重新整理此頁面。

基本參數
參數名稱 | 參數值 | 含義 |
---|---|---|
別名 |
爱尔兰
| 主條目(愛爾蘭) |
簡稱 |
愛爾蘭 |
(可选)别名是一个歧义名称时,显示的维基百科内部链接,如範例所示 |
旗幟別名 |
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}}
→愛爾蘭
此模板包括空軍軍旗的變體,可以使用Template:Air force:
{{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 | ![]() |
上述文档嵌入自Template:Country data Ireland/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 本模板的子页面。 |