יחידה:תבנית מידע/אישיות: הבדלים בין גרסאות בדף

מאין תקציר עריכה
מאין תקציר עריכה
שורה 156: שורה 156:
})
})
usingBirthWikidata = usingBirthWikidata or usingBirthWikidataEvent
usingBirthWikidata = usingBirthWikidata or usingBirthWikidataEvent
else
else
    if templateArgs['מקום לידה']~= '-' and templateArgs['מקום לידה']~= '' and  templateArgs['מקום לידה']~=nil and #templateArgs['מקום לידה']>0 then
if templateArgs['מקום לידה']~= '-' then
--and templateArgs['מקום לידה']~= '' and  templateArgs['מקום לידה']~=nil and #templateArgs['מקום לידה']>0 then
fillWikidataParam(templateArgs, 'מקום לידה', 'P19', infoObj)
table.insert(infoObj.templateStructure, 1, {
table.insert(infoObj.templateStructure, 1, {
    label=birthLabel,
label=birthLabel,
    data= templateArgs['מקום לידה']
data= templateArgs['מקום לידה']
})
})
fillWikidataParam(templateArgs, 'מקום לידה', 'P19', infoObj)
end
  end
end
    end
if deathDate~=nil then
if deathDate~=nil then