Module:Country alias/data

< Module:Country alias
Revision as of 00:55, 3 September 2020 by Vitosium (talk | contribs) (Replaced content with "-- Constant data used by Module:Country alias. local countryAliases = { -- Countries with identical definitions. ANG_CGF = "AIA", ATG = "ANT", BHR = "BHN", BRN =...")
Jump to navigation Jump to search

Documentation for this module may be created at Module:Country alias/data/doc

-- Constant data used by [[Module:Country alias]].

local countryAliases = {
	-- Countries with identical definitions.
	ANG_CGF = "AIA",
	ATG = "ANT",
	BHR = "BHN",
	BRN = "BHN",
	CUW = "CUR",
	FRO = "FAR",
	GUE = "GGY",
	HOL = "NED",
	IOA = "AOI",
	IRN = "IRI",
	JEY = "JER",
	LIB = "LBN",
	MSR = "MNT",
	NGU = "PNG",
	NIC = "NCA",
	NFK = "NFI",
	OMN = "OMA",
	ROT = "ROA",
	ROU = "ROM",
	SHN = "SHE",
	VIN = "SVG",
	SWK = "SAR",
	SIN = "SGP",
	SAF = "RSA",
	SAU = "KSA",
	TON = "TGA",
	TTO = "TRI",
	TCI = "TCA",
	TKS = "TCA",
	TMP = "TLS",
}

local countries = {
	EXA = {                             -- example for testing
		name = "Example Country",
		{1951, "Flag1951.svg"},         -- year <= 1951
		{1995, "Flag1995.svg"},         -- 1951 < year <= 1995
		"Flag of test.svg",             -- otherwise
		["Paralympics"] = "Paralympics.svg",
		["Summer Olympics"] = {
			[1948] = "SO1948.svg",
			[1952] = "SO1952.svg",
			[1980] = "SO1980.svg",
		},
		["Winter Olympics"] = {
			[1956] = "WO1956.svg",
			[1964] = "WO1964.svg",
		},
	},
	VIT = {
		name = "Vitosium",
		"VitosiumFlag.png",
	},
}

return {
	countryAliases = countryAliases,
	countries = countries,
}