Anonimo

Modulo:DTGenerico: differenze tra le versioni

Da Wikitrek.
m
nessun oggetto della modifica
(New routine for navigator tables)
mNessun oggetto della modifica
Riga 85: Riga 85:
local HTMLTable
local HTMLTable
local CollectionTable = ''
local CollectionTable = ''
local ExcludeP = {P3 = true, P7 = true, P14 = false, P21 = true, P23 = true, P26 = true, P30 = true, P37 = true, P58 = true, P68 = true, P52 = true, P79 = true, P90 = true}
local ExcludeP = {P3 = true, P7 = true, P14 = false, P21 = true, P23 = true, P26 = true, P30 = true, P37 = true,  P46 = true, P58 = true, P68 = true, P52 = true, P79 = true, P90 = true}
local POnTree = {}
local POnTree = {}
local Item = mw.wikibase.getEntity()
local Item = mw.wikibase.getEntity()
Riga 275: Riga 275:
if Item.claims['P46'] then
if Item.claims['P46'] then
-- Arc
-- Arc
CollectionTable = CollectionTable .. string.char(10) .. MakeNavTable(Item.claims[Property][1].qualifiers, Item.claims[Property][1].mainsnak.datavalue.value)
CollectionTable = CollectionTable .. string.char(10) .. MakeNavTable(Item.claims["P46"][1].qualifiers, Item.claims["P46"][1].mainsnak.datavalue.value)
end
end