<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.xhsr.org.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AUnwiki</id>
	<title>模块:Unwiki - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.xhsr.org.cn/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E5%9D%97%3AUnwiki"/>
	<link rel="alternate" type="text/html" href="https://wiki.xhsr.org.cn/index.php?title=%E6%A8%A1%E5%9D%97:Unwiki&amp;action=history"/>
	<updated>2026-05-01T19:23:07Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://wiki.xhsr.org.cn/index.php?title=%E6%A8%A1%E5%9D%97:Unwiki&amp;diff=2942&amp;oldid=prev</id>
		<title>星河：​创建页面，内容为“local module = {}  -- str可以是&#039;&#039;，但不能是nil local function unwiki(str) 	return mw.text.decode(mw.text.unstripNoWiki(str)) end  function module.main(frame) 	local arg1 = frame.args[1] 	-- 没参数就报错，{{unwiki|}}有用，{{unwiki}}是要闹哪样 	assert(arg1, &#039;需要参数1！&#039;) 	return unwiki(arg1) end  return module”</title>
		<link rel="alternate" type="text/html" href="https://wiki.xhsr.org.cn/index.php?title=%E6%A8%A1%E5%9D%97:Unwiki&amp;diff=2942&amp;oldid=prev"/>
		<updated>2023-08-26T07:16:10Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“local module = {}  -- str可以是&amp;#039;&amp;#039;，但不能是nil local function unwiki(str) 	return mw.text.decode(mw.text.unstripNoWiki(str)) end  function module.main(frame) 	local arg1 = frame.args[1] 	-- 没参数就报错，{{unwiki|}}有用，{{unwiki}}是要闹哪样 	assert(arg1, &amp;#039;需要参数1！&amp;#039;) 	return unwiki(arg1) end  return module”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local module = {}&lt;br /&gt;
&lt;br /&gt;
-- str可以是&amp;#039;&amp;#039;，但不能是nil&lt;br /&gt;
local function unwiki(str)&lt;br /&gt;
	return mw.text.decode(mw.text.unstripNoWiki(str))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function module.main(frame)&lt;br /&gt;
	local arg1 = frame.args[1]&lt;br /&gt;
	-- 没参数就报错，{{unwiki|}}有用，{{unwiki}}是要闹哪样&lt;br /&gt;
	assert(arg1, &amp;#039;需要参数1！&amp;#039;)&lt;br /&gt;
	return unwiki(arg1)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return module&lt;/div&gt;</summary>
		<author><name>星河</name></author>
	</entry>
</feed>