Module:MerlinAPI

From Coder Merlin
Revision as of 00:08, 12 April 2021 by Yong-yan (talk | contribs) (Created page with "-- returns: url to be used for this user's igis url local p = {} --p stands for package function p.igisURL( frame ) userName = string.lower(frame:callParserFunction{ name =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

-- returns: url to be used for this user's igis url
local p = {} --p stands for package

function p.igisURL( frame )
	userName = string.lower(frame:callParserFunction{ name = '#username', args = { "anonymous" } })
    return "https://www.codermerlin.com/igis/" .. userName .. "/"
end

return p