<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans">
	<id>https://wiki.ottohub.cn/index.php?action=history&amp;feed=atom&amp;title=Module%3ASpecial_wikitext%2FTemplate</id>
	<title>Module:Special wikitext/Template - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ottohub.cn/index.php?action=history&amp;feed=atom&amp;title=Module%3ASpecial_wikitext%2FTemplate"/>
	<link rel="alternate" type="text/html" href="https://wiki.ottohub.cn/index.php?title=Module:Special_wikitext/Template&amp;action=history"/>
	<updated>2026-11-27T11:23:36Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.ottohub.cn/index.php?title=Module:Special_wikitext/Template&amp;diff=8105&amp;oldid=prev</id>
		<title>2025年6月18日 (三) 11:00 OctoberSama</title>
		<link rel="alternate" type="text/html" href="https://wiki.ottohub.cn/index.php?title=Module:Special_wikitext/Template&amp;diff=8105&amp;oldid=prev"/>
		<updated>2025-06-18T11:00:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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-Hans&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年6月18日 (三) 19:00的版本&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-l60&quot;&gt;第60行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第60行：&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;	local cur_frame = mw.getCurrentFrame()&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;	local cur_frame = mw.getCurrentFrame()&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;div&gt;	local body = mw.text.decode(cur_frame:preprocess(&amp;quot;{{msgnw:int:&amp;quot;..int_name..&amp;quot;}}&amp;quot;))&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;	local body = mw.text.decode(cur_frame:preprocess(&amp;quot;{{msgnw:int:&amp;quot;..int_name..&amp;quot;}}&amp;quot;))&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;	body = mw.ustring.gsub(body,&#039;#%s*invoke%s*:%s*&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;特殊&lt;/del&gt;%s+wikitext%|&#039;,&#039;void|&#039;)&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;	body = mw.ustring.gsub(body,&#039;#%s*invoke%s*:%s*&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Special&lt;/ins&gt;%s+wikitext%|&#039;,&#039;void|&#039;)&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;div&gt;	return cur_frame:preprocess(body)&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;	return cur_frame:preprocess(body)&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;div&gt;end&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;end&lt;/div&gt;&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-l68&quot;&gt;第68行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第68行：&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;	local cur_frame = mw.getCurrentFrame()&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;	local cur_frame = mw.getCurrentFrame()&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;div&gt;	local page_subname = frame.args[2] or frame.args[&amp;#039;2&amp;#039;] or &amp;#039;&amp;#039;  &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;	local page_subname = frame.args[2] or frame.args[&amp;#039;2&amp;#039;] or &amp;#039;&amp;#039;  &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 title = mw.title.new(&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;模板&lt;/del&gt;:Editnotices/Page/&#039; .. page_name)&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 title = mw.title.new(&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Template&lt;/ins&gt;:Editnotices/Page/&#039; .. page_name)&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 subtitle = mw.title.new(&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;模板&lt;/del&gt;:Editnotices/Page/&#039; .. page_name .. page_subname)&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 subtitle = mw.title.new(&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Template&lt;/ins&gt;:Editnotices/Page/&#039; .. page_name .. page_subname)&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;div&gt;	if subtitle.exists then return frame:expandTemplate{ title = subtitle.text }&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;	if subtitle.exists then return frame:expandTemplate{ title = subtitle.text }&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;div&gt;	elseif title.exists then return frame:expandTemplate{ title = title.text }&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;	elseif title.exists then return frame:expandTemplate{ title = title.text }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OctoberSama</name></author>
	</entry>
	<entry>
		<id>https://wiki.ottohub.cn/index.php?title=Module:Special_wikitext/Template&amp;diff=8103&amp;oldid=prev</id>
		<title>2025年6月18日 (三) 10:58 OctoberSama</title>
		<link rel="alternate" type="text/html" href="https://wiki.ottohub.cn/index.php?title=Module:Special_wikitext/Template&amp;diff=8103&amp;oldid=prev"/>
		<updated>2025-06-18T10:58:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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-Hans&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年6月18日 (三) 18:58的版本&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-l60&quot;&gt;第60行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第60行：&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;	local cur_frame = mw.getCurrentFrame()&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;	local cur_frame = mw.getCurrentFrame()&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;div&gt;	local body = mw.text.decode(cur_frame:preprocess(&amp;quot;{{msgnw:int:&amp;quot;..int_name..&amp;quot;}}&amp;quot;))&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;	local body = mw.text.decode(cur_frame:preprocess(&amp;quot;{{msgnw:int:&amp;quot;..int_name..&amp;quot;}}&amp;quot;))&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;	body = mw.ustring.gsub(body,&#039;#%s*invoke%s*:%s*&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Special&lt;/del&gt;%s+wikitext%|&#039;,&#039;void|&#039;)&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;	body = mw.ustring.gsub(body,&#039;#%s*invoke%s*:%s*&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;特殊&lt;/ins&gt;%s+wikitext%|&#039;,&#039;void|&#039;)&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;div&gt;	return cur_frame:preprocess(body)&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;	return cur_frame:preprocess(body)&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;div&gt;end&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;end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OctoberSama</name></author>
	</entry>
	<entry>
		<id>https://wiki.ottohub.cn/index.php?title=Module:Special_wikitext/Template&amp;diff=8102&amp;oldid=prev</id>
		<title>2025年6月18日 (三) 10:56 OctoberSama</title>
		<link rel="alternate" type="text/html" href="https://wiki.ottohub.cn/index.php?title=Module:Special_wikitext/Template&amp;diff=8102&amp;oldid=prev"/>
		<updated>2025-06-18T10:56:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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-Hans&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年6月18日 (三) 18:56的版本&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-l68&quot;&gt;第68行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第68行：&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;	local cur_frame = mw.getCurrentFrame()&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;	local cur_frame = mw.getCurrentFrame()&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;div&gt;	local page_subname = frame.args[2] or frame.args[&amp;#039;2&amp;#039;] or &amp;#039;&amp;#039;  &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;	local page_subname = frame.args[2] or frame.args[&amp;#039;2&amp;#039;] or &amp;#039;&amp;#039;  &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 title = mw.title.new(&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Template&lt;/del&gt;:Editnotices/Page/&#039; .. page_name)&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 title = mw.title.new(&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;模板&lt;/ins&gt;:Editnotices/Page/&#039; .. page_name)&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 subtitle = mw.title.new(&#039;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Template&lt;/del&gt;:Editnotices/Page/&#039; .. page_name .. page_subname)&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 subtitle = mw.title.new(&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;模板&lt;/ins&gt;:Editnotices/Page/&#039; .. page_name .. page_subname)&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;div&gt;	if subtitle.exists then return frame:expandTemplate{ title = subtitle.text }&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;	if subtitle.exists then return frame:expandTemplate{ title = subtitle.text }&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;div&gt;	elseif title.exists then return frame:expandTemplate{ title = title.text }&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;	elseif title.exists then return frame:expandTemplate{ title = title.text }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>OctoberSama</name></author>
	</entry>
	<entry>
		<id>https://wiki.ottohub.cn/index.php?title=Module:Special_wikitext/Template&amp;diff=7963&amp;oldid=prev</id>
		<title>OctoberSama：​创建页面，内容为“--源代码来自维基百科:https://zh.wikipedia.org/w/index.php?title=Module:Special_wikitext/Template&amp;oldid=65797380 --该部分代码使用CC BY-SA 4.0许可证 (https://creativecommons.org/licenses/by-sa/4.0/) local p={} --{{#invoke:Special wikitext/Template|contentModel}} function p.contentModel(frame) 	local page_name = frame.args[1] or frame.args[&#039;1&#039;] or &#039;&#039; 	local default_namespace = mw.text.trim(frame.args[2] or frame.args[&#039;2&#039;] or &#039;&#039;) 	local page_data…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.ottohub.cn/index.php?title=Module:Special_wikitext/Template&amp;diff=7963&amp;oldid=prev"/>
		<updated>2025-06-17T11:53:45Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“--源代码来自维基百科:https://zh.wikipedia.org/w/index.php?title=Module:Special_wikitext/Template&amp;amp;oldid=65797380 --该部分代码使用CC BY-SA 4.0许可证 (https://creativecommons.org/licenses/by-sa/4.0/) local p={} --{{#invoke:Special wikitext/Template|contentModel}} function p.contentModel(frame) 	local page_name = frame.args[1] or frame.args[&amp;#039;1&amp;#039;] or &amp;#039;&amp;#039; 	local default_namespace = mw.text.trim(frame.args[2] or frame.args[&amp;#039;2&amp;#039;] or &amp;#039;&amp;#039;) 	local page_data…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--源代码来自维基百科:https://zh.wikipedia.org/w/index.php?title=Module:Special_wikitext/Template&amp;amp;oldid=65797380&lt;br /&gt;
--该部分代码使用CC BY-SA 4.0许可证 (https://creativecommons.org/licenses/by-sa/4.0/)&lt;br /&gt;
local p={}&lt;br /&gt;
--{{#invoke:Special wikitext/Template|contentModel}}&lt;br /&gt;
function p.contentModel(frame)&lt;br /&gt;
	local page_name = frame.args[1] or frame.args[&amp;#039;1&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
	local default_namespace = mw.text.trim(frame.args[2] or frame.args[&amp;#039;2&amp;#039;] or &amp;#039;&amp;#039;)&lt;br /&gt;
	local page_data = (mw.text.trim(page_name)==&amp;#039;&amp;#039;and mw.title.getCurrentTitle() or mw.title.new(page_name,default_namespace))&lt;br /&gt;
	return (page_data or {}).contentModel or &amp;#039;wikitext&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
--{{#invoke:Special wikitext/Template|luaContentFromPage}}&lt;br /&gt;
function p.luaContentFromPage(frame)&lt;br /&gt;
	local page_name = frame.args[1] or frame.args[&amp;#039;1&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
	local default_namespace = mw.text.trim(frame.args[2] or frame.args[&amp;#039;2&amp;#039;] or &amp;#039;&amp;#039;)&lt;br /&gt;
	local page_data = (mw.text.trim(page_name)==&amp;#039;&amp;#039;and mw.title.getCurrentTitle() or mw.title.new(page_name, default_namespace))&lt;br /&gt;
	local contentModel = mw.ustring.lower((page_data or {}).contentModel or &amp;#039;wikitext&amp;#039;)&lt;br /&gt;
	if contentModel == &amp;#039;scribunto&amp;#039; or contentModel == &amp;#039;lua&amp;#039; then&lt;br /&gt;
		pcall(require, page_data.prefixedText) -- if it fails, we don&amp;#039;t care&lt;br /&gt;
		local moduleWikitext = package.loaded[&amp;quot;Module:Module wikitext&amp;quot;]&lt;br /&gt;
		if moduleWikitext then&lt;br /&gt;
			return moduleWikitext.main()&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return &amp;#039;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--{{#invoke:Special wikitext/Template|markinclude}}&lt;br /&gt;
function p.markinclude(frame)&lt;br /&gt;
	local page_name = frame.args[1] or frame.args[&amp;#039;1&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
	local detail = mw.text.trim(frame.args[2] or frame.args[&amp;#039;2&amp;#039;] or &amp;#039;&amp;#039;)&lt;br /&gt;
	local page_data = (mw.text.trim(page_name)==&amp;#039;&amp;#039;and mw.title.getCurrentTitle() or mw.title.new(page_name))&lt;br /&gt;
	if page_data:getContent() then -- recorded as a transclusion, and check exist.&lt;br /&gt;
		return &amp;#039;*[[:&amp;#039;..page_name..&amp;#039;]]&amp;#039; .. (detail ~= &amp;#039;&amp;#039; and (&amp;#039;（&amp;#039;..detail..&amp;#039;）&amp;#039;) or &amp;#039;&amp;#039;)&lt;br /&gt;
	elseif mw.text.trim(page_name) ~= &amp;#039;&amp;#039; then&lt;br /&gt;
		return &amp;#039;*&amp;#039;..page_name.. (detail ~= &amp;#039;&amp;#039; and (&amp;#039;（&amp;#039;..detail..&amp;#039;）&amp;#039;) or &amp;#039;&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
	return &amp;#039;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--{{#invoke:Special wikitext/Template|checkPage}}&lt;br /&gt;
function p.checkPage(frame)&lt;br /&gt;
	local chk_name = frame.args[1] or frame.args[&amp;#039;1&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
	local cur_name = frame.args[2] or frame.args[&amp;#039;2&amp;#039;] or &amp;#039;&amp;#039;&lt;br /&gt;
	local default_namespace = mw.text.trim(frame.args[3] or frame.args[&amp;#039;3&amp;#039;] or &amp;#039;&amp;#039;)&lt;br /&gt;
	if mw.text.trim(chk_name or &amp;#039;&amp;#039;)==&amp;#039;&amp;#039;then return &amp;#039;&amp;#039; end&lt;br /&gt;
	return p._checkPage(chk_name, cur_name, default_namespace) and &amp;#039;1&amp;#039; or &amp;#039;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
function p._checkPage(page, srcpage, default_namespace)&lt;br /&gt;
	local chk_page, cur_page = mw.title.new(page, default_namespace), (mw.text.trim(srcpage or &amp;#039;&amp;#039;)==&amp;#039;&amp;#039; and mw.title.getCurrentTitle() or mw.title.new(srcpage, default_namespace))&lt;br /&gt;
	local chk_name, cur_name = &amp;#039;##:&amp;#039;..chk_page.fullText, &amp;#039;##:&amp;#039;..cur_page.fullText&lt;br /&gt;
	local chk_reg = mw.ustring.gsub(chk_name,&amp;#039;([%%\\])&amp;#039;,&amp;#039;%1%1&amp;#039;)&lt;br /&gt;
	local chk_regs, cur_names = chk_reg..(mw.ustring.sub(chk_reg,-1,-1)==&amp;#039;/&amp;#039;and&amp;#039;&amp;#039;or&amp;#039;/&amp;#039;), cur_name..(mw.ustring.sub(cur_name,-1,-1)==&amp;#039;/&amp;#039;and&amp;#039;&amp;#039;or&amp;#039;/&amp;#039;)&lt;br /&gt;
	local findpos = mw.ustring.find(cur_name, chk_reg)&lt;br /&gt;
	if (tonumber(findpos) or -1) &amp;gt; 0 then findpos = mw.ustring.find(cur_names, chk_regs)end&lt;br /&gt;
	return (tonumber(findpos) or -1) &amp;gt; 0&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.int(frame)&lt;br /&gt;
	local int_name = frame.args[1] or frame.args[&amp;#039;1&amp;#039;] or &amp;#039;&amp;#039; &lt;br /&gt;
	local cur_frame = mw.getCurrentFrame()&lt;br /&gt;
	local body = mw.text.decode(cur_frame:preprocess(&amp;quot;{{msgnw:int:&amp;quot;..int_name..&amp;quot;}}&amp;quot;))&lt;br /&gt;
	body = mw.ustring.gsub(body,&amp;#039;#%s*invoke%s*:%s*Special%s+wikitext%|&amp;#039;,&amp;#039;void|&amp;#039;)&lt;br /&gt;
	return cur_frame:preprocess(body)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getNotices(frame)&lt;br /&gt;
	local page_name = frame.args[1] or frame.args[&amp;#039;1&amp;#039;] or &amp;#039;&amp;#039; &lt;br /&gt;
	local cur_frame = mw.getCurrentFrame()&lt;br /&gt;
	local page_subname = frame.args[2] or frame.args[&amp;#039;2&amp;#039;] or &amp;#039;&amp;#039; &lt;br /&gt;
	local title = mw.title.new(&amp;#039;Template:Editnotices/Page/&amp;#039; .. page_name)&lt;br /&gt;
	local subtitle = mw.title.new(&amp;#039;Template:Editnotices/Page/&amp;#039; .. page_name .. page_subname)&lt;br /&gt;
	if subtitle.exists then return frame:expandTemplate{ title = subtitle.text }&lt;br /&gt;
	elseif title.exists then return frame:expandTemplate{ title = title.text }&lt;br /&gt;
	else return &amp;#039;&amp;#039; end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>OctoberSama</name></author>
	</entry>
</feed>