• 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 76: Line 76:  
             Formatting:format_equipment_type(obj:type()) or
 
             Formatting:format_equipment_type(obj:type()) or
 
             Formatting:format_ship_type(obj:type())
 
             Formatting:format_ship_type(obj:type())
 +
    end,
 +
 +
    icon = function(obj)
 +
        return "[[File:" .. Formatting:format_equipment_icon(obj:icon()) .. "]]"
 
     end,
 
     end,
    
     -- overrides ShipData:link
 
     -- overrides ShipData:link
 
     link = function(obj)
 
     link = function(obj)
         return equipment and
+
         return Formatting:format_link(obj:link())
            (Formatting:format_equipment_icon(obj:icon()) .. " " .. Formatting:format_link(obj:link())) or
  −
            Formatting:format_link(obj:link())
   
     end,
 
     end,
  
cssedit, gkautomate
7,064

edits

Navigation menu