Module:Country alias/data: Difference between revisions
Jump to navigation
Jump to search
(Created page with "-- Constant data used by Module:Country alias. local countryAliases = { -- Countries with identical definitions. ANG_CGF = "AIA", ATG = "ANT", BHR = "BHN", BRN = "BH...") |
(Replaced content with "-- Constant data used by Module:Country alias. local countryAliases = { -- Countries with identical definitions. ANG_CGF = "AIA", ATG = "ANT", BHR = "BHN", BRN =...") Tag: Replaced |
||
Line 52: | Line 52: | ||
}, | }, | ||
}, | }, | ||
VIT = { | |||
name = " | name = "Vitosium", | ||
" | "VitosiumFlag.png", | ||
}, | }, | ||
} | } |
Revision as of 00:55, 3 September 2020
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,
}