אונטערשייד צווישן ווערסיעס פון "יחידה:אינפאקעסטל/פערזענליכקייט"

קיין רעדאגירונג באמערקונג
ק (צמא לדעת האט באוועגט בלאט יחידה:אינפאקעסטל/פערזענלעכקייט צו יחידה:אינפאקעסטל/פערזענליכקייט אן לאזן א ווייטערפירונג: החלפת טקסט – "פערזענלעכ" ב־"פערזענליכ")
אין תקציר עריכה
שורה 122: שורה 122:
-- fill birth/death dates from wikidata is missing
-- fill birth/death dates from wikidata is missing
usingBirthWikidata = fillWikidataParam(templateArgs, 'געבורט דאטע', 'P569', infoObj)
usingBirthWikidata = fillWikidataParam(templateArgs, 'געבורט דאטום', 'P569', infoObj)
usingDeathWikidata = fillWikidataParam(templateArgs, 'טויט דאטע', 'P570', infoObj)
usingDeathWikidata = fillWikidataParam(templateArgs, 'טויט דאטע', 'P570', infoObj)
local birthDate = getSpeculativeDate(templateArgs['געבורט דאטע'], templateArgs['יידישע געבורט דאטע'])
local birthDate = getSpeculativeDate(templateArgs['געבורט דאטום'], templateArgs['יידישע געבורט דאטום'])
local deathDate = getSpeculativeDate(templateArgs['טויט דאטע'], templateArgs['יידישע טויט דאטע'])
local deathDate = getSpeculativeDate(templateArgs['טויט דאטע'], templateArgs['יידישע טויט דאטע'])
שורה 133: שורה 133:
age = ageModule.ageCalc(birthDate, nil, true, false, true) or ''
age = ageModule.ageCalc(birthDate, nil, true, false, true) or ''
end
end
local birthDetails, usingBirthWikidataEvent = getEventDetails(templateArgs['געבורט דאטע'], templateArgs['יידישע געבורט דאטע'], templateArgs['געבורט ארט'], 'P569', 'P19', age, usingBirthWikidata, infoObj.args.entityId)
local birthDetails, usingBirthWikidataEvent = getEventDetails(templateArgs['געבורט דאטום'], templateArgs['יידישע געבורט דאטום'], templateArgs['געבורט ארט'], 'P569', 'P19', age, usingBirthWikidata, infoObj.args.entityId)
table.insert(infoObj.templateStructure, 1, {
table.insert(infoObj.templateStructure, 1, {
label='געבורט',
label='געבורט',
שורה 162: שורה 162:
table.insert(infoObj.templateStructure, 1, {
table.insert(infoObj.templateStructure, 1, {
label=birthLabel,
label=birthLabel,
data='{{{געבורט דאטע}}}<br/>{{{געבורט ארט}}}'
data='{{{געבורט דאטום}}}<br/>{{{געבורט ארט}}}'
})
})
table.insert(infoObj.templateStructure, 2, {
table.insert(infoObj.templateStructure, 2, {