Module:MD5

From Seeds of the Word, the encyclopedia of the influence of the Gospel on culture
Revision as of 00:29, September 10, 2020 by Johnrdorazio (talk | contribs) (Created page with "local p = {} local getArgs = require('Module:Arguments').getArgs function p.main(frame) local args = getArgs(frame, { --we will only consider arguments that are pass...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

local p = {}
local getArgs = require('Module:Arguments').getArgs

function p.main(frame)
    local args = getArgs(frame, {
    	--we will only consider arguments that are passed by the template itself in the invoke
    	frameOnly = true
    })
    -- let's make sure defaults are set
    args.value = args.value or ""
    return mw.hash.hashValue('md5',args.value)
end
return p