Modulo:DTGenerico: differenze tra le versioni

Vai alla navigazione Vai alla ricerca
m
ListProp
m (Test)
m (ListProp)
Riga 90: Riga 90:
local AstroRA = nil
local AstroRA = nil
local AstroD = nil
local AstroD = nil
local ListProp = {}
if not Item then
if not Item then
Riga 139: Riga 140:
for _, Property in pairs(AllP) do
for _, Property in pairs(AllP) do
table.insert(ListProp, Property)
if (not ExcludeP[Property]) and Item.claims[Property][1].mainsnak.datatype ~= 'external-id' then
if (not ExcludeP[Property]) and Item.claims[Property][1].mainsnak.datatype ~= 'external-id' then
if Property == "P46" then
if Property == "P46" then
Riga 379: Riga 381:
end
end
end
end
mw.smw.set("ListProp=" .. table.concat(ListProp, ", "))
HTMLTable = TableFromArray(AllRows)
HTMLTable = TableFromArray(AllRows)

Menu di navigazione