Module:Replace

-- Simple find-and-replace that can be used on text templates so that there's less of a need for instances of nearly identical text. -- Usage:

local p

function printList(frame) params = frame:getParent.args text = params[1] string.gsub(text, params[2], params[3]) end

return p