今天是2025年十二月18日 第51周 星期四

代人,时大变了。

我们生活在大地上,但我们的梦想超越天空。

更改

跳到导航 跳到搜索
添加704字节 、 2013年4月26日 (五) 21:43
建立内容为“local z local HtmlBuilder = require( 'Module:HTMLBuilder' ) local WikitextLC = require( 'Module:WikitextLC' ) function Tcode( args ) if args.T ...”的新頁面
local z
local HtmlBuilder = require( 'Module:HTMLBuilder' )
local WikitextLC = require( 'Module:WikitextLC' )

function Tcode( args )
if args.T ~= nil and args.T ~= '' then
local builder = HtmlBuilder.create()
local div = builder.tag( 'div' )
.attr( 'id', 'noteTA-title' )
.attr( 'data-noteta-code', mw.uri.encode( args.T ) )
.wikitext( WikitextLC.title( args.T ) )
if args.dt ~= nil and args.dt ~= '' then
div.attr( 'data-noteta-desc', mw.uri.encode( args.T ) )
end
return tostring( builder )
else
return ''
end
end

function z.main( frame )
local args = frame:getParent().args
end

return z
匿名用户

导航菜单