Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Core
(view source)
Revision as of 18:17, 27 November 2015
8 bytes removed
,
9 years ago
m
no edit summary
Line 1:
Line 1:
local Utils = {}
local Utils = {}
−
−
function _method(m, f, ...)
−
m = require("Module:" .. m)
−
return m[f](m, ...)
−
end
function Utils.method(frame)
function Utils.method(frame)
−
return
_method
(unpack(frame.args))
+
local m = require("Module:" .. frame.args[1])
+
local f = frame.args[2]
+
return
m[f]
(
m,
unpack(frame.args
, 3
))
end
end
return Utils
return Utils
がか
cssedit, gkautomate
7,064
edits