• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 59: Line 59:  
end
 
end
   −
function EquipmentLink:create(name)
+
function EquipmentLink:create(link)
     local equipment_asset = EquipmentCardKai:Asset({ name, size = "260px" })
+
     local equipment_asset = EquipmentCardKai:Asset({ link, size = "260px" })
 
     equipment_asset = string.gsub(equipment_asset, "File:Catbomb.png|260px", "File:Catbomb.png|300px")
 
     equipment_asset = string.gsub(equipment_asset, "File:Catbomb.png|260px", "File:Catbomb.png|300px")
     local formatted_text = F:format_link(name, name)
+
     local formatted_text = F:format_link(link, link)
 
     local tooltip_content = F:class_span("tooltip-contents", nil, equipment_asset)
 
     local tooltip_content = F:class_span("tooltip-contents", nil, equipment_asset)
 
     return F:class_span("advanced-tooltip", nil, formatted_text .. tooltip_content)
 
     return F:class_span("advanced-tooltip", nil, formatted_text .. tooltip_content)
Anonymous user

Navigation menu