Module:Replace IB

local exports = {};

function exports.main(frame) return frame:preprocess(frame:preprocess(frame:preprocess(frame.args[1]:gsub("{{ib:{{", "{{subst:#invoke:IsArg|isarg|{{subst:#invoke:echo|echo|")):gsub("__IB_SUBST", "subst"))):gsub("__IB_SUBST2", "subst"); end

return exports;