模板: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 |