Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:View
(view source)
Revision as of 13:43, 18 July 2019
22 bytes added
,
5 years ago
m
no edit summary
Line 1:
Line 1:
---
---
-- Wrap (args, frame?) -> wikitext function into a frame -> wikitext function.
-- Wrap (args, frame?) -> wikitext function into a frame -> wikitext function.
−
--
+
--
-- [[Category:Todo]]: actually should provide a react-like view library.
-- [[Category:Todo]]: actually should provide a react-like view library.
−
--
+
--
local _ = require('Module:Core')
local _ = require('Module:Core')
−
return function (render)
+
return function(render)
return {
return {
−
render = function (frame)
+
render = function(frame)
+
frame = frame or {}
return render(_.getTemplateArgs(frame), frame)
return render(_.getTemplateArgs(frame), frame)
end
end
}
}
end
end
がか
cssedit, gkautomate
7,064
edits