• 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
no edit summary
Line 18: Line 18:  
     local image = args.image
 
     local image = args.image
 
     local icon = args.icon
 
     local icon = args.icon
 +
    local size = args.size
    
     local cards = {}
 
     local cards = {}
 
     for _, arg in ipairs(args) do
 
     for _, arg in ipairs(args) do
         table.insert(cards, arg == "-" and "<br />" or EquipmentCardKai:Asset({ arg, size = "260px" }))
+
         table.insert(cards, arg == "-" and "<br />" or EquipmentCardKai:Asset({ arg, size = size or "160px" }))
 
     end
 
     end
    
     local formatted_image
 
     local formatted_image
 
         = image
 
         = image
         and EquipmentCardKai:Asset({ name, size = image, link = link or name })
+
         and EquipmentCardKai:Asset({ name, size = image == "true" and "50px" or image, link = link or name })
 
         or ""
 
         or ""
  
cssedit, gkautomate
6,926

edits

Navigation menu