66 773
contributi
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 109: | Riga 109: | ||
end | end | ||
AllRows[#AllRows + 1] = {{"P40", "Affiliazione:"}, {AffiliationTree(frame)}} | --[==[AllRows[#AllRows + 1] = {{"P40", "Affiliazione:"}, {AffiliationTree(frame)}} | ||
AllRows[#AllRows + 1] = {{"P41", "Operatore:"}, {OperatorTree(frame)}} | AllRows[#AllRows + 1] = {{"P41", "Operatore:"}, {OperatorTree(frame)}} | ||
AllRows[#AllRows + 1] = {{"P88", "Classe navale:"}, {table.concat(PropertiesOnTree("P88", 3, false))}} | AllRows[#AllRows + 1] = {{"P88", "Classe navale:"}, {table.concat(PropertiesOnTree("P88", 3, false))}} | ||
Riga 115: | Riga 115: | ||
mw.smw.set("Affiliazione=" .. AffiliationTree(frame)) | mw.smw.set("Affiliazione=" .. AffiliationTree(frame)) | ||
mw.smw.set("Operatore=" .. OperatorTree(frame)) | mw.smw.set("Operatore=" .. OperatorTree(frame)) | ||
end | end]==] | ||
else | else | ||
local Header = {Property, (mw.wikibase.getLabelByLang(Property, 'it') or mw.wikibase.getLabel(Property)) .. ":"} -- or {Property, mw.wikibase.getLabel(Property) .. ":"} --'-' .. Property .. ":"} | local Header = {Property, (mw.wikibase.getLabelByLang(Property, 'it') or mw.wikibase.getLabel(Property)) .. ":"} -- or {Property, mw.wikibase.getLabel(Property) .. ":"} --'-' .. Property .. ":"} |