Modulo:Tracce/sandbox: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
test |
Nessun oggetto della modifica |
||
Riga 20:
]]--
local function track(args, i, corsivo)
local titolo = args["Titolo" .. i] or ""
if titolo ~="" then
Riga 27:
interprete = args["Interprete" .. i] or ""
if interprete ~= "" then table.insert(row_elements, interprete .. " – ") end
(not corsivo and (args["Corsivo" .. i] == "sì" or args["Corsivo" .. i] == "si")) then
titolo = safeforitalics(titolo)
end
local featuring = args["Featuring" .. i] or ""
if featuring ~= "" then table.insert(row_elements, " <small>(feat. " .. featuring .. ")</small>") end
Line 54 ⟶ 58:
table.insert(row_elements, " <small>(" .. AutoreTestoeMusica )
elseif AutoreTesto ~= "" then
table.insert(row_elements, " <small>(
if AutoreMusica ~="" then
table.insert(row_elements, "
end
elseif AutoreMusica ~= "" then
table.insert(row_elements, " <small>(
else
no_autore = true
Line 67 ⟶ 71:
table.insert(row_elements, " <small>(")
else
table.insert(row_elements, "; ")
end
table.insert(row_elements, "edizioni musicali " .. edizioni .. ")</small>")
Line 119 ⟶ 123:
testata = testata .. "."
end
local corsivo = true
▲ table.insert(tracks, testata)
if args["Corsivo"] == "no" then
corsivo = false
end
table.insert(tracks, testata, corsivo)
-- compone la lista dei parametri
local i = primo_titolo
|