<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://www.wikiw.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ANoteTA</id>
	<title>模块:NoteTA - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://www.wikiw.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3ANoteTA"/>
	<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:NoteTA&amp;action=history"/>
	<updated>2026-04-08T20:57:23Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:NoteTA&amp;diff=381&amp;oldid=prev</id>
		<title>Admin：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:NoteTA&amp;diff=381&amp;oldid=prev"/>
		<updated>2025-06-20T17:02:26Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2025年6月21日 (六) 01:02的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:NoteTA&amp;diff=380&amp;oldid=prev</id>
		<title>wikiw&gt;Ericliu1912：​依據編輯請求更新頁面 自Module:NoteTA/sandbox合并GnolizX的版本86129933</title>
		<link rel="alternate" type="text/html" href="https://www.wikiw.cn/index.php?title=%E6%A8%A1%E5%9D%97:NoteTA&amp;diff=380&amp;oldid=prev"/>
		<updated>2025-03-03T13:45:43Z</updated>

		<summary type="html">&lt;p&gt;依據編輯請求更新頁面 自&lt;a href=&quot;/index.php?title=%E6%A8%A1%E5%9D%97:NoteTA/sandbox&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;模块:NoteTA/sandbox（页面不存在）&quot;&gt;Module:NoteTA/sandbox&lt;/a&gt;合并&lt;a href=&quot;/index.php?title=%E7%89%B9%E6%AE%8A:%E7%94%A8%E6%88%B7%E8%B4%A1%E7%8C%AE/GnolizX&quot; title=&quot;特殊:用户贡献/GnolizX&quot;&gt;GnolizX&lt;/a&gt;的&lt;a href=&quot;/index.php?title=%E7%89%B9%E6%AE%8A:%E5%9B%BA%E5%AE%9A%E9%93%BE%E6%8E%A5/86129933&quot; title=&quot;特殊:固定链接/86129933&quot;&gt;版本86129933&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local z = {}&lt;br /&gt;
local WikitextLC = require( &amp;#039;Module:WikitextLC&amp;#039; )&lt;br /&gt;
&lt;br /&gt;
function Tcode( args )&lt;br /&gt;
	if args.T == nil or args.T == &amp;#039;&amp;#039; then&lt;br /&gt;
		return &amp;#039;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	local div = mw.html.create( &amp;#039;div&amp;#039; )&lt;br /&gt;
		:attr( &amp;#039;class&amp;#039;, &amp;#039;noteTA-title&amp;#039; )&lt;br /&gt;
		:attr( &amp;#039;data-noteta-code&amp;#039;, args.T )&lt;br /&gt;
		:wikitext( WikitextLC.title( args.T ) )&lt;br /&gt;
	if args.dt ~= nil and args.dt ~= &amp;#039;&amp;#039; then&lt;br /&gt;
		div:attr( &amp;#039;data-noteta-desc&amp;#039;, args.dt )&lt;br /&gt;
	end&lt;br /&gt;
	return tostring( div )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function group( name, frame )&lt;br /&gt;
	if name == nil or name == &amp;#039;&amp;#039; then&lt;br /&gt;
		return &amp;#039;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	local moduleTitle = mw.title.makeTitle( &amp;#039;Module&amp;#039;, &amp;#039;CGroup/&amp;#039; .. name )&lt;br /&gt;
	if moduleTitle and moduleTitle.exists then&lt;br /&gt;
		local data = mw.loadData( &amp;#039;Module:CGroup/&amp;#039; .. name )&lt;br /&gt;
		local pieces = {}&lt;br /&gt;
		if data.content then&lt;br /&gt;
			for i, v in ipairs( data.content ) do&lt;br /&gt;
				if v.type == &amp;#039;item&amp;#039; and v.rule then&lt;br /&gt;
					table.insert( pieces, &amp;#039;-{H|&amp;#039; .. v.rule .. &amp;#039;}-&amp;#039; )&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
			return tostring( mw.html.create( &amp;#039;div&amp;#039; )&lt;br /&gt;
				:attr( &amp;#039;data-noteta-group-source&amp;#039;, &amp;#039;module&amp;#039; )&lt;br /&gt;
				:attr( &amp;#039;data-noteta-group&amp;#039;, data.name or name )&lt;br /&gt;
				:wikitext( table.concat( pieces ) ) )&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	local templateTitle = mw.title.makeTitle( &amp;#039;Template&amp;#039;, &amp;#039;CGroup/&amp;#039; .. name )&lt;br /&gt;
	if templateTitle and templateTitle.exists then&lt;br /&gt;
		return frame:expandTemplate{ title = templateTitle }&lt;br /&gt;
	end&lt;br /&gt;
	return tostring( mw.html.create( &amp;#039;div&amp;#039; )&lt;br /&gt;
			-- :attr( &amp;#039;id&amp;#039;, &amp;#039;noteTA-group-&amp;#039; .. mw.uri.anchorEncode( name ) )&lt;br /&gt;
			:attr( &amp;#039;data-noteta-group-source&amp;#039;, &amp;#039;none&amp;#039; )&lt;br /&gt;
			:attr( &amp;#039;data-noteta-group&amp;#039;, name ) )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function Gcode( args, frame )&lt;br /&gt;
	local code = {}&lt;br /&gt;
	for i = 1, 30 do&lt;br /&gt;
		table.insert( code, group( args[&amp;#039;G&amp;#039; .. i], frame ) )&lt;br /&gt;
	end&lt;br /&gt;
	code = table.concat( code )&lt;br /&gt;
	if code ~= &amp;#039;&amp;#039; then&lt;br /&gt;
		code = tostring( mw.html.create( &amp;#039;div&amp;#039; )&lt;br /&gt;
				:attr( &amp;#039;class&amp;#039;, &amp;#039;noteTA-group&amp;#039; )&lt;br /&gt;
				:wikitext( code ) )&lt;br /&gt;
		if args.G31 ~= nil then&lt;br /&gt;
			code = code .. &amp;#039;[[Category:NoteTA模板参数使用数量超过限制的页面|G]]&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return code&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function local_( i, code, desc )&lt;br /&gt;
	if code == nil or code == &amp;#039;&amp;#039; then&lt;br /&gt;
		return &amp;#039;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	local div = mw.html.create( &amp;#039;div&amp;#039; )&lt;br /&gt;
		-- :attr( &amp;#039;id&amp;#039;, &amp;#039;noteTA-local-&amp;#039; .. i )&lt;br /&gt;
		:attr( &amp;#039;data-noteta-code&amp;#039;, code )&lt;br /&gt;
		:wikitext( WikitextLC.hidden( code ) )&lt;br /&gt;
	if desc ~= nil and desc ~= &amp;#039;&amp;#039; then&lt;br /&gt;
		div:attr( &amp;#039;data-noteta-desc&amp;#039;, desc )&lt;br /&gt;
	end&lt;br /&gt;
	return tostring( div )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function Lcode( args )&lt;br /&gt;
	local code = {}&lt;br /&gt;
	for i = 1, 30 do&lt;br /&gt;
		table.insert( code, local_( i, args[i], args[&amp;#039;d&amp;#039; .. i] ) )&lt;br /&gt;
	end&lt;br /&gt;
	code = table.concat( code )&lt;br /&gt;
	if code ~= &amp;#039;&amp;#039; then&lt;br /&gt;
		code = tostring( mw.html.create( &amp;#039;div&amp;#039; )&lt;br /&gt;
				:attr( &amp;#039;class&amp;#039;, &amp;#039;noteTA-local&amp;#039; )&lt;br /&gt;
				:wikitext( code ) )&lt;br /&gt;
		if args[31] ~= nil then&lt;br /&gt;
			code = code .. &amp;#039;[[Category:NoteTA模板参数使用数量超过限制的页面|L]]&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return code&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function z.main( frame )&lt;br /&gt;
	local args&lt;br /&gt;
	if frame == mw.getCurrentFrame() then&lt;br /&gt;
		-- Being called from {{noteTA}}&lt;br /&gt;
		args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame)&lt;br /&gt;
	else&lt;br /&gt;
		-- Being called from another module&lt;br /&gt;
		args = frame&lt;br /&gt;
		frame = mw.getCurrentFrame()&lt;br /&gt;
	end&lt;br /&gt;
	local Tc = Tcode( args )&lt;br /&gt;
	local Gc = Gcode( args, frame )&lt;br /&gt;
	local Lc = Lcode( args )&lt;br /&gt;
	local code = Tc .. Gc .. Lc&lt;br /&gt;
	if code ~= &amp;#039;&amp;#039; then&lt;br /&gt;
		local hash = require( &amp;#039;Module:Crc32lua&amp;#039; ).crc32( mw.dumpObject( args ) )&lt;br /&gt;
		code = frame:extensionTag{&lt;br /&gt;
			name = &amp;#039;indicator&amp;#039;,&lt;br /&gt;
			content = &amp;#039;[[File:Zh conversion icon m.svg|35px|本页使用了标题或全文手工转换|link=|class=skin-invert]]&amp;#039;,&lt;br /&gt;
			args = { name = string.format( &amp;#039;noteTA-%x&amp;#039;, hash ) },&lt;br /&gt;
		} .. tostring( mw.html.create( &amp;#039;div&amp;#039; )&lt;br /&gt;
				:attr( &amp;#039;id&amp;#039;, string.format( &amp;#039;noteTA-%x&amp;#039;, hash ) )&lt;br /&gt;
				:attr( &amp;#039;class&amp;#039;, &amp;#039;noteTA&amp;#039; )&lt;br /&gt;
				:wikitext( code ) )&lt;br /&gt;
		if mw.title.getCurrentTitle():inNamespace( &amp;#039;Template&amp;#039; ) then&lt;br /&gt;
			code = code .. &amp;#039;[[Category:放置于模板的noteTA]]&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return code&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return z&lt;/div&gt;</summary>
		<author><name>wikiw&gt;Ericliu1912</name></author>
	</entry>
</feed>