אונטערשייד צווישן ווערסיעס פון "יחידה:תבנית מידע/אישיות"

ק
הגהה
ק (הגהה)
ק (הגהה)
שורה 219: שורה 219:
local birthParts = mw.text.split( l, "'", true )
local birthParts = mw.text.split( l, "'", true )
if #birthParts == 1 then
if #birthParts == 1 then
table.insert(birthParts, 1, 0) -- אדער אלף החמישי?
table.insert(birthParts, 1, '') -- אדער אלף החמישי?
end
end
local BirthDateNum = gim.gimatria(birthParts[1])*1000 + gim.gimatria(birthParts[2]) - 3760
local BirthDateNum = gim.gimatria(birthParts[1])*1000 + gim.gimatria(birthParts[2]) - 3760
שורה 238: שורה 238:
local deathParts = mw.text.split( p, "'", true )
local deathParts = mw.text.split( p, "'", true )
if #deathParts == 1 then
if #deathParts == 1 then
table.insert(deathParts, 1, 0) -- אדער אלף החמישי?
table.insert(deathParts, 1, '') -- אדער אלף החמישי?
end
end
local DeathDateNum = gim.gimatria(deathParts[1])*1000 + gim.gimatria(deathParts[2]) - 3760
local DeathDateNum = gim.gimatria(deathParts[1])*1000 + gim.gimatria(deathParts[2]) - 3760