<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hant-TW">
	<id>https://chunghwamc.com/wiki/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E7%B5%84%3A%E6%98%AF%E5%90%A6%E7%A9%BA%E7%99%BD</id>
	<title>模組:是否空白 - 修訂紀錄</title>
	<link rel="self" type="application/atom+xml" href="https://chunghwamc.com/wiki/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E7%B5%84%3A%E6%98%AF%E5%90%A6%E7%A9%BA%E7%99%BD"/>
	<link rel="alternate" type="text/html" href="https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E6%98%AF%E5%90%A6%E7%A9%BA%E7%99%BD&amp;action=history"/>
	<updated>2026-04-05T23:25:24Z</updated>
	<subtitle>本 wiki 上此頁面的修訂紀錄</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E6%98%AF%E5%90%A6%E7%A9%BA%E7%99%BD&amp;diff=1733&amp;oldid=prev</id>
		<title>Chunghwamc：​Chunghwamc已移動頁面模組:If empty至模組:是否空白，不留重新導向</title>
		<link rel="alternate" type="text/html" href="https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E6%98%AF%E5%90%A6%E7%A9%BA%E7%99%BD&amp;diff=1733&amp;oldid=prev"/>
		<updated>2025-02-26T12:53:05Z</updated>

		<summary type="html">&lt;p&gt;Chunghwamc已移動頁面&lt;a href=&quot;/wiki/index.php?title=%E6%A8%A1%E7%B5%84:If_empty&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;模組:If empty（頁面不存在）&quot;&gt;模組:If empty&lt;/a&gt;至&lt;a href=&quot;/wiki/%E6%A8%A1%E7%B5%84:%E6%98%AF%E5%90%A6%E7%A9%BA%E7%99%BD&quot; title=&quot;模組:是否空白&quot;&gt;模組:是否空白&lt;/a&gt;，不留重新導向&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-Hant-TW&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;於 2025年2月26日 (三) 20:53 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hant-TW&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（無差異）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key chmc_wiki:diff:1.41:old-1732:rev-1733 --&gt;
&lt;/table&gt;</summary>
		<author><name>Chunghwamc</name></author>
	</entry>
	<entry>
		<id>https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E6%98%AF%E5%90%A6%E7%A9%BA%E7%99%BD&amp;diff=1732&amp;oldid=prev</id>
		<title>Chunghwamc 於 2025年2月26日 (三) 12:52</title>
		<link rel="alternate" type="text/html" href="https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E6%98%AF%E5%90%A6%E7%A9%BA%E7%99%BD&amp;diff=1732&amp;oldid=prev"/>
		<updated>2025-02-26T12:52:53Z</updated>

		<summary type="html">&lt;p&gt;&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-Hant-TW&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;於 2025年2月26日 (三) 20:52 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;第2行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第2行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function p.main(frame)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function p.main(frame)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local args = require(&#039;Module:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Arguments&lt;/del&gt;&#039;).getArgs(frame, {wrappers = &#039;Template:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;If empty&lt;/del&gt;&#039;, removeBlanks = false})&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	local args = require(&#039;Module:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;參數&lt;/ins&gt;&#039;).getArgs(frame, {wrappers = &#039;Template:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;是否空白&lt;/ins&gt;&#039;, removeBlanks = false})&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	-- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank,&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	-- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key chmc_wiki:diff:1.41:old-128:rev-1732:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Chunghwamc</name></author>
	</entry>
	<entry>
		<id>https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E6%98%AF%E5%90%A6%E7%A9%BA%E7%99%BD&amp;diff=128&amp;oldid=prev</id>
		<title>Chunghwamc：​建立內容為「local p = {}  function p.main(frame) 	local args = require(&#039;Module:Arguments&#039;).getArgs(frame, {wrappers = &#039;Template:If empty&#039;, removeBlanks = false})  	-- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank, 	-- even though there&#039;s really no legitimate use case for this. At some point, this will be removed. 	local lowestNil = math.huge 	for i = 8,1,-1 do 		if args[i] == nil then 			args[i] = &#039;&#039; 			lowestNil = i 		e…」的新頁面</title>
		<link rel="alternate" type="text/html" href="https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E6%98%AF%E5%90%A6%E7%A9%BA%E7%99%BD&amp;diff=128&amp;oldid=prev"/>
		<updated>2024-03-23T14:15:37Z</updated>

		<summary type="html">&lt;p&gt;建立內容為「local p = {}  function p.main(frame) 	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame, {wrappers = &amp;#039;Template:If empty&amp;#039;, removeBlanks = false})  	-- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank, 	-- even though there&amp;#039;s really no legitimate use case for this. At some point, this will be removed. 	local lowestNil = math.huge 	for i = 8,1,-1 do 		if args[i] == nil then 			args[i] = &amp;#039;&amp;#039; 			lowestNil = i 		e…」的新頁面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame, {wrappers = &amp;#039;Template:If empty&amp;#039;, removeBlanks = false})&lt;br /&gt;
&lt;br /&gt;
	-- For backwards compatibility reasons, the first 8 parameters can be unset instead of being blank,&lt;br /&gt;
	-- even though there&amp;#039;s really no legitimate use case for this. At some point, this will be removed.&lt;br /&gt;
	local lowestNil = math.huge&lt;br /&gt;
	for i = 8,1,-1 do&lt;br /&gt;
		if args[i] == nil then&lt;br /&gt;
			args[i] = &amp;#039;&amp;#039;&lt;br /&gt;
			lowestNil = i&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	for k,v in ipairs(args) do&lt;br /&gt;
		if v ~= &amp;#039;&amp;#039; then&lt;br /&gt;
			if lowestNil &amp;lt; k then&lt;br /&gt;
				-- If any uses of this template depend on the behavior above, add them to a tracking category.&lt;br /&gt;
				-- This is a rather fragile, convoluted, hacky way to do it, but it ensures that this module&amp;#039;s output won&amp;#039;t be modified&lt;br /&gt;
				-- by it.&lt;br /&gt;
				frame:extensionTag(&amp;#039;ref&amp;#039;, &amp;#039;[[Category:Instances of Template:If_empty missing arguments]]&amp;#039;, {group = &amp;#039;TrackingCategory&amp;#039;})&lt;br /&gt;
				frame:extensionTag(&amp;#039;references&amp;#039;, &amp;#039;&amp;#039;, {group = &amp;#039;TrackingCategory&amp;#039;})&lt;br /&gt;
			end&lt;br /&gt;
			return v&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Chunghwamc</name></author>
	</entry>
</feed>