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

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.

其他旗帜[编辑]

军旗[编辑]

标识 图片 (40px)
army 爱尔兰
air force 爱尔兰
coast guard 爱尔兰
military 爱尔兰
naval 爱尔兰
navy 爱尔兰

爱尔兰历史政权的旗帜[编辑]

Country data系列模板同样可用于爱尔兰历史政权。

Template:Country data Lordship of Ireland File:Banner of the Lordship of Ireland.svg 爱尔兰领地 1171年—1542年
Template:Country data Kingdom of Ireland File:Saint Patrick's Saltire.svg 爱尔兰王国 1542年-1800年
Template:Country data Confederate Ireland‎ File:Green harp flag of Ireland.svg 爱尔兰邦联 1642年—1649年
Template:Country data Irish Republic (1798)‎ File:Green harp flag of Ireland.svg 爱尔兰共和国 1798年
Template:Country data United Kingdom of Great Britain and Ireland File:Flag of the United Kingdom (1-2).svg 大不列颠及爱尔兰联合王国 1801年-1922年
Template:Country data Southern Ireland (1921–1922) File:Flag of the Lord Lieutenant of Ireland.svg 南爱尔兰 1921年—1922年
Template:Country data Irish Republic File:Flag of Ireland.svg 爱尔兰共和国 1919年—1922年
Template:Country data Irish Free State File:Flag of Ireland.svg 爱尔兰自由邦 1922年—1937年

爱尔兰省份[编辑]

Country_data 系列模板同样可用于爱尔兰省份:

Template:Country data Connacht File:Flag of Connacht.svg 康诺特省
Template:Country data Leinster File:Flag of Leinster.svg 伦斯特省
Template:Country data Munster File:Flag of Munster.svg 芒斯特省
Template:Country data Ulster File:Flag of Ulster.svg 阿尔斯特省