Modulo:Sandbox/ValterVB/Tracklist: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
ottimizzo gestione stringhe |
m Bot: rimuovo no globals obsoleto |
||
(10 versioni intermedie di un altro utente non mostrate) | |||
Riga 1:
require('
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 72:
end
wdBasatoSu = mWikidata._getClaims('P144', { from = ddato })
if next(wdBasatoSu) ~= nil then
ss = ss .. ' <small>Basato su: '
i = 1
|