Module:Live song: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 3: Line 3:
function p._entry(name, title, note, cover, tease, abandoned)
function p._entry(name, title, note, cover, tease, abandoned)
local out = '"'
local out = '"'
mw.logObject(title)
mw.logObject(cover)
mw.logObject(tease)


if cover ~= '' and (tease ~= '' or abandoned ~= '') then
if cover ~= '' and (tease ~= '' or abandoned ~= '') then
Line 28: Line 25:


if cover ~= '' then
if cover ~= '' then
out = out .. '<nowiki>[</nowiki>' .. cover .. '<nowiki>]</nowiki>&nbsp;'
out = out .. '[' .. cover .. ']&nbsp;'
end
end