Template:Country data Northern Ireland

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationpurge ]

Template:Country data Northern Ireland is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as {{flag}}, {{flagcountry}}, and others.

Flag of Northern Ireland (1953–1972).svg

Standard parameters

Parameter nameValueMeaning
aliasNorthern IrelandMain article name (Northern Ireland)
flag aliasFlag of Northern Ireland.svgImage name (File:Flag of Northern Ireland.svg, shown on right)

Flag variants

LabelFlag image (40px)Image name
actualcrowncolorsUlster Banner, and crown With The Actual Colors.pngUlster Banner, and crown With The Actual Colors.png
1783Saint Patrick's Saltire.svgSaint Patrick's Saltire.svg
1924Flag of Northern Ireland (1924–1953).svgFlag of Northern Ireland (1924–1953).svg
unionFlag of the United Kingdom.svgFlag of the United Kingdom.svg

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
NIR (view)Template:Country data NIRTemplate:Country data NIR
N Ireland (view)Template:Country data N IrelandTemplate:Country data N Ireland
Northern I (view)Template:Country data Northern ITemplate:Country data Northern I

See What links here for a full list of redirects.

Example usage

  • {{flag|Northern Ireland}} Northern Ireland
  • {{flagicon3|Northern Ireland}}Northern Ireland

Using a flag variant

  • {{flag|Northern Ireland|actualcrowncolors}} Northern Ireland
  • {{flagicon3|Northern Ireland|actualcrowncolors}}Northern Ireland

Using a redirect alias

Related templates

Please see the following related country_data templates:

Other information

This template should only be used for instances where the Ulster Banner is used in reliable sources as the flag of Northern Ireland. Typically, these are sport-related articles, such as those involving the Northern Ireland national football team or its players, athletes competing for Northern Ireland at the Commonwealth Games, golfers from Northern Ireland, etc.

Use Template:noflag to correctly align text in lists of nations with flag icons, but for which a flag for Northern Ireland would be inappropriate. For example:


<templatedata>JSON</templatedata> ./. {{TemplateBox}}

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.

Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.

Wikipedia's help about TemplateDataCommons-specific information

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.

[Edit template data]

Template parameters

No parameters specified