模块:Namespace detect:修订间差异
来自Unimage Wiki
更多操作
小 导入1个版本:https://starter.fandom.com/ |
将 Fandom Dev 模块依赖切换到本地副本 |
||
| 第3行: | 第3行: | ||
-- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. | -- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden. | ||
-- The next line imports the Namespace_detect module from the [[w:c:dev:Global Lua Modules]]. | -- The next line imports the Namespace_detect module from the [[w:c:dev:Global Lua Modules]]. | ||
local NS = require('Dev | local NS = require('Module:Dev/Namespace_detect') | ||
-- Local configuration can be modified in | -- Local configuration can be modified in | ||
-- [[Module:Namespace detect/data]] and | -- [[Module:Namespace detect/data]] and | ||
2026年8月31日 (一) 20:55的最新版本
This module is invoked by the {{Namespace}} template.
-- This Module is used for making templates based in the Lua language.
-- See more details about Lua in [[w:Help:Lua]].
-- The Fandom Developer's Wiki hosts Global Lua Modules that can be imported and locally overridden.
-- The next line imports the Namespace_detect module from the [[w:c:dev:Global Lua Modules]].
local NS = require('Module:Dev/Namespace_detect')
-- Local configuration can be modified in
-- [[Module:Namespace detect/data]] and
-- [[Module:Namespace detect/config]]
-- See more details about this module at [[w:c:dev:Global_Lua_Modules/Namespace detect]]
-- The last line produces the output for the template
return NS