Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Country: Difference between revisions

Template page
Changed LY to point Libya
Remove Wikidata-dependent {{Estonia}} (Label) and {{city}} references; use plain fallback text
 
(One intermediate revision by one other user not shown)
Line 67: Line 67:
|GQ={{#ifexist: Template:Equatorial Guinea | {{Equatorial Guinea|1={{{lang|}}}|nolink={{{nolink|}}}}} | Equatorial Guinea }}
|GQ={{#ifexist: Template:Equatorial Guinea | {{Equatorial Guinea|1={{{lang|}}}|nolink={{{nolink|}}}}} | Equatorial Guinea }}
|ER={{#ifexist: Template:Eritrea | {{Eritrea|1={{{lang|}}}|nolink={{{nolink|}}}}} | Eritrea }}
|ER={{#ifexist: Template:Eritrea | {{Eritrea|1={{{lang|}}}|nolink={{{nolink|}}}}} | Eritrea }}
|EE={{#ifexist: Template:Estonia | {{Estonia|1={{{lang|}}}|nolink={{{nolink|}}}}} | Estonia }}
|EE=Estonia
|ET={{#ifexist: Template:Ethiopia | {{Ethiopia|1={{{lang|}}}|nolink={{{nolink|}}}}} | Ethiopia }}
|ET={{#ifexist: Template:Ethiopia | {{Ethiopia|1={{{lang|}}}|nolink={{{nolink|}}}}} | Ethiopia }}
|FK={{#ifexist: Template:Falkland Islands | {{Falkland Islands|1={{{lang|}}}|nolink={{{nolink|}}}}} | Falkland Islands }}
|FK={{#ifexist: Template:Falkland Islands | {{Falkland Islands|1={{{lang|}}}|nolink={{{nolink|}}}}} | Falkland Islands }}
Line 249: Line 249:
|ZM={{#ifexist: Template:Zambia | {{Zambia|1={{{lang|}}}|nolink={{{nolink|}}}}} | Zambia }}
|ZM={{#ifexist: Template:Zambia | {{Zambia|1={{{lang|}}}|nolink={{{nolink|}}}}} | Zambia }}
|ZW={{#ifexist: Template:Zimbabwe | {{Zimbabwe|1={{{lang|}}}|nolink={{{nolink|}}}}} | Zimbabwe }}
|ZW={{#ifexist: Template:Zimbabwe | {{Zimbabwe|1={{{lang|}}}|nolink={{{nolink|}}}}} | Zimbabwe }}
|#default={{#if: {{{debug|}}} | {{error}} | {{city|{{{1|}}}}} }}
|#default={{{1|}}}
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}

Latest revision as of 17:25, 12 August 2026

Template documentation[ view · 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. If such a template exists, it calls that template; if not, it returns the English name.

Usage

{{Country |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1ISO code for country (e.g., EE = Estonia — for a list see w: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

  • "New Zealand" in Russian: {{Country|NZ|lang=ru}} → New Zealand
  • "Ukraine" in Ukrainian with no wikilink: {{Country|UA|lang=uk|nolink=1}} → Ukraine
Cookies help us deliver our services. By using our services, you agree to our use of cookies.