Modul:Goalscorers: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
k Catalyszczowski memindahkan halaman Modul:Goalscorers/data/Kualifikasi Piala Dunia FIFA 2022 (AFC) ke Modul:Goalscorers tanpa membuat pengalihan: Kesalahan penamaan |
Tidak ada ringkasan suntingan |
||
Baris 85:
function p.addIntroductorySentence() -- add introductory text
local totalGoalString = "
--There were [has been|have been|was|were] #GOALS goal(s) scored in #MATCHES match(s), for an average of #GOALS/#MATCHES per match.
Baris 97:
if g.totalGoals == 1 then
pluralGoals = ""
if dateUpdated == 'complete' then text1 = "
else
if dateUpdated == 'complete' then text1 = "
end
local text = string.format("
local pluralMatches = "
if matches==1 then pluralMatches = "" end
if matches then
Baris 111:
average = tostring (average)
local pluralAverage = "
if tonumber(string.format("%.2f",average))==1 then pluralAverage = "" end
text = text .. string.format("
end
|