Difference between revisions of "CountryCode2Country"

From Sega Retro

 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{#switch:{{lc:{{{1|}}}}}
 
{{#switch:{{lc:{{{1|}}}}}
 +
| ad=Andorra
 
| ae=United Arab Emirates
 
| ae=United Arab Emirates
 
| af=Afghanistan
 
| af=Afghanistan
Line 7: Line 8:
 
| ao=Angola
 
| ao=Angola
 
| ar=Argentina
 
| ar=Argentina
 +
| as=Asia
 
| at=Austria
 
| at=Austria
 
| au=Australia
 
| au=Australia
Line 22: Line 24:
 
| bs=Bahamas
 
| bs=Bahamas
 
| bw=Botswana
 
| bw=Botswana
 +
| bx=Benelux region
 
| by=Belarus
 
| by=Belarus
 
| bz=Belize
 
| bz=Belize
 
| ca=Canada
 
| ca=Canada
 +
| cd=Democratic Republic of the Congo
 
| cg=Congo
 
| cg=Congo
 
| ch=Switzerland
 
| ch=Switzerland
 
| ci=Côte d'Ivoire
 
| ci=Côte d'Ivoire
 +
| cis=Commonwealth of Independent States
 
| cl=Chile
 
| cl=Chile
 
| cm=Cameroon
 
| cm=Cameroon
Line 46: Line 51:
 
| eg=Egypt
 
| eg=Egypt
 
| es=Spain
 
| es=Spain
 +
| et=Ethiopia
 +
| eu=Europe
 
| fi=Finland
 
| fi=Finland
 
| fj=Fiji
 
| fj=Fiji
 +
| fo=Faroe Islands
 
| fr=France
 
| fr=France
 
| ga=Gabon
 
| ga=Gabon
Line 93: Line 101:
 
| ma=Morocco
 
| ma=Morocco
 
| mc=Monaco
 
| mc=Monaco
| md=Moldova, Republic of
+
| md=Moldova
 
| me=Montenegro
 
| me=Montenegro
| mk=North Macedonia
+
| mk={{#if:{{{date|}}}|{{dateswitch|date={{{date|}}}
 +
  | FYR Macedonia
 +
  | 2019-02-12=North Macedonia
 +
  }}
 +
  |North Macedonia}}
 +
| ml=Mali
 
| mn=Mongolia
 
| mn=Mongolia
 
| mo=Macao
 
| mo=Macao
Line 102: Line 115:
 
| mu=Mauritius
 
| mu=Mauritius
 
| mv=Maldives
 
| mv=Maldives
 +
| mw=Malawi
 
| mx=Mexico
 
| mx=Mexico
 
| my=Malaysia
 
| my=Malaysia
Line 140: Line 154:
 
| su=Soviet Union
 
| su=Soviet Union
 
| sv=El Salvador
 
| sv=El Salvador
| sy=Syrian Arab Republic
+
| sy=Syria
 
| sz=Eswatini
 
| sz=Eswatini
 
| td=Chad
 
| td=Chad
Line 162: Line 176:
 
| vn=Vietnam
 
| vn=Vietnam
 
| ye=Yemen
 
| ye=Yemen
| yu=Yugoslavia
+
| yu={{#if:{{{date|}}}|{{dateswitch|date={{{date|}}}
 +
  | Yugoslavia
 +
  | 2003-02-04=Serbia and Montenegro
 +
  }}
 +
  |Yugoslavia}}
 
| za=South Africa
 
| za=South Africa
 
| zm=Zambia
 
| zm=Zambia
 +
| zr=Zaire
 
| zw=Zimbabwe
 
| zw=Zimbabwe
 
| #default={{{1|}}}
 
| #default={{{1|}}}
Line 170: Line 189:
  
 
Template for converting a two-character country code (as defined in [[wikipedia:ISO 3166-1 alpha-2|ISO 3166-1 alpha-2]]) into the name of the country. e.g.
 
Template for converting a two-character country code (as defined in [[wikipedia:ISO 3166-1 alpha-2|ISO 3166-1 alpha-2]]) into the name of the country. e.g.
<pre>{{CountryCode2Language|uk}}</pre>
+
<pre>{{CountryCode2Country|uk}}</pre>
{{CountryCode2Language|uk}}
+
{{CountryCode2Country|uk}}
<pre>{{CountryCode2Language|gr}}</pre>
+
<pre>{{CountryCode2Country|gr}}</pre>
{{CountryCode2Language|gr}}
+
{{CountryCode2Country|gr}}
<pre>{{CountryCode2Language|Wales}}</pre>
+
<pre>{{CountryCode2Country|Wales}}</pre>
{{CountryCode2Language|Wales}}
+
{{CountryCode2Country|Wales}}
  
[[Category:Sega Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 12:12, 30 September 2024


Template for converting a two-character country code (as defined in ISO 3166-1 alpha-2) into the name of the country. e.g.

{{CountryCode2Country|uk}}

United Kingdom

{{CountryCode2Country|gr}}

Greece

{{CountryCode2Country|Wales}}

Wales