Module:Songs: Difference between revisions

Jump to navigation Jump to search
13 bytes added ,  Thursday at 00:58
m
no edit summary
mNo edit summary
mNo edit summary
Line 69: Line 69:
local singers = mw.text.split(row.singers, ",")
local singers = mw.text.split(row.singers, ",")


local type
local type = nil
if row.type == "solover" then
if row.type == "solover" then
type = "'''" .. horseName .. " ver.'''"
type = "'''" .. horseName .. " ver.'''"
Line 78: Line 78:
end
end


if type then
if type ~= nil then
table.insert(rows, { song = row.song_title, album = row.album, type = row.type })
table.insert(rows, { song = row.song_title, album = row.album, type = row.type })
rowspans[row.song_title] = (rowspans[row.song_title] or 0) + 1
rowspans[row.song_title] = (rowspans[row.song_title] or 0) + 1

Navigation menu