- 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
Line 56:
Line 56:
+
+
+
+
+
+
+
+
Test
return F:class_span("advanced-tooltip", nil, formatted_icon .. formatted_image .. formatted_text .. tooltip_content)
return F:class_span("advanced-tooltip", nil, formatted_icon .. formatted_image .. formatted_text .. tooltip_content)
end
function EquipmentLink:create(name)
local equipment_asset = EquipmentCardKai:Asset({ name, size = "260px" })
equipment_asset = string.gsub(equipment_asset, "File:Catbomb.png|260px", "File:Catbomb.png|300px")
local formatted_text = F:format_link(name, name)
local tooltip_content = F:class_span("tooltip-contents", nil, equipment_asset)
return F:class_span("advanced-tooltip", nil, formatted_text .. tooltip_content)
end
end