Jump to content

Module:Setlist: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
 
Line 30: Line 30:


function Song:makeNumberCell(ordered)
function Song:makeNumberCell(ordered)
local display = ordered and 'n/a' or string.format(cfg.number_terminated, self.number)
local display = ordered and '' or string.format(cfg.number_terminated, self.number)
return mw.html.create('th')
return mw.html.create('th')
:attr('id', string.format(cfg.song_id, self.number))
:attr('id', string.format(cfg.song_id, self.number))