בדוקי עריכות אוטומטית, אינטערפעיס רעדאקטארן, אינטערפעיס אדמיניסטראַטאָרן, סיסאפן, מייבאים, מעדכנים, מייבא, אספקלריה רעדאקטארן
46,358
רעדאגירונגען
(אידיש) |
(מקום לידה > געבורט ארט,) |
||
| שורה 199: | שורה 199: | ||
age = ageModule.ageCalc(birthDate, nil, true, false, true, nil, wikidataGender) or '' | age = ageModule.ageCalc(birthDate, nil, true, false, true, nil, wikidataGender) or '' | ||
end | end | ||
local birthDetails, usingBirthWikidataEvent = getEventDetails(templateArgs['תאריך לידה'], templateArgs['תאריך לידה עברי'], templateArgs[' | local birthDetails, usingBirthWikidataEvent = getEventDetails(templateArgs['תאריך לידה'], templateArgs['תאריך לידה עברי'], templateArgs['געבורט ארט'], 'P569', 'P19', age, usingBirthWikidata, infoObj) | ||
table.insert(infoObj.templateStructure, 1, { | table.insert(infoObj.templateStructure, 1, { | ||
label=birthLabel, | label=birthLabel, | ||
| שורה 205: | שורה 205: | ||
}) | }) | ||
usingBirthWikidata = usingBirthWikidata or usingBirthWikidataEvent | usingBirthWikidata = usingBirthWikidata or usingBirthWikidataEvent | ||
elseif templateArgs[' | elseif templateArgs['געבורט ארט']~= '-' then | ||
fillWikidataParam(templateArgs, ' | fillWikidataParam(templateArgs, 'געבורט ארט', 'P19', infoObj) | ||
if templateArgs[' | if templateArgs['געבורט ארט']~= nil and templateArgs['געבורט ארט']~= '' then -- only if we fill the parameter eventually - add to template | ||
table.insert(infoObj.templateStructure, 1, { | table.insert(infoObj.templateStructure, 1, { | ||
label=birthLabel, | label=birthLabel, | ||
data= templateArgs[' | data= templateArgs['געבורט ארט'] | ||
}) | }) | ||
end | end | ||
| שורה 237: | שורה 237: | ||
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, { | ||
רעדאגירונגען