Modul:Country alias/sandbox: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
kTidak ada ringkasan suntingan
k uji coba
 
(21 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 67:
local games = stripToNil(args.games)
local fullName = stripToNil(args.fullName)
if fullName then
 
year = tonumber(fullName:match('^%d+')) -- ignore args.year
end
if alias == 'ANG' then
if games == 'Commonwealth Games' then
Baris 202 ⟶ 204:
local games = stripToNil(args[2])
local athletes = stripToNil(args[3])
games = games and ('Olimpiade ' .. games) or 'OlimpiadeOlympics'
local parms = {
alias = code,
fullName = games,
year = games:match('^%d+$'),
games = games:gsub('^%d+$ ?', ''),
}
local fullName = countryAlias(parms)
Baris 257 ⟶ 259:
alias = code,
fullName = games,
year = games:match('^%d+$'),
games = games:gsub('^%d+$ ?', ''),
}
local fullName = countryAlias(parms)