首页
随机
登录
设置
关于NeuroWiki
免责声明
NeuroWiki
搜索
查看“Module:TSLoader”的源代码
←
Module:TSLoader
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
local p = {} local static = require( 'Module:Static' ) if not static.TSLoader then static.TSLoader = {} end function p.call( name ) if not name then return nil end if not static.TSLoader.loadedTS then static.TSLoader.loadedTS = {} end local pagename = mw.title.getCurrentTitle() if not static.TSLoader.loadedTS[ pagename ] then static.TSLoader.loadedTS[ pagename ] = {} end if not name:find( '^%w*:' ) then name = 'Template:' .. name:sub( 1, 1 ):upper() .. name:sub( 2 ) end name = name:sub( 1, 1 ):upper() .. name:sub( 2 ) if static.TSLoader.loadedTS[ pagename ][ name ] == true then return '' end static.TSLoader.loadedTS[ pagename ][ name ] = true return mw.getCurrentFrame():extensionTag{ name = "templatestyles", args = { src = name } } end function p.main( f ) local args = f local frame = mw.getCurrentFrame() if f == frame then args = require( 'Module:ProcessArgs' ).merge( true ) end return p.call( args[ 1 ] ) end return p
该页面使用的模板:
Template:Dd
(
查看源代码
)
Template:Dependency declaration
(
查看源代码
)
Template:Documentation header
(
查看源代码
)
Template:T
(
查看源代码
)
Template:Template link
(
查看源代码
)
Template:Transclude
(
查看源代码
)
Module:TSLoader/doc
(
查看源代码
)
返回
Module:TSLoader
。