Modulo:DTGenerico: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
m
nessun oggetto della modifica
mNessun oggetto della modifica
mNessun oggetto della modifica
Riga 222: Riga 222:
InstanceQ = Item.claims[Property][1].mainsnak.datavalue.value.id
InstanceQ = Item.claims[Property][1].mainsnak.datavalue.value.id
RootInstanceQ = PropertiesOnTree("P14", 3, false, false, false)
RootInstanceQ = PropertiesOnTree("P14", 3, false, false, false)
mw.smw.set("Totale=" .. table.concat(RootInstanceQ))
mw.smw.set("Totale=" .. RootInstanceQ)
if #RootInstanceQ > 1 then
if #RootInstanceQ > 1 then
--Second to last resul, because last one should always be a Class, the topmost Instance possible
--Second to last resul, because last one should always be a Class, the topmost Instance possible

Menu di navigazione