Modul:Country alias: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
k uji coba |
kTidak ada ringkasan suntingan |
||
Baris 69:
local fullName = stripToNil(args.fullName)
if fullName then
year = tonumber(fullName:match('
end
if alias == 'ANG' then
if games == '
alias = 'ANG_CGF'
end
elseif alias == 'ART' then
if games == '
alias = 'ART_AIMAG'
end
elseif alias == 'GBR' then
if games == '
alias = 'GBR_WCA'
elseif games == '
if year == 2018 then
alias = 'GBR_WCA'
Baris 88:
end
elseif alias == 'HKG' then
if games == '
alias = 'HKG_CGF'
end
Baris 103:
elseif alias == 'SWZ' then
if fullName then
if year and year >= 2018 and fullName ~= '
alias = 'SWZ_YO2018'
end
Baris 219:
local games = stripToNil(args[2])
local athletes = stripToNil(args[3])
games = games and (
local parms = {
alias = code,
Baris 259:
-- Implement [[Template:FlagIOCathlete]].
dispType = 'athlete'
args[3] = 'Olimpiade ' .. (args[3] or '')
end
if dispType == 'name' or dispType == 'team' then
Baris 274:
alias = code,
fullName = games,
year = games:match('
games = games:gsub('
}
local fullName = countryAlias(parms)
|