66 773
contributi
(Improved arc and prepared for table Caption) |
m (Redundant colon removed) |
||
Riga 132: | Riga 132: | ||
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]) | ||
AllRows[#AllRows + 1] = {{Prop[1], PropName .. ":"}, {PropValue}} | --AllRows[#AllRows + 1] = {{Prop[1], PropName .. ":"}, {PropValue}} | ||
AllRows[#AllRows + 1] = {{Prop[1], PropName}, {PropValue}} | |||
if AddSemantic then | if AddSemantic then | ||
mw.smw.set(PropName .. "=" .. PropValue) | mw.smw.set(PropName .. "=" .. PropValue) |