Modul:Goalscorers: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
kTidak ada ringkasan suntingan
Baris 101:
if dateUpdated == 'complete' then text1 = " " else text1 = " " end
end
local text = string.format("Sebanyak %s %s goalgol%s telah dicetak", text1, mw.getLanguage('en'):formatNum(g.totalGoals), pluralGoals)
local pluralMatches = "."
Baris 111:
average = tostring (average)
 
local pluralAverage = "."
if tonumber(string.format("%.2f",average))==1 then pluralAverage = "" end
text = text .. string.format(" pada %d matchpertandingan%s, dengan rata-rata %."..precision.."g goalgol%s per pertandingan", matches, pluralMatches, average, pluralAverage)
end
Baris 124:
if mdyFormat == false then dateFormat = "dmy" end -- template param overrides
end
text = text .. "  (as ofper " .. Date(dateUpdated):text(dateFormat) .. ")."
end
text = p.addAdditionHeaderText(text, dateUpdated) -- handles template parameters bold, further, extra
Baris 573:
 
local tableString = '\n{| class="wikitable"' -- start table
..'\n|-' .. '\n!RankPeringkat !! PlayerPemain !! GoalsGol' -- add table headers
if g.args['header'] then tableString = tableString .. '\n|+ ' .. g.args['header'] end -- add header
for j,u in pairs(g.goalscorers) do -- run through sorted list of selected goalscorers
Baris 615:
local rowSpan = rankCount
if playerCount > maxRank * 1.5 then
firstplayerCell = '\n| style="font-style:italic;text-align:center;"|' .. rankCount .. " playerspemain"
playerCells = ""
rowSpan = 1