Changes

m
no edit summary
Line 69: Line 69:     
function formatDifficulty(stars)
 
function formatDifficulty(stars)
     return stars > 10 and [[<span style="font-size:150%">'''☆'''</span>]] .. string.rep("☆", stars - 10) or string.rep("☆", stars) or "?"
+
     local result = stars > 10 and [[<span style="font-size:150%">'''☆'''</span>]] .. string.rep("☆", stars - 10) or string.rep("☆", stars) or "?"
 +
    return string.format("%s (%d)", result, stars)
 
end
 
end
  
cssedit, gkautomate
7,064

edits