- 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"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | --- | ||
+ | -- Wrap (args, frame?) -> wikitext function into a frame -> wikitext function. | ||
+ | -- | ||
+ | -- [[Category:Todo]]: actually should provide a react-like view library. | ||
+ | -- | ||
+ | |||
local _ = require('Module:Core') | local _ = require('Module:Core') | ||
Revision as of 21:05, 30 August 2018
Documentation for this module may be created at Module:View/doc
---
-- Wrap (args, frame?) -> wikitext function into a frame -> wikitext function.
--
-- [[Category:Todo]]: actually should provide a react-like view library.
--
local _ = require('Module:Core')
return function (render)
return {
render = function (frame)
return render(_.getTemplateArgs(frame), frame)
end
}
end