Modulo:Sandbox/ValterVB/Tracklist: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
.
Omega Bot (discussione | contributi)
m Bot: rimuovo no globals obsoleto
 
(3 versioni intermedie di un altro utente non mostrate)
Riga 1:
require('Module:No globalsstrict')
local getArgs = require('Module:Arguments').getArgs
local mWikidata = require('Modulo:Wikidata')
Riga 50:
ddato = traccia.mainsnak.datavalue.value.id
wdAutori = mWikidata._getClaims('P86', { from = ddato })
if #wdAutori > 0 then
ss = ss .. ' <small>Comp.: '
i = 1
Riga 61:
end
wdParole = mWikidata._getClaims('P676', { from = ddato })
if #wdParole > 0 then
ss = ss .. ' <small>Parol.: '
i = 1
Riga 73:
wdBasatoSu = mWikidata._getClaims('P144', { from = ddato })
if next(wdBasatoSu) ~= nil then
ss = ss .. ' <small>Basato su: '
i = 1
Riga 81:
ss = ss .. mWikidata._formatStatement(basato)
end
ss = ss .. '</small>' .. tostring(wdBasatoSu)
end
end