Module:GetRandomCreature

From Caves of Qud Wiki
Revision as of 21:18, 15 June 2019 by Teamtoto (talk | contribs)
Jump to navigation Jump to search

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

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