Changes

Add subst-able entry point
Line 5: Line 5:  
function EquipmentInfo.Infobox(frame)
 
function EquipmentInfo.Infobox(frame)
 
local args = getArgs{frame = frame:getParent()}
 
local args = getArgs{frame = frame:getParent()}
 +
return EquipmentInfoKai:Infobox(args["name"])
 +
end
 +
 +
function EquipmentInfo._Infobox(frame)
 +
local args = getArgs{frame = frame}
 
return EquipmentInfoKai:Infobox(args["name"])
 
return EquipmentInfoKai:Infobox(args["name"])
 
end
 
end
    
return EquipmentInfo
 
return EquipmentInfo
Anonymous user