首頁
關於我們
隨機
新手使用指南
貢獻分數
百科財務報告
建立新頁面
近期變更
特殊頁面
社群入口
設定
關於微國家百科
免責聲明
微國家百科
搜尋
使用者選單
建立帳號
登入
檢視 模組:Documentation/wrapper 的原始碼
←
模組:Documentation/wrapper
由於以下原因,您無權編輯此頁面:
您請求的操作只有這個群組的使用者能使用:
使用者
您可以檢視並複製此頁面的原始碼。
-- 包裹[[Module:Documentation]]不能直接被模板呼叫的函數 local mDocumentation = require('Module:Documentation') local getArgs = require('Module:Arguments').getArgs return { wrapper = function (frame) local args = frame.args local method = args.method if not method or not mDocumentation[method] or method:match('^_') -- reject private function then return require('Module:Error').error({'Can\'t find method "' .. method .. '" in [[Module:Documentation]].'}) elseif mDocumentation['_' .. method] -- reject private function then return require('Module:Error').error({'Please use <code>{{#invoke:[[Module:Documentation|Documentation]]|' .. method .. '|...}}</code> instead.'}) end local env = mDocumentation.getEnvironment(args) return mDocumentation[method](args, env) end }
此頁面使用了以下模板:
模組:Documentation/wrapper/doc
(
檢視原始碼
)
返回到「
模組:Documentation/wrapper
」。