יחידה:PropertyLink: הבדלים בין גרסאות בדף
מאין תקציר עריכה |
מאין תקציר עריכה |
||
| שורה 7: | שורה 7: | ||
return "Entity not found" | return "Entity not found" | ||
end | end | ||
property = entity.claims[ | property = entity.claims[p70][0] | ||
if property == nil then | if property == nil then | ||
return | return "property not found" | ||
end | end | ||
propValue = property.mainsnak.datavalue | propValue = property.mainsnak.datavalue | ||