3,726
edits
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
Line 129: | Line 129: | ||
if r > 1 then | if r > 1 then | ||
local prev_song = results[r - 1] | local prev_song = results[r - 1] | ||
wikitext = wikitext | wikitext = wikitext .. prev_song.track .. '.<br/>"[[' .. prev_song.song .. ']]"' | ||
end | end | ||
wikitext = wikitext .. "\n| style='width: 33%; text-align: center; vertical-align: top; padding: .2em .1em' |" | wikitext = wikitext .. "\n| style='width: 33%; text-align: center; vertical-align: top; padding: .2em .1em' |" | ||
wikitext = wikitext | wikitext = wikitext .. result.track .. '.<br/>"[[' .. result.song .. ']]"' | ||
wikitext = wikitext .. "\n| style='width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em' |" | wikitext = wikitext .. "\n| style='width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em' |" | ||
if results[r + 1] ~= nil then | if results[r + 1] ~= nil then | ||
local next_song = results[r + 1] | local next_song = results[r + 1] | ||
wikitext = wikitext .. '"[[' .. next_song.song .. ']]" | wikitext = wikitext .. next_song.track '.<br/>"[[' .. next_song.song .. ']]"' | ||
end | end | ||