「モジュール:Data」の版間の差分
(jawp:モジュール:Data の 2021年10月20日 (水) 18:04 (UTC) 版 より全文転記) |
(相違点なし)
|
2023年7月21日 (金) 11:10時点における版
このモジュールについての説明文ページを モジュール:Data/doc に作成できます
local mt = {} function mt.__index(t, k) return function(frame) local data = mw.loadData(k) for _,v in ipairs(frame.args) do data = data[v] end return data end end return setmetatable({}, mt)