• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Difference between revisions of "Module:View"

From Kancolle Wiki
Jump to navigation Jump to search
(Created page with "local _ = require('Module:Core') return function (render) return { render = function (frame) return render(_.getTemplateArgs(frame)) end } end")
 
Line 4: Line 4:
 
   return {
 
   return {
 
     render = function (frame)
 
     render = function (frame)
       return render(_.getTemplateArgs(frame))
+
       return render(_.getTemplateArgs(frame), frame)
 
     end
 
     end
 
   }
 
   }
 
end
 
end

Revision as of 09:34, 22 July 2018

Documentation for this module may be created at Module:View/doc

local _ = require('Module:Core')

return function (render)
  return {
    render = function (frame)
      return render(_.getTemplateArgs(frame), frame)
    end
  }
end