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

Content deleted Content added
use require('strict') instead of require('Module:No globals')
Ncfavier (talk | contribs)
add abbr to TBA
Line 73:
:attr('scope', 'row')
:css('border-right', '1.4em solid ' .. color(args, year, itemNum, range))
if year == 'TBA' then
:wikitext(range ~= 0 and year .. '–' .. range or year)
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)