This page is protected against editing.

Template:Country

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Country/doc.

Given the ISO code for a country, it checks if the English language name of the country matches a template name (e.g., EE → {{Estonia}}). If such a template exists, it calls that template; if not, it returns the English name. The individual country templates provide localization of country names, and link the localized name to the Wikipedia entry in the relevant language (e.g., {{Estonia}} produces: Estonia).

Usage

{{Country |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1ISO code for country (e.g., EE = Estonia — for a list see en:ISO 3166-1 alpha-2)emptyrequired
langlanguage code (must be entirely lowercase)emptyoptional
nolinkset to suppress hyperlinkemptyoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

See also

{{CountryName}}, which provides just the country name without linking it

Localization

This template is not intended to be localized.

Examples

  • “Estonia” in user's selected language: {{Country|EE}}Estonia
  • “Estonia” in Estonian: {{Country|EE|lang=et}}Eesti
  • “Estonia” in German: {{Country|EE|lang=de}}Estland
  • "New Zealand" in Russian: {{Country|NZ|lang=ru}}Новая Зеландия
  • "Ukraine" in Ukrainian with no wikilink: {{Country|UA|lang=uk|nolink=1}} → Україна