Module:Country alias/data: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 53: | Line 53: | ||
GAP = { | GAP = { | ||
name = "Gapolania", | name = "Gapolania", | ||
"Gapolania_flag.png" | |||
}, | }, | ||
VIT = { | VIT = { |
Revision as of 18:32, 27 July 2021
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",
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",
},
},
GAP = {
name = "Gapolania",
"Gapolania_flag.png"
},
VIT = {
name = "Vitosium",
"VitosiumFlag.png",
},
VIN = {
name = "Vinalia",
"ProperVinalianFlag.png",
},
}
return {
countryAliases = countryAliases,
countries = countries,
}