Template:Country/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Given the iso code, it checks if the English language name of the country matches a template name (eg EE -> {{Estonia}}). If it exists, it outputs that template, if not, just the name. The country templates provide localization of country names, and link the localized name to the relevant Wikipedia entry in the relevant language. eg {{Estonia}} produces Estonia.

Usage

{{Country |1= }}

Template parameters

Parameter Description Default Status
1 ISO code for country, eg EE=Estonia empty required
lang language code empty optional
nolink set to suppress hyperlink empty optional

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 anywhere

Localization

This template is not intended to be localized.

Examples

  • "Estonia" in current language: {{Country|EE}} gives "Estonia"
  • "Italy" in Polish: {{Country|IT}} gives "Włochy"
  • "Ukraine" in Ukrainian without link: {{Country|UA|lang=UK|nolink=1}} gives "Україна"