Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:TestAdjuster: Difference between revisions

From Teriock
No edit summary
No edit summary
Line 2: Line 2:


function p.testReplace(frame)
function p.testReplace(frame)
     return "Module is working!"
    local content = frame.args[1] or "No input provided."
     return content:gsub("foo", "bar")
end
end


return p
return p

Revision as of 01:56, 26 December 2024

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

local p = {}

function p.testReplace(frame)
    local content = frame.args[1] or "No input provided."
    return content:gsub("foo", "bar")
end

return p