Module:GetRandomCreature: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
local p = {}
local p = {}
function p.parse(frame)
function p.parse(frame)
     return 'Hello, my ' .. frame.args[1] .. ' is ' .. frame.args[2]
     return string.gsub(frame.args[1],"(%&)(%w)", "%1")
end
end
return p
return p

Revision as of 21:09, 15 June 2019

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

local p = {}
function p.parse(frame)
    return string.gsub(frame.args[1],"(%&)(%w)", "%1")
end
return p