Module:Main Page RSS
Revision as of 00:06, 23 February 2015 by KamranMackey (talk | contribs) (Rephrased some stuff in the Main Page RSS module.)
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 "<pre><span style=\"color:#006400\"> The \'\'\'Latest IndustrialCraft²\'\'\' version is " .. args.title .. " and can be downloaded from the awesome <span class=\"plainlinks\">[http://jenkins.ic2.player.to/job/IC2_experimental/ <span style=\"color:#006400; text-decoration:underline;\">IndustrialCraft² Jenkins</span>]</span>!</span></pre>" end return p