• 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
m
no edit summary
Line 9: Line 9:  
function EquipmentLink.format(frame, args)
 
function EquipmentLink.format(frame, args)
   −
     args = args or getArgs{ frame = frame:getParent() }
+
     args = args or U.getTemplateArgs(frame).explicit or U.getTemplateArgs(frame).implicit
    
     local name = args[1] or "??"
 
     local name = args[1] or "??"
Line 55: Line 55:  
end
 
end
   −
--[[
   
U.registerFormatTests(EquipmentLink, {
 
U.registerFormatTests(EquipmentLink, {
 
     { "Prototype 51cm Twin Gun Mount" },
 
     { "Prototype 51cm Twin Gun Mount" },
Line 66: Line 65:  
})
 
})
 
-- p.run_format_tests()
 
-- p.run_format_tests()
]]--
      
return EquipmentLink
 
return EquipmentLink
cssedit, gkautomate
7,064

edits

Navigation menu