|
-------------------------------------------------------------------------------- -- -- -- PAGETYPE -- -- -- -- This is a meta-module intended to replace and similar -- -- templates. It automatically detects namespaces, and allows for a -- -- great deal of customisation. It can easily be ported to other -- -- wikis by changing the values in the Module:Pagetype/config. -- -- -- -------------------------------------------------------------------------------- -- Load config. local cfg = mw.loadData('Module:Pagetype/config') -- Load required modules. local getArgs = require('Module:Arguments').getArgs local yesno = require('Module:Yesno') local nsDetectModule = require('Module:Namespace detect') local nsDetect = nsDetectModule._main local getParamMappings = nsDetectModule.getParamMappings local getPageObject = nsDetectModule.getPageObject local p = local function shallowCopy(t) 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「---------------------------------------------------------------------------------- ---- PAGETYPE ---- ---- This is a meta-module intended to replace and similar ---- templates. It automatically detects namespaces, and allows for a ---- great deal of customisation. It can easily be ported to other ---- wikis by changing the values in the Module:Pagetype/config. ---- ------------------------------------------------------------------------------------ Load config.local cfg = mw.loadData('Module:Pagetype/config')-- Load required modules.local getArgs = require('Module:Arguments').getArgslocal yesno = require('Module:Yesno')local nsDetectModule = require('Module:Namespace detect')local nsDetect = nsDetectModule._mainlocal getParamMappings = nsDetectModule.getParamMappingslocal getPageObject = nsDetectModule.getPageObjectlocal p = local function shallowCopy(t)」の詳細全文を読む スポンサード リンク
|