Module:Link
Documentation for this module may be created at Module:Link/doc
local str = {}
function str.producer( frame )
local new_args = str._getParameters( frame.args, { 'source' } )
local content = new_args['source'] or ''
if content == '' then
return content
end
for _i, subject in ipairs({ 'Billy Corgan', 'Butch Vig' }) do
mw.ustring.gsub( content, subject, '[[:Category:Songs produced by ' .. subject .. '|' .. subject .. ']]' )
end
return content
end
return str