66 513
contributi
mNessun oggetto della modifica |
mNessun oggetto della modifica |
||
Riga 175: | Riga 175: | ||
--local PropValue = table.concat(PropertiesOnTree(Prop[1], Prop[2], Prop[3], true)) | --local PropValue = table.concat(PropertiesOnTree(Prop[1], Prop[2], Prop[3], true)) | ||
local PropValue = PropertiesOnTree(Prop[1], Prop[2], Prop[3], true) | local PropValue = PropertiesOnTree(Prop[1], Prop[2], Prop[3], true) | ||
if type(PropValue) == "table" then | |||
PropValue = table.concat(PropValue) | |||
end | |||
if (PropValue ~= nil) and (PropValue ~= "") then | if (PropValue ~= nil) and (PropValue ~= "") then | ||
local PropName = mw.wikibase.getLabelByLang(Prop[1], 'it') or mw.wikibase.getLabel(Prop[1]) | local PropName = mw.wikibase.getLabelByLang(Prop[1], 'it') or mw.wikibase.getLabel(Prop[1]) |