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

Contenuto cancellato Contenuto aggiunto
.
prova così
Riga 12:
local genere, nome
local ret
wdEtnico = mWikidata._getClaims('P1549', { from = dato, includelang = 'it' })
 
ss = ''
Riga 18:
if wdEtnico then
for _, nome_abitanti in ipairs(wdEtnico) do
nome = mWikidata._formatStatement(nome_abitanti, { includelang = 'it'} )
if genere == nil then
genere = 'n.d.'
Riga 28:
end
end
ssgenere = ss .. nome .. '\'\' (' .. genere .. ')' .. '<br/>'
ss = ss .. (nome ~= '' and genere or '')
end
end