<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
	<id>https://calcwiki.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ANoteTA</id>
	<title>Module:NoteTA - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://calcwiki.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ANoteTA"/>
	<link rel="alternate" type="text/html" href="https://calcwiki.org/index.php?title=Module:NoteTA&amp;action=history"/>
	<updated>2026-05-03T18:13:04Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://calcwiki.org/index.php?title=Module:NoteTA&amp;diff=8600&amp;oldid=prev</id>
		<title>Lch：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://calcwiki.org/index.php?title=Module:NoteTA&amp;diff=8600&amp;oldid=prev"/>
		<updated>2026-01-22T17:12:00Z</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;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026年1月22日 (四) 17:12的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key calcwiki-cw_:diff:1.41:old-8599:rev-8600 --&gt;
&lt;/table&gt;</summary>
		<author><name>Lch</name></author>
	</entry>
	<entry>
		<id>https://calcwiki.org/index.php?title=Module:NoteTA&amp;diff=8599&amp;oldid=prev</id>
		<title>wm&gt;Ericliu1912：​依據編輯請求更新頁面 自Module:NoteTA/sandbox合并GnolizX的版本86129933</title>
		<link rel="alternate" type="text/html" href="https://calcwiki.org/index.php?title=Module:NoteTA&amp;diff=8599&amp;oldid=prev"/>
		<updated>2025-03-03T13:45:43Z</updated>

		<summary type="html">&lt;p&gt;依據編輯請求更新頁面 自&lt;a href=&quot;/index.php?title=Module:NoteTA/sandbox&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Module:NoteTA/sandbox（页面不存在）&quot;&gt;Module:NoteTA/sandbox&lt;/a&gt;合并&lt;a href=&quot;/Special:Contributions/GnolizX&quot; title=&quot;Special:Contributions/GnolizX&quot;&gt;GnolizX&lt;/a&gt;的&lt;a href=&quot;/Special:PermanentLink/86129933&quot; title=&quot;Special:PermanentLink/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>wm&gt;Ericliu1912</name></author>
	</entry>
</feed>