Difference between revisions of "Template:Demonym country/doc"

From blackwiki
Jump to navigation Jump to search
imported>Le Deluge
(See alsos)
imported>Le Deluge
(→‎See also: Fix, add iso2country)
 
Line 12: Line 12:
 
*{{tl|ISO 3166 code}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO alpha-2 code, ie Iran/IR/IRN/364 -> IR
 
*{{tl|ISO 3166 code}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO alpha-2 code, ie Iran/IR/IRN/364 -> IR
 
*{{tl|ISO 3166 code-3}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO alpha-3 code, ie Iran/IR/IRN/364 -> IRN
 
*{{tl|ISO 3166 code-3}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO alpha-3 code, ie Iran/IR/IRN/364 -> IRN
*{{tl|ISO 3166 name}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO alpha-2 code, ie Iran/IR/IRN/364 -> Iran (Islamic Republic of)
+
*{{tl|ISO 3166 name}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an official ISO name, ie Iran/IR/IRN/364 -> Iran (Islamic Republic of)
*{{tl|Country name}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO alpha-2 code, ie Iran/IR/IRN/364 -> Iran
+
*{{tl|Country name}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to a common name, ie Iran/IR/IRN/364 -> Iran
*{{tl|ISO 3166 numeric}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO alpha-2 code, ie Iran/IR/IRN/364 -> 364
+
*{{tl|ISO 3166 numeric}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO numeric code, ie Iran/IR/IRN/364 -> 364
 +
*{{tl|Iso2country}} - takes an ISO country code and converts it to a country name, ie IR -> Iran
 
*{{tl|Iso2continent}} - takes an ISO country code and converts it to a continent, ie IR -> Asia
 
*{{tl|Iso2continent}} - takes an ISO country code and converts it to a continent, ie IR -> Asia
 
*{{tl|GetCountryNameFromAdjective}} – takes a demonym and converts it to a country name, ie Iranian -> Iran
 
*{{tl|GetCountryNameFromAdjective}} – takes a demonym and converts it to a country name, ie Iranian -> Iran

Latest revision as of 12:01, 24 August 2020


Usage

Generate a demonym from a Country code top-level domain parameter, eg:

{{Demonym country|ng}} -> Nigerian


{{Demonym country|uk}} -> French



See also

  • {{Iso2nationality}} - takes an ISO country code (ISO 3166-1 alpha-2) and converts it to a demonym, ie ir -> Iranian
  • {{ISO 3166 code}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO alpha-2 code, ie Iran/IR/IRN/364 -> IR
  • {{ISO 3166 code-3}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO alpha-3 code, ie Iran/IR/IRN/364 -> IRN
  • {{ISO 3166 name}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an official ISO name, ie Iran/IR/IRN/364 -> Iran (Islamic Republic of)
  • {{Country name}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to a common name, ie Iran/IR/IRN/364 -> Iran
  • {{ISO 3166 numeric}} - takes a country name/ISO alpha-2-or-3 code/ISO numeric code and converts it to an ISO numeric code, ie Iran/IR/IRN/364 -> 364
  • {{Iso2country}} - takes an ISO country code and converts it to a country name, ie IR -> Iran
  • {{Iso2continent}} - takes an ISO country code and converts it to a continent, ie IR -> Asia
  • {{GetCountryNameFromAdjective}} – takes a demonym and converts it to a country name, ie Iranian -> Iran
  • {{Country2nationality}} - takes a country name and converts it to a demonym, ie Iran -> Iranian
  • {{Country2continent}} - takes a country name and converts it to a continent, ie Iran-> Asia