Module:Main Page RSS
Jump to navigation
Jump to search
Documentation for this module may be created at Module:Main Page RSS/doc
local p = {}
function p.rss( f )
local args = f
if f == mw.getCurrentFrame() then
args = f:getParent().args
end
if args.title ~= nil then
args.title = "\'\'\'" .. args.title .. "\'\'\'"
else
args.title = f:expandTemplate{ title= 'Template:Version²'}
end
return args.title
end
return p