Template:Country data Ireland/doc
| 此頁面是Template:Country data Ireland的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
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 |