跳转到内容

Template:Country data Ireland/doc

维基百科,自由的百科全书

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

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:

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  阿爾斯特省