Module:Timeline of release years/sandbox: Difference between revisions

Content deleted Content added
Ncfavier (talk | contribs)
add abbr to TBA
Ncfavier (talk | contribs)
fix TBA abbr
Line 73:
:attr('scope', 'row')
:css('border-right', '1.4em solid ' .. color(args, year, itemNum, range))
if year == 'TBA' then
builder = builder:wikitext('{{abbr|TBA|To be announced}}')
else
builder = builder:wikitext(range ~= 0 and year .. '–' .. range or year)
end
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 = builder:wikitext(range ~= 0 and year .. '–' .. range or year)
end
end