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
m fix RU
+Kosovo +South Sudan
Line 205: Line 205:
|ZA={{#ifexist: Template:South Africa | {{South Africa|1={{{lang|}}}|nolink={{{nolink|}}}}} | South Africa }}
|ZA={{#ifexist: Template:South Africa | {{South Africa|1={{{lang|}}}|nolink={{{nolink|}}}}} | South Africa }}
|GS={{#ifexist: Template:South Georgia and the South Sandwich Islands | {{South Georgia and the South Sandwich Islands|1={{{lang|}}}|nolink={{{nolink|}}}}} | South Georgia and the South Sandwich Islands }}
|GS={{#ifexist: Template:South Georgia and the South Sandwich Islands | {{South Georgia and the South Sandwich Islands|1={{{lang|}}}|nolink={{{nolink|}}}}} | South Georgia and the South Sandwich Islands }}
|SS={{#ifexist: Template:South Sudan | {{South Sudan|1={{{lang|}}}|nolink={{{nolink|}}}}} | South Sudan }}
|ES={{#ifexist: Template:Spain | {{Spain|1={{{lang|}}}|nolink={{{nolink|}}}}} | Spain }}
|ES={{#ifexist: Template:Spain | {{Spain|1={{{lang|}}}|nolink={{{nolink|}}}}} | Spain }}
|LK={{#ifexist: Template:Sri Lanka | {{Sri Lanka|1={{{lang|}}}|nolink={{{nolink|}}}}} | Sri Lanka }}
|LK={{#ifexist: Template:Sri Lanka | {{Sri Lanka|1={{{lang|}}}|nolink={{{nolink|}}}}} | Sri Lanka }}
Line 243: Line 244:
|WF={{#ifexist: Template:Wallis and Futuna | {{Wallis and Futuna|1={{{lang|}}}|nolink={{{nolink|}}}}} | Wallis and Futuna }}
|WF={{#ifexist: Template:Wallis and Futuna | {{Wallis and Futuna|1={{{lang|}}}|nolink={{{nolink|}}}}} | Wallis and Futuna }}
|EH={{#ifexist: Template:Western Sahara | {{Western Sahara|1={{{lang|}}}|nolink={{{nolink|}}}}} | Western Sahara }}
|EH={{#ifexist: Template:Western Sahara | {{Western Sahara|1={{{lang|}}}|nolink={{{nolink|}}}}} | Western Sahara }}
|XK={{#ifexist: Template:Kosovo | {{Kosovo|1={{{lang|}}}|nolink={{{nolink|}}}}} | Kosovo }}
|YE={{#ifexist: Template:Yemen | {{Yemen|1={{{lang|}}}|nolink={{{nolink|}}}}} | Yemen }}
|YE={{#ifexist: Template:Yemen | {{Yemen|1={{{lang|}}}|nolink={{{nolink|}}}}} | Yemen }}
|ZM={{#ifexist: Template:Zambia | {{Zambia|1={{{lang|}}}|nolink={{{nolink|}}}}} | Zambia }}
|ZM={{#ifexist: Template:Zambia | {{Zambia|1={{{lang|}}}|nolink={{{nolink|}}}}} | Zambia }}

Revision as of 02:20, 1 October 2014

Template:City

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.