<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.geministation.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AConfuse</id>
	<title>Module:Confuse - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.geministation.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AConfuse"/>
	<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=Module:Confuse&amp;action=history"/>
	<updated>2026-06-04T19:20:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.geministation.com/index.php?title=Module:Confuse&amp;diff=3750&amp;oldid=prev</id>
		<title>Banri: Created page with &quot;-- &lt;pre&gt; local p = {}  function p.main(frame) 	local args = frame:getParent().args  	-- return tag 	local ret = mw.html.create(&#039;div&#039;) 				:addClass(&#039;seealso&#039;) 				:addClass(&#039;h...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=Module:Confuse&amp;diff=3750&amp;oldid=prev"/>
		<updated>2020-05-31T00:50:02Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;-- &amp;lt;pre&amp;gt; local p = {}  function p.main(frame) 	local args = frame:getParent().args  	-- return tag 	local ret = mw.html.create(&amp;#039;div&amp;#039;) 				:addClass(&amp;#039;seealso&amp;#039;) 				:addClass(&amp;#039;h...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- &amp;lt;pre&amp;gt;&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = frame:getParent().args&lt;br /&gt;
&lt;br /&gt;
	-- return tag&lt;br /&gt;
	local ret = mw.html.create(&amp;#039;div&amp;#039;)&lt;br /&gt;
				:addClass(&amp;#039;seealso&amp;#039;)&lt;br /&gt;
				:addClass(&amp;#039;hatnote&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
	local params = {}&lt;br /&gt;
	local ttl = 0&lt;br /&gt;
&lt;br /&gt;
	-- collect and count arguments&lt;br /&gt;
	for _, v in ipairs(args) do&lt;br /&gt;
		ttl = ttl + 1&lt;br /&gt;
		table.insert(params,v)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- main return text&lt;br /&gt;
	ret:wikitext(&amp;#039;Not to be confused with &amp;#039;)&lt;br /&gt;
&lt;br /&gt;
	-- for all arguments&lt;br /&gt;
	for i, v in ipairs(params) do&lt;br /&gt;
		-- add links&lt;br /&gt;
		if i &amp;lt; ttl and ttl &amp;gt; 1 then&lt;br /&gt;
			ret:wikitext(&amp;#039;[[&amp;#039;..v..&amp;#039;]]&amp;#039;)&lt;br /&gt;
		-- if last link&lt;br /&gt;
		elseif i == ttl then&lt;br /&gt;
			-- if only link&lt;br /&gt;
			if ttl == 1 then&lt;br /&gt;
				ret:wikitext(&amp;#039;[[&amp;#039;..v..&amp;#039;]]&amp;#039;)&lt;br /&gt;
			-- if final link&lt;br /&gt;
			else&lt;br /&gt;
				ret:wikitext(&amp;#039; or [[&amp;#039;..v..&amp;#039;]]&amp;#039;)&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		-- if more to come, add commas&lt;br /&gt;
		if i &amp;lt; ttl and ttl &amp;gt; 2 then&lt;br /&gt;
			ret:wikitext(&amp;#039;, &amp;#039;)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- period&lt;br /&gt;
	ret:wikitext(&amp;#039;.&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Banri</name></author>
	</entry>
</feed>