Module:Country alias/data/sandbox: Difference between revisions

Content deleted Content added
ROC / Chinese Taipei stuff
test
 
(10 intermediate revisions by 6 users not shown)
Line 3:
local countryAliases = {
-- Countries with identical definitions.
ADE = "YMD",
ANG_CGF = "AIA",
ATG = "ANT",
Line 9 ⟶ 10:
CUW = "CUR",
EOR = "ROA",
FAI = "FLK",
FRO = "FAR",
GUE = "GGY",
Line 17 ⟶ 19:
LIB = "LBN",
MSR = "MNT",
MNP = "NMI",
NGU = "PNG",
NIC = "NCA",
Line 30 ⟶ 33:
SAF = "RSA",
SAU = "KSA",
SCT = "SCO",
TON = "TGA",
TTO = "TRI",
Line 35 ⟶ 39:
TKS = "TCA",
TMP = "TLS",
TWN = "TPE",
}
 
Line 40 ⟶ 45:
EXA = { -- example for testing
name = "Example Country",
countrydata_name = "U.S. Example Country", -- optional, use when Template:Country data {name} would not be correct
{1951, "Flag1951.svg"}, -- year <= 1951
{1995, "Flag1995.svg"}, -- 1951 < year <= 1995
Line 66 ⟶ 72:
{1996, "Flag of Afghanistan (1992–2001).svg"},
{2003, "Flag of Afghanistan (2002–2004).svg"},
"Flag of Afghanistan (2004–2021).svg",
},
AHO = {
Line 74 ⟶ 80:
["Pan American Games"] = {
[2011] = "Flag of PASO.svg",
},
["Summer Olympics"] = {
[1952] = "Flag of the Netherlands.svg",
},
},
Line 79 ⟶ 88:
name = "Anguilla",
"Flag of Anguilla.svg",
},
AIN = {
name = "Individual Neutral Athletes",
"Individual Neutral Athletes at the 2024 Summer Olympics Flag.svg",
},
ALB = {
Line 121 ⟶ 134:
ARG = {
name = "Argentina",
{2010, "Flag of Argentina (1861–2010).svg",},
"Flag of Argentina.svg",
},
Line 129 ⟶ 143:
ART = {
name = "Athlete Refugee Team",
{2021, "IAAF flag (2017).svg"},
"ART flag (2022).svg",
["Asian Indoor and Martial Arts Games"] = {
[2017] = "Olympic flag.svg",
},
["World Aquatics Championships"] = "Flag of World Aquatics.svg",
},
ART_AIMAG = {
Line 165 ⟶ 181:
AZE = {
name = "Azerbaijan",
{2013, "Flag of Azerbaijan (1991–2013).svg"},
"Flag of Azerbaijan.svg",
},
Line 172 ⟶ 189:
{1953, "Flag of the Bahamas (1923–1953).svg"},
{1964, "Flag of the Bahamas (1953–1964).svg"},
{1972, "Flag of the Bahamas (1964–1973).pngsvg"},
"Flag of the Bahamas.svg",
},
Line 273 ⟶ 290:
[1960] = "Flag of Brazil (1960-1968).svg",
[1968] = "Flag of Brazil (1968-1992).svg",
},
["Winter Olympics"] = {
[1992] = "Flag of Brazil (1968-1992).svg",
},
},
Line 311 ⟶ 331:
CAN = {
name = "Canada",
{1921, "CanadianFlag Redof EnsignCanada (1868-19211868–1921).svg"},
{1957, "CanadianFlag Redof EnsignCanada (1921-19571921–1957).svg"},
{1965, "CanadianFlag Redof EnsignCanada (1957-19651957–1965).svg"},
"Flag of Canada (Pantone).svg",
["Summer Olympics"] = {
Line 365 ⟶ 385:
COD = {
name = "Democratic Republic of the Congo",
{1971, "Flag of Congo-Kinshasa (1966-1971).svg"},
{1996, "Flag of Zaire.svg"},
{2003, "Flag of the Democratic Republic of the Congo (1997-2003).svg"},
{2006, "Flag of the Democratic Republic of the Congo (2003-2006).svg"},
Line 375 ⟶ 393:
{1979, "Flag of the Cook Islands (1973-1979).svg"},
"Flag of the Cook Islands.svg",
},
COK_COD = {
name = "Congo-Kinshasa",
"Flag of Congo-Kinshasa (1966-1971).svg",
},
COL = {
Line 404 ⟶ 426:
name = "Croatia",
"Flag of Croatia.svg",
["Summer Olympics"] = "Civil ensign of Croatia.svg",
["Winter Olympics"] = "Civil ensign of Croatia.svg",
},
CUB = {
name = "Cuba",
"Flag of Cuba.svg",
["Summer Olympics"] = "Flag of Cuba (3-2).svg",
["Winter Olympics"] = "Flag of Cuba (3-2).svg",
},
CUR = {
Line 449 ⟶ 475:
name = "Dominican Republic",
"Flag of the Dominican Republic.svg",
},
EAI = {
name = "Independent Athletes Team",
"Panam Sports flag.png",
},
ECU = {
Line 458 ⟶ 488:
name = "Egypt",
{1922, "Flag of Egypt (1882-1922).svg"},
{1952, "Flag of Egypt (1922–19581922–1953).svg"},
{1958, "Flag of Egypt (1952-19581953–1958).svg"},
{1971, "Flag of the United Arab Republic (1958–1971).svg"},
{1984, "Flag of Egypt (1972-19841972–1984).svg"},
"Flag of Egypt.svg",
},
Line 478 ⟶ 508:
ESP = {
name = "Spain",
{1931, "Flag of Spain (1785-18731785–1873, and 1875-19311875–1931).svg"},
{1939, "Flag of Spain (1931 - 19391931–1939).svg"},
{1977, "Flag of Spain (1945–1977).svg"},
{1981, "Flag of Spain (1977 - 19811977–1981).svg"},
"Flag of Spain.svg",
["Summer Olympics"] = {
Line 493 ⟶ 523:
ETH = {
name = "Ethiopia",
{1974, "Flag of Ethiopia (1897-1936; 1941-19741897–1974).svg"},
{1975, "Flag of Ethiopia (1974-19751974–1975).svg"},
{1987, "Flag of Ethiopia (1975–1987).svg"},
{1991, "Flag of Ethiopia (1987–1991).svg"},
{1995, "Flag of Ethiopia (1991-19961991–1996).svg"},
{2009, "Flag of Ethiopia (1996–2009).svg"},
"Flag of Ethiopia.svg",
Line 515 ⟶ 545:
["Paralympics"] = "Paralympic flag (1988-1994).svg",
["Summer Paralympics"] = "Paralympic flag (1988-1994).svg",
},
FAI = {
name = "Falkland Islands",
{1999, "Flag of the Falkland Islands (1948-1999).svg"},
"Flag of the Falkland Islands.svg",
},
FAR = {
Line 527 ⟶ 552:
FIJ = {
name = "Fiji",
{1970, "Flag of Fiji 1924-1970(1924–1970).svg"},
"Flag of Fiji.svg",
},
Line 536 ⟶ 561:
},
FINA = {
name = "FINA Independent Athletesathletes",
"FINA logo cropped.jpgsvg"
},
FLK = {
name = "Falkland Islands",
{1999, "Flag of the Falkland Islands (1948-1999).svg"},
"Flag of the Falkland Islands.svg",
},
FR_YUG = {
name = "FR Yugoslavia",
"File:Flag of Yugoslavia (1992–2003); Flag of Serbia and Montenegro (2003–2006).svg",
},
FRA = {
Line 559 ⟶ 589:
name = "Rhodesia and Nyasaland",
"Flag of the Federation of Rhodesia and Nyasaland.svg",
},
FRT = {
name = "FINA Refugee Team",
"FINA logo cropped.svg"
},
FSA = {
Line 580 ⟶ 614:
"Flag of the United Kingdom.svg",
["Summer Olympics"] = {
"Flag of the United Kingdom (3-2).svg",
[1980] = "Olympic flag.svg",
},
Line 647 ⟶ 682:
GRN = {
name = "Grenada",
{1974, "Flag of Grenada 1967(1967–1974).svg"},
"Flag of Grenada.svg",
},
Line 653 ⟶ 688:
name = "Guatemala",
"Flag of Guatemala.svg",
},
GUD = {
name = "Guadeloupe",
"Flag of France.svg",
},
GUI = {
Line 672 ⟶ 711:
HAI = {
name = "Haiti",
{1963, "Flag of Haiti (1859–1964).svg"},
{1986, "Flag of Haiti (1964–1986).svg"},
"Flag of Haiti.svg",
Line 692 ⟶ 731:
{1959, "Flag of Hong Kong 1955.svg"},
"Flag of Hong Kong (1959–1997).svg"
},
HNL = {
name = "Haudenosaunee",
"Flag of the Iroquois Confederacy.svg"
},
HON = {
name = "Honduras",
{1949, "Flag of Honduras (1866-1949).svg"},
{2022, "Flag of Honduras (before 2022).svg"},
"Flag of Honduras.svg",
},
Line 705 ⟶ 750:
{1957, "Flag of Hungary (1946-1949, 1956-1957).svg"},
"Flag of Hungary.svg",
},
IFA = {
name = "Independent FINA Athletes",
"FINA logo cropped.svg"
},
IFS = {
Line 713 ⟶ 762:
name = "Independent Asian Athletes",
"Olympic flag.svg",
},
IHO = {
name = "Dutch East Indies",
"Flag of the Netherlands.svg",
},
INA = {
Line 727 ⟶ 780:
},
},
INT = {
name = "International team",
"Flag placeholder.svg",
},
IOA_2000 = {
name = "Individual Olympic Athletes",
Line 777 ⟶ 834:
"Flag of Ireland.svg",
["Summer Olympics"] = {
"Flag of Ireland (3-2).svg",
[1980] = "Olympic flag.svg",
},
["Winter Olympics"] = "Flag of Ireland (3-2).svg",
},
IRQ = {
Line 801 ⟶ 860:
ISV = {
name = "Virgin Islands",
countrydata_name = "U.S. Virgin Islands",
"Flag of the United States Virgin Islands.svg",
},
Line 831 ⟶ 891:
name = "Jordan",
"Flag of Jordan.svg",
["Summer Olympics"] = "Flag of Jordan (3-2).svg",
["Winter Olympics"] = "Flag of Jordan (3-2).svg",
},
JPN = {
Line 840 ⟶ 902:
name = "Kazakhstan",
"Flag of Kazakhstan.svg",
["Summer Olympics"] = "Flag of Kazakhstan (3-2).svg",
["Winter Olympics"] = "Flag of Kazakhstan (3-2).svg",
},
KEN = {
Line 848 ⟶ 912:
KGZ = {
name = "Kyrgyzstan",
{2023, "Flag of Kyrgyzstan (1992–2023).svg"},
"Flag of Kyrgyzstan.svg",
},
Line 862 ⟶ 927:
{1948, "Flag of South Korea (1945-1948).svg"},
{1949, "Flag of South Korea (1948-1949).svg"},
{1984, "Flag of South Korea (1949-1984).pngsvg"},
{1997, "Flag of South Korea (1984-1997).svg"},
{2011, "Flag of South Korea (1997-2011).svg"},
Line 879 ⟶ 944:
name = "Kuwait",
"Flag of Kuwait.svg",
["Summer Olympics"] = "Flag of Kuwait (3-2).svg",
["Winter Olympics"] = "Flag of Kuwait (3-2).svg",
},
LAO = {
Line 888 ⟶ 955:
name = "Latvia",
"Flag of Latvia.svg",
["Summer Olympics"] = "Flag of Latvia (3-2).svg",
["Winter Olympics"] = "Flag of Latvia (3-2).svg",
},
LBA = {
name = "Libya",
{1968, "Flag of Libya (19511951–1969).svg"},
{1972, "Flag of Libya (1969–1972).svg"},
{1977, "Flag of Libya (1972–1977).svg"},
{2011, "Flag of Libya (1977-20111977–2011).svg"},
"Flag of Libya.svg",
},
LBN = {
name = "Lebanon",
{1990, "Flag of Lebanon (1943-1995).svg"},
"Flag of Lebanon.svg",
},
Line 914 ⟶ 984:
LES = {
name = "Lesotho",
{1987, "Flag of Lesotho (19661966–1987).svg"},
{2006, "Flag of Lesotho (1987-2006).svg"},
"Flag of Lesotho.svg",
Line 922 ⟶ 992:
{1921, "Flag of Liechtenstein (1852-1921).svg"},
{1937, "Flag of Liechtenstein (1921-1937).svg"},
{1982, "Flag of Liechtenstein (1937–1982).svg"},
"Flag of Liechtenstein.svg",
["Summer Olympics"] = {
[1936] = "Flag of Liechtenstein (1936 Summer Olympics).svg",
},
},
LTU = {
Line 939 ⟶ 1,013:
[1980] = "Olympic flag.svg",
},
},
MAA = {
name = "Sint Maarten",
"Flag of Sint Maarten.svg",
},
MAC = {
Line 974 ⟶ 1,052:
name = "Moldova",
"Flag of Moldova.svg",
["Summer Olympics"] = "Flag of Moldova (3-2).svg",
["Winter Olympics"] = "Flag of Moldova (3-2).svg",
},
MDV = {
Line 982 ⟶ 1,062:
name = "Mexico",
{1916, "Flag of Mexico (1893-1916).svg"},
{1934, "Flag of the United Mexican StatesMexico (1916-19341916–1934).svg"},
{1968, "Flag of Mexico (1934-1968).svg"},
"Flag of Mexico.svg",
Line 991 ⟶ 1,071:
MGL = {
name = "Mongolia",
{1991, "Flag of the Mongolian People's Republic of Mongolia (1940-19921945–1992).svg"},
"Flag of Mongolia.svg",
["Winter Olympics"] = {
Line 1,012 ⟶ 1,092:
name = "North Macedonia",
"Flag of North Macedonia.svg",
["Summer Olympics"] = "Flag of North Macedonia (3-2).svg",
["Winter Olympics"] = "Flag of North Macedonia (3-2).svg",
},
MLI = {
Line 1,045 ⟶ 1,127:
MRI = {
name = "Mauritius",
{1923, "Flag of Mauritius 1906(1906–1923).svg"},
{1968, "Flag of Mauritius 1923(1923–1968).svg"},
"Flag of Mauritius.svg",
},
Line 1,057 ⟶ 1,139:
name = "Myanmar",
{1973, "Flag of Burma (1948-1974).svg"},
{20102009, "Flag of Myanmar (1974-2010).svg"},
"Flag of Myanmar.svg",
["Summer Youth Olympics"] = {
[2010] = "Flag of Myanmar (1974-2010).svg",
},
},
NAM = {
Line 1,100 ⟶ 1,185:
NGR = {
name = "Nigeria",
{19601952, "Flag of BritishNigeria Colonial Nigeria(1914–1952).svg"},
{1960, "Flag of Nigeria (1952–1960).svg"},
"Flag of Nigeria.svg",
},
Line 1,114 ⟶ 1,200:
name = "Niue",
"Flag of Niue.svg",
["Summer Olympics"] = "Flag of Niue (3-2).svg",
["Winter Olympics"] = "Flag of Niue (3-2).svg",
},
NMI = {
Line 1,126 ⟶ 1,214:
name = "Neutral Paralympic Athletes",
"Paralympic flag.svg",
["Summer Paralympics"] = {
[2024] = "Flag of Neutral Paralympic Athletes (Paris 2024).svg",
},
},
NRH = {
Line 1,174 ⟶ 1,265:
PHI = {
name = "Philippines",
{19361935, "Flag of the Philippines (1919-1936).svg"},
{1984, "Flag of the Philippines (navy1936–1985, blue1986–1998).svg"},
{1986, "Flag_of_the_Philippines_(light_blue).svg"},
{1997, "Flag of the Philippines (navy1936–1985, blue1986–1998).svg"},
"Flag of the Philippines.svg",
["Asian Games"] = {
Line 1,234 ⟶ 1,325:
name = "Qatar",
"Flag of Qatar.svg",
["Summer Olympics"] = "Flag of Qatar (3-2).svg",
["Winter Olympics"] = "Flag of Qatar (3-2).svg",
},
RHO = {
Line 1,261 ⟶ 1,354:
ROC_2020 = {
name = "ROC",
"Russian Olympic Committee flag.svgpng",
},
ROM = {
Line 1,273 ⟶ 1,366:
RPC = {
name = "RPC",
"Russian Paralympic Committee flagspecial emblem (2021Tokyo 2020, Beijing 2022).svgjpg",
},
RPT = {
Line 1,281 ⟶ 1,374:
RSA = {
name = "South Africa",
{19121910, "Flag of the United Kingdom.svg"},
{19281927, "Red Ensign of South Africa (1912-19281912–1951).svg"},
{1994, "Flag of South Africa (1928-19941928–1982).svg"},
"Flag of South Africa.svg",
["Winter Olympics"] = {
Line 1,337 ⟶ 1,430:
SEY = {
name = "Seychelles",
{19961995, "Flag of the Seychelles (1977-19961977–1996).svg"},
"Flag of Seychelles.svg",
["Summer Olympics"] = {
[1996] = "Flag of Seychelles.svg",
},
},
SGP = {
Line 1,366 ⟶ 1,456:
name = "Slovenia",
"Flag of Slovenia.svg",
["Summer Olympics"] = "Civil Ensign of Slovenia.svg",
["Winter Olympics"] = "Civil Ensign of Slovenia.svg",
},
SMF = {
name = "Suspended Member Federation",
{2022, "FINA logo cropped.svg"},
"Flag of World Aquatics.svg",
},
SMR = {
Line 1,409 ⟶ 1,506:
STP = {
name = "São Tomé and Príncipe",
"Flag of SaoSão TomeTomé and PrincipePríncipe.svg",
},
SUD = {
Line 1,420 ⟶ 1,517:
"Flag of Switzerland.svg",
["Summer Olympics"] = {
"Civil Ensign of Switzerland (Pantone).svg",
[1980] = "Olympic flag.svg",
["Winter Olympics"] = "Civil Ensign of Switzerland (Pantone).svg",
},
},
Line 1,442 ⟶ 1,541:
name = "Sweden",
{1905, "Swedish civil ensign (1844–1905).svg"},
{1906, "Flag of Sweden (pre-1906).svg"},
"Flag of Sweden.svg",
},
Line 1,454 ⟶ 1,554:
SYR = {
name = "Syria",
{1958, "Flag of Syria (1932-1958;1930–1958, 1961-19631961–1963).svg"},
{1961, "Flag of the United Arab Republic (1958–1971).svg"},
{1963, "Flag of Syria (1932-1958;1930–1958, 1961-19631961–1963).svg"},
{1971, "Flag of Syria (1963–1972).svg"},
{1979, "Flag of Syria (1972-19801972–1980).svg"},
{2024, "Flag of the United Arab Republic (1958–1971), Flag of Syria (1980–2024).svg"},
"Flag of Syria.svg",
},
Line 1,507 ⟶ 1,608:
},
TLS = {
name = "East Timor-Leste",
"Flag of East Timor.svg",
},
Line 1,518 ⟶ 1,619:
{1979, "Flag of the Republic of China.svg"},
"Flag of Chinese Taipei for Olympic games.svg",
["Olympics"] = "Flag of Chinese Taipei for Olympic games.svg",
["Summer Olympics"] = "Flag of Chinese Taipei for Olympic games.svg",
["Winter Olympics"] = "Flag of Chinese Taipei for Olympic games.svg",
["Asian Para Games"] = "Chinese Taipei Paralympic Flag.svg",
["Summer Paralympics"] = "Chinese Taipei Paralympic Flag.svg",
Line 1,526 ⟶ 1,624:
["Summer Universiade"] = "Flag of Chinese Taipei for Universiade.svg",
["Winter Universiade"] = "Flag of Chinese Taipei for Universiade.svg",
["Summer World University Games"] = "Flag of Chinese Taipei for Universiade.svg",
["Winter World University Games"] = "Flag of Chinese Taipei for Universiade.svg",
},
TRI = {
name = "Trinidad and Tobago",
{1958, "Flag of Trinidad and Tobago 1889-1958(1889–1958).svg"},
"Flag of Trinidad and Tobago.svg",
},
TUN = {
name = "Tunisia",
{1999, "Pre-1999 Flag of Tunisia (1959–1999).svg"},
"Flag of Tunisia.svg",
},
Line 1,545 ⟶ 1,645:
name = "Tuvalu",
"Flag of Tuvalu.svg",
["Summer Olympics"] = "Flag of Tuvalu (3-2).svg",
["Winter Olympics"] = "Flag of Tuvalu (3-2).svg",
},
UAE = {
Line 1,584 ⟶ 1,686:
[1912] = "US flag 48 stars.svg",
[1960] = "Flag of the United States.svg",
},
["Pan American Games"] = {
[1959] = "US flag 49 stars.svg",
},
},
Line 1,589 ⟶ 1,694:
name = "Uzbekistan",
"Flag of Uzbekistan.svg",
["Summer Olympics"] = "Flag of Uzbekistan (3-2).svg",
["Winter Olympics"] = "Flag of Uzbekistan (3-2).svg",
},
VAN = {
Line 1,602 ⟶ 1,709:
["Summer Olympics"] = {
[2020] = "Flag of Venezuela (state).svg",
[2024] = "Flag of Venezuela (state).svg",
},
},
Line 1,654 ⟶ 1,762:
ZAI = {
name = "Zaire",
"Flag of Zaire (1971–1997).svg",
},
ZAM = {