Difference between revisions of "Module:IconBar"
Jump to navigation
Jump to search
m |
m |
||
Line 2: | Line 2: | ||
function p.hearts(frame) | function p.hearts(frame) | ||
− | local num = frame.args[1] or 1 | + | local num = tonumber(frame.args[1]) or 1 |
if num == 0 then | if num == 0 then | ||
return "[[File:Empty heart.png|16px]]" | return "[[File:Empty heart.png|16px]]" |