Content deleted Content added
m different class |
No edit summary |
||
Line 90:
function p.main(frame)
local args = getArgs(frame)
return p._main(args, frame:extensionTag{ name = 'templatestyles', args = { src = 'Timeline of release years/styles.css'} })
end
function p._main(args, templatestyles)
-- Main module code goes here.
local currentyear = os.date('%Y')
Line 107:
:addClass('rt_caption')
:addClass('nowrap')
:wikitext((args.title or 'Release timeline')..(args.subtitle and ('<div class="rt_subtitle
if tonumber(args.first) then
Line 118:
end
end
firstyear = firstyear or (currentyear + 3)
end
Line 140 ⟶ 141:
end
return templatestyles .. tostring(ret)
end
|