„Modul:ServiceAward” változatai közötti eltérés

Use min instead of the avg of the values
a (nulledit)
(Use min instead of the avg of the values)
local editPercentage = userEdits / editsToNextRank
local daysPercentage = userActiveDays / daysToNextRank
local percentage = math.floor((min(editPercentage +, daysPercentage) / 2) * 1000) / 1000
templateParams.percentage = percentage
end