Module:Replace IB

local exports = {};

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

return exports;