Module:GuyPerfect: Difference between revisions

From Inkipedia, the Splatoon wiki
mNo edit summary
mNo edit summary
Line 7: Line 7:
         ret = ret .. "*" .. k .. " = " .. v .. "\n"
         ret = ret .. "*" .. k .. " = " .. v .. "\n"
     end
     end
    ret = frame.args.foo


     return ret
     return ret

Revision as of 01:19, 22 February 2018

Documentation for this module may be created at Module:GuyPerfect/doc

local p = {}

function p.hello(frame)
    local ret = "Arguments: " .. #frame.args .. "\n"

    for k,v in pairs(frame.args) do
        ret = ret .. "*" .. k .. " = " .. v .. "\n"
    end

    return ret
end

return p