Module:Hearts: Difference between revisions

Want an adless experience? Log in or Create an account.
no edit summary
(Created page with "local p = {} function p.icons( frame ) local icon = { [0] = "link=", [0.25] = "link=", [0.5] = "[[File:1-2 Heart...")
 
No edit summary
Line 11: Line 11:


   local output = {}
   local output = {}
   for i,v in ipairs( frame:parent().args ) do
   for i,v in ipairs( frame:getParent().args ) do
     local num = tonumber( v )
     local num = tonumber( v )
     local whole = math.floor( num )
     local whole = math.floor( num )