Modul:Country alias/sandbox: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
k Membalikkan revisi 21774329 oleh Medelam (bicara)
Tag: Pembatalan
kTidak ada ringkasan suntingan
Tag: Pengembalian manual
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 204:
local games = stripToNil(args[2])
local athletes = stripToNil(args[3])
games = games and ('Olimpiade 'games .. games' Olympics') or 'OlimpiadeOlympics'
local parms = {
alias = code,
fullName = games,
year = games:gsubmatch('^%d+ ?', ''),
games = games:matchgsub('^%d+ ?', ''),
}
local fullName = countryAlias(parms)