Module:Songs: Difference between revisions

Jump to navigation Jump to search
46 bytes added ,  Thursday at 00:18
m
no edit summary
No edit summary
mNo edit summary
Line 80: Line 80:
local checked = {}
local checked = {}
for _, row in ipairs(results) do
for _, row in ipairs(results) do
local singers = mw.text.split(row.singers, ", ")
if row.song_title and row.song_title ~= "" and not string.find(row.song_title, "% Size%)") and not string.find(row.song_title, "% Remix%)") then
if row.song_title and row.song_title ~= "" and not string.find(row.song_title, "% Size%)") and not string.find(row.song_title, "% Remix%)") then
             if not row.type or row.type == "solover" or row.type == "solo" then
             if not row.type or row.type == "solover" or row.type == "solo" then
if row.type == "solover" then
if row.type == "solover" then
                     type = "'''" .. horseName .. " ver.'''"
                     type = "'''" .. horseName .. " ver.'''"
                 elseif row.type == "solo" then
                 elseif #singers == 1 then
                     type = "'''Solo'''"
                     type = "'''Solo'''"
                 else
                 else

Navigation menu