Template:Country data Ireland: Difference between revisions
No edit summary |
m 143 revisions imported |
||
| (58 intermediate revisions by 18 users not shown) | |||
| Line 1: | Line 1: | ||
{{ {{{1<noinclude>|country showdata</noinclude>}}} | {{ {{{1<noinclude>|country showdata</noinclude>}}} | ||
| alias = {{#if:{{{variant|}}}|Ireland|Republic of Ireland}} | | alias = {{#if:{{{altvar|}}}|Ireland|{{#if:{{{variant|}}}|Ireland|Republic of Ireland}}}} | ||
| shortname alias = Ireland | | shortname alias = Ireland | ||
| flag alias = Flag of Ireland.svg | | flag alias = Flag of Ireland.svg | ||
| flag alias-1783 = | | flag alias-1783 = Saint Patrick's Saltire.svg | ||
| flag alias-4prov = Four Provinces Flag.svg | | flag alias-4prov = Four Provinces Flag.svg | ||
| flag alias- | | flag alias-green = Green harp flag of Ireland.svg | ||
| flag alias-football = | | flag alias-football = Saint Patrick's Saltire.svg | ||
| link alias-football = Ireland national football team (1882–1950) | |||
| link alias-football = Ireland national football team ( | |||
| flag alias-hockey = Flag of Ireland hockey team.svg | | flag alias-hockey = Flag of Ireland hockey team.svg | ||
| flag alias-field hockey = Flag of Ireland hockey team.svg | | flag alias-field hockey = Flag of Ireland hockey team.svg | ||
| flag alias-cricket = | | {{#ifeq:{{{altlink}}}|A national rugby union team|link alias-rugby union|empty}} = Ireland Wolfhounds | ||
| link alias-cricket = Ireland cricket team | | flag alias-rugby union = IRFU flag.svg | ||
| flag alias-rugby sevens = IRFU flag.svg | |||
| flag alias-rugby league = Four Provinces Flag.svg | |||
| flag alias-cricket = Cricket Ireland flag.svg | |||
| link alias-cricket = Ireland {{{mw|}}} {{{age|}}} cricket team | |||
| flag alias-quidditch = Flag of Quidditch Ireland.svg | |||
| flag alias-air force=Flag of the Irish Air Corps.svg | |||
| link alias-air force=Irish Air Corps | |||
| link alias-naval=Irish Naval Service | |||
| flag alias-military=Flag_of_the_Irish_Defence_Forces.svg | |||
| link alias-military=Irish Defence Forces | |||
| flag alias-army=Flag of the Irish Defence Forces.svg | |||
| link alias-army=Irish Army | |||
| flag alias-navy=Irish Naval Service Colour.svg | |||
| link alias-navy=Irish Naval Service | |||
| flag alias-coast guard=Coast Guard Flag (Ireland).svg | |||
| link alias-coast guard=Irish Coast Guard | |||
| size = {{{size|}}} | | size = {{{size|}}} | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| Line 24: | Line 34: | ||
| variant = {{{variant|}}} | | variant = {{{variant|}}} | ||
<noinclude> | <noinclude> | ||
| var1 = 1783 | | var1 = 1783 | ||
| var2 = | | var2 = green | ||
| var3 = | | var3 = 4prov | ||
| var4 = football | | var4 = football | ||
| var5 = rugby | | var5 = rugby union | ||
| var6 = hockey | | var6 = hockey | ||
| var7 = cricket | | var7 = cricket | ||
| redir1 = IRE | | redir1 = IRE | ||
| redir2 = EIR | |||
| related1 = Republic of Ireland | | related1 = Republic of Ireland | ||
| related2 = Southern Ireland | | related2 = Southern Ireland | ||
| related3 = Kingdom of Ireland | | related3 = Kingdom of Ireland | ||
| related4 = Lordship of Ireland | | related4 = Lordship of Ireland | ||
| related5 = Irish Free State | |||
</noinclude> | </noinclude> | ||
}} | }} | ||
Latest revision as of 02:51, 3 September 2020
Template:Country data Ireland is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as {{Flag}}, {{Flagicon}} and others.

Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
alias |
Republic of Ireland |
Main article name (Republic of Ireland) |
shortname alias |
Ireland |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of Ireland.svg |
Image name (File:Flag of Ireland.svg, shown on right) |
Flag variants
Military ensigns
This nation's naval ensign is the same as its national flag, so Template:Navy produces the following:
{{Navy|Ireland}}→
Irish Naval Service
This template includes an air force ensign flag variant that can be used with Template:Air force:{{Air force|Ireland}}→
Irish Air Corps{{Flagicon|Ireland|air force}}→
This template includes a marine ensign flag variant that can be used with Template:Armed forces:{{Armed forces|Ireland}}→
Irish Defence Forces{{Flagicon|Ireland|military}}→
This template includes a navy flag variant that can be used with Template:Naval:{{Naval|Ireland}}→
Irish Naval Service{{Flagicon|Ireland|navy}}→
This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:{{Coast guard|Ireland}}→
Irish Coast Guard{{Flagicon|Ireland|coast guard}}→
This template includes an army ensign flag variant that can be used with Template:Army:{{Army|Ireland}}→
Irish Army{{Flagicon|Ireland|army}}→
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):
| Alias name | {{Flag|alias}} output | {{Flagcountry|alias}} output |
|---|---|---|
IRE (view) | ||
EIR (view) |
See What links here for a full list of redirects.
Example usage
Using a flag variant
{{Flag|Ireland|1783}}→
Ireland{{Flagicon|Ireland|1783}}→
Using a redirect alias
Related templates
Please see the following related country_data templates:
- Template:Country data Republic of Ireland
Republic of Ireland - Template:Country data Southern Ireland
Southern Ireland - Template:Country data Kingdom of Ireland
Kingdom of Ireland - Template:Country data Lordship of Ireland
Lordship of Ireland - Template:Country data Irish Free State
Irish Free State
Other information
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|Republic of Ireland}}
This results in
{{flag|Ireland|1783}}→
Ireland (use for Ireland as part of United Kingdom of Great Britain and Ireland){{flag|Ireland}}→
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}}→
Ireland (football, 1882–1922){{fh|Ireland}}→
Ireland (field hockey){{rl|Ireland}}→
Ireland (rugby league){{ih|Ireland}}→
Ireland (ice hockey) — all-Ireland team that uses the tri-colour{{ru|Ireland}}→
Ireland (rugby union){{cr|Ireland}}→
Ireland (cricket){{quid|Ireland}}→
Ireland (quidditch)
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 codes IRE and EIR are used as aliases for this template to provide similar convenience. For example:
{{flagicon|IRL}}→
{{flagicon|IRE|1783}}→
{{flagicon|IRE|4prov}}→
{{fb|IRL}}→
Republic of Ireland (links to Republic of Ireland national football team){{fb|IRE}}or{{fb|EIR}}→
Ireland (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/EIR aliases 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
Ireland{{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 |
TemplateData
TemplateData for Country data Ireland
This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||