• 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 4: Line 4:  
local Equipment = require("Module:Equipment")
 
local Equipment = require("Module:Equipment")
 
local EquipmentCardKai = require("Module:EquipmentCardKai")
 
local EquipmentCardKai = require("Module:EquipmentCardKai")
 +
local EquipmentGraphicKai = require("Module:EquipmentGraphicKai")
    
local EquipmentLink = {}
 
local EquipmentLink = {}
Line 24: Line 25:  
     for _, arg in ipairs(args) do
 
     for _, arg in ipairs(args) do
 
         local equip = arg ~= "-" and Equipment(arg)
 
         local equip = arg ~= "-" and Equipment(arg)
         table.insert(cards, arg == "-" and "<br />" or EquipmentCardKai:get{ equip = equip, size = size })
+
         table.insert(
 +
            cards,
 +
            arg == "-" and
 +
            "<br />" or
 +
            equip:id() > 500 and
 +
            EquipmentGraphicKai:get{ equip = equip, size = size } or
 +
            EquipmentCardKai:get{ equip = equip, size = size }
 +
        )
 
     end
 
     end
  
cssedit, gkautomate
7,064

edits

Navigation menu