יחידה:PropertyLink: הבדלים בין גרסאות בדף

מאין תקציר עריכה
מאין תקציר עריכה
שורה 5: שורה 5:
          
          
         if entity == nil then
         if entity == nil then
             return "Entity not found"
             return nil
         end
         end
         property = entity.claims[frame.args[1]][0]
         property = entity.claims[frame.args[1]]
         if property == nil then
         if property == nil then
             return "property: not found"
             return nil
         end
         end
        property = property[0]
         propValue = property.mainsnak.datavalue
         propValue = property.mainsnak.datavalue
         if propValue ==nil then
         if propValue ==nil then