• 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 130: Line 130:     
local special_functions = {
 
local special_functions = {
     apply = function(args)
+
     apply = function(args_)
         local template = args[2]
+
         local template = args_[2]
 
         local values = {}
 
         local values = {}
         for i = 3, #args do
+
         for i = 3, #args_ do
             table.insert(values, frame:preprocess(format{
+
             table.insert(values, format{
 
                 '{{${template}|${arg}}}',
 
                 '{{${template}|${arg}}}',
 
                 template = template,
 
                 template = template,
                 arg = args[i]
+
                 arg = args_[i]
             }))
+
             })
 
         end
 
         end
         return table.concat(values, args.concat or "")
+
         return frame:preprocess(table.concat(values, args.concat or ""))
 
     end
 
     end
 
}
 
}
Line 171: Line 171:     
function Calc.test()
 
function Calc.test()
 +
 
end
 
end
    
return Calc
 
return Calc
cssedit, gkautomate
6,928

edits

Navigation menu