更改
无编辑摘要
end
end
local div = mw.html.create( 'div' )
local div = mw.html.create( 'div' )
:attr( 'id', 'noteTA-title' )
:attr( 'class', 'noteTA-title' )
:attr( 'data-noteta-code', mw.uri.encode( args.T ) )
:attr( 'data-noteta-code', mw.uri.encode( args.T ) )
:wikitext( WikitextLC.title( args.T ) )
:wikitext( WikitextLC.title( args.T ) )
else
else
return tostring( mw.html.create( 'div' )
return tostring( mw.html.create( 'div' )
:attr( 'id', 'noteTA-group-' .. mw.uri.anchorEncode( name ) )
-- :attr( 'id', 'noteTA-group-' .. mw.uri.anchorEncode( name ) )
:attr( 'class', 'noteTA-missing' )
:attr( 'class', 'noteTA-missing' )
:attr( 'data-noteta-group', name ) )
:attr( 'data-noteta-group', name ) )
if code ~= '' then
if code ~= '' then
code = tostring( mw.html.create( 'div' )
code = tostring( mw.html.create( 'div' )
:attr( 'id', 'noteTA-group' )
:attr( 'class', 'noteTA-group' )
:wikitext( code ) )
:wikitext( code ) )
if args.G31 ~= nil then
if args.G31 ~= nil then
end
end
local div = mw.html.create( 'div' )
local div = mw.html.create( 'div' )
:attr( 'id', 'noteTA-local-' .. i )
:attr( 'class', 'noteTA-local-' .. i )
:attr( 'data-noteta-code', mw.uri.encode( code ) )
:attr( 'data-noteta-code', mw.uri.encode( code ) )
:wikitext( WikitextLC.hidden( code ) )
:wikitext( WikitextLC.hidden( code ) )
if code ~= '' then
if code ~= '' then
code = tostring( mw.html.create( 'div' )
code = tostring( mw.html.create( 'div' )
:attr( 'id', 'noteTA-local' )
:attr( 'class', 'noteTA-local' )
:wikitext( code ) )
:wikitext( code ) )
if args[31] ~= nil then
if args[31] ~= nil then
title = 'topicon',
title = 'topicon',
args = {
args = {
class = 'noteTA-topicon',
image = 'Zh conversion icon m.svg',
image = 'Zh conversion icon m.svg',
alt = '本页使用了标题或全文手工转换',
alt = '本页使用了标题或全文手工转换',