Module:GetRandomCreature: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
local p = {} | local p = {} | ||
function p.parse(frame) | function p.parse(frame) | ||
return string.gsub(frame.args[1],"(&)(%w)", "%2") | return string.gsub(frame.args[1],"(&)(%w)(.+)", "{{Color | %2 | %3}} ") | ||
end | end | ||
return p | return p |
Revision as of 21:14, 15 June 2019
Documentation for this module may be created at Module:GetRandomCreature/doc