首页
随机
登录
设置
关于二次元百科
免责声明
二次元百科
搜索
查看“︁Module:Jpingauto”︁的源代码
←
Module:Jpingauto
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
local p = {} function p.main(frame) local root = mw.html.create() local arg = frame:getParent().args[1] or "" local x = arg:gsub("(%d)", "<sup>%1</sup>") x = x:gsub("(%d)</sup>%*<sup>(%d)", "%1*%2") x = x:gsub("<sup><sup>([%d%*]+)</sup></sup>", "<sup>%1</sup>") root:tag('span'):wikitext(x) local tracking = '' if string.match(arg, "</?sup>") then tracking = '[[Category:用咗sup標記嘅調號上標模]]' end return tostring(root)..tracking end return p
该页面使用的模板:
Module:Jpingauto/doc
(
查看源代码
)
返回
Module:Jpingauto
。