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

קיין רעדאגירונג באמערקונג
אין תקציר עריכה
אין תקציר עריכה
שורה 339: שורה 339:


local function addAdditionalDetails(frame, infoObj, wikidataGender, disableWikidataFetch)
local function addAdditionalDetails(frame, infoObj, wikidataGender, disableWikidataFetch)
local parentArgs = frame:getParent().args
local directArgs = frame.args
local templateArgs = setmetatable({}, { __index = function(_, key)
return directArgs[key] ~= nil and directArgs[key] or parentArgs[key]
end })
local aliasMap = {
local aliasMap = {
  ['מקום מגורים'] = 'וואוין ארט',
  ['מקום מגורים'] = 'וואוין ארט',
שורה 347: שורה 352:
  end
  end
end
end
local parentArgs = frame:getParent().args
local directArgs = frame.args
local templateArgs = setmetatable({}, { __index = function(_, key)
return directArgs[key] ~= nil and directArgs[key] or parentArgs[key]
end })
local entityId = infoObj.args.entityId
local entityId = infoObj.args.entityId