Difference between revisions of "Module:IconBar"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
− | function p.hearts(frame | + | function p.hearts(frame) |
− | num = | + | 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]]" |