Module:Timeline of release years: Difference between revisions

Content deleted Content added
use require('strict') instead of require('Module:No globals')
Ncfavier (talk | contribs)
Add abbr tag on 'TBA' rows
 
Line 73:
:attr('scope', 'row')
:css('border-right', '1.4em solid ' .. color(args, year, itemNum, range))
:wikitext(range ~= 0 and year .. '–' .. range or year)
if itemNum > 1 then
builder = builder:attr('rowspan', itemNum)
end
if year == 'TBA' then
builder:tag('abbr'):attr('title', 'To be announced'):wikitext('TBA')
else
builder:wikitext(range ~= 0 and year .. '–' .. range or year)
end
end