• 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 1: Line 1:  
local getArgs = require("Module:GetArgs")
 
local getArgs = require("Module:GetArgs")
 +
local U = require("Module:Utils")
 
local F = require("Module:Formatting")
 
local F = require("Module:Formatting")
 
local Equipment = require("Module:Equipment")
 
local Equipment = require("Module:Equipment")
Line 31: Line 32:  
     local tooltip_content = F:class_div("tooltip-contents", nil, card)
 
     local tooltip_content = F:class_div("tooltip-contents", nil, card)
   −
     return F:class_span("advanced-tooltip", nil, formatted_icon .. formatted_link .. tooltip_content)
+
     return F:class_span("advanced-tooltip", nil, formatted_icon .. formatted_link .. tooltip_content) .. (args[2] and U.category("Bad EquipmentLink call") or "")
    
end
 
end
    
--[[
 
--[[
local U = require("Module:Utils")
  −
   
U.registerFormatTests(EquipmentLink, {
 
U.registerFormatTests(EquipmentLink, {
 
     { "Prototype 51cm Twin Gun Mount" },
 
     { "Prototype 51cm Twin Gun Mount" },
cssedit, gkautomate
7,064

edits

Navigation menu