Module:Country alias: Διαφορά μεταξύ των αναθεωρήσεων

Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Χωρίς σύνοψη επεξεργασίας
Χωρίς σύνοψη επεξεργασίας
Γραμμή 39:
French Polynesia PYF, TAH - TAH has been converted to Tahiti per SILENCE
]]
local function getAlias(args)
-- Return alias parameter, possibly modified for exceptional cases.
local alias = stripToNil(args.alias)
local games = stripToNil(args.games)
local year = tonumber(args.year)
local fullName = stripToNil(args.fullName)
if fullName then
year = tonumber(fullName:match('^%d+')) -- ignore args.year
end
if alias == 'ROC' or alias == 'RUS' then
if year and year==2020 and games=='Θερινούς Ολυμπιακούς Αγώνες' then
alias = 'ROC_2020'
end
end
return alias
end
 
local countries = {
Γραμμή 1.265 ⟶ 1.281 :
{1928, "Flag of the Republic of China (1912-1928).svg"},
"Flag of the Republic of China.svg",
},
ROC_2020 = {
name = "ROC",
"Olympic flag.svg",
},
ROM = {