首页
随机
登录
设置
关于NeuroWiki
免责声明
NeuroWiki
搜索
查看“Module:STConversion”的源代码
←
Module:STConversion
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
local p = {} function p.call( args ) local fallbackString = '<span></span>' local strings = { mode = mw.text.trim( args.mode or '' ), [ 'zh-cn' ] = args[ 'zh-cn' ] or args[ 1 ] or fallbackString, [ 'zh-tw' ] = args[ 'zh-tw' ] or args[ 2 ] or fallbackString, [ 'zh-hk' ] = args[ 'zh-hk' ] or args[ 3 ] or fallbackString, } if not args.closehkinherit and strings[ 'zh-hk' ] == fallbackString then strings[ 'zh-hk' ] = strings[ 'zh-tw' ] end local static = require( 'Module:Static' ) if not static.STConversion then static.STConversion = {} end if not static.STConversion.currentPageType then static.STConversion.currentPageType = mw.title.getCurrentTitle().contentModel end if static.STConversion.currentPageType == 'css' or static.STConversion.currentPageType == 'javascript' or static.STConversion.currentPageType == 'json' then return require( 'Module:Lan' ).call( strings ) else return mw.ustring.format( "-{%szh-cn:%s;zh-tw:%s;zh-hk:%s;}-", ( ( strings.mode ~= '' ) and ( strings.mode .. '|' ) or '' ), strings[ 'zh-cn' ], strings[ 'zh-tw' ], strings[ 'zh-hk' ] ) end end function p.main( f ) local args = f if f == mw.getCurrentFrame() then args = require( 'Module:ProcessArgs' ).merge( true ) end return p.call( args ) end return p
该页面使用的模板:
Template:Documentation header
(
查看源代码
)
Template:Template link
(
查看源代码
)
Template:Tl
(
查看源代码
)
Module:STConversion/doc
(
查看源代码
)
返回
Module:STConversion
。