<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://cellan.joemonson.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AIf_in_category</id>
	<title>Module:If in category - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://cellan.joemonson.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AIf_in_category"/>
	<link rel="alternate" type="text/html" href="http://cellan.joemonson.com/index.php?title=Module:If_in_category&amp;action=history"/>
	<updated>2026-10-25T15:24:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.0</generator>
	<entry>
		<id>http://cellan.joemonson.com/index.php?title=Module:If_in_category&amp;diff=9113&amp;oldid=prev</id>
		<title>Cellan3: Created page with &quot;local p = {}  function p.main(frame) 	local args = require(&#039;Module:Arguments&#039;).getArgs(frame) 	return p._main(args) end  function p._main(args) 	-- create a title object 	local page = (args.page and mw.title.new(args.page)) or mw.title.getCurrentTitle() 	if require(&#039;Module:TableTools&#039;).inArray(page.categories, string.gsub( args[1], &#039;^[Cc]ategory:&#039;, &#039;&#039; )) then 		if not args[3] then 			-- if we are are not given anything to return, return &#039;yes&#039; if it evalulates to true...&quot;</title>
		<link rel="alternate" type="text/html" href="http://cellan.joemonson.com/index.php?title=Module:If_in_category&amp;diff=9113&amp;oldid=prev"/>
		<updated>2025-03-24T18:07:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  function p.main(frame) 	local args = require(&amp;#039;Module:Arguments&amp;#039;).getArgs(frame) 	return p._main(args) end  function p._main(args) 	-- create a title object 	local page = (args.page and mw.title.new(args.page)) or mw.title.getCurrentTitle() 	if require(&amp;#039;Module:TableTools&amp;#039;).inArray(page.categories, string.gsub( args[1], &amp;#039;^[Cc]ategory:&amp;#039;, &amp;#039;&amp;#039; )) then 		if not args[3] then 			-- if we are are not given anything to return, return &amp;#039;yes&amp;#039; if it evalulates to true...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&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)&lt;br /&gt;
	return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	-- create a title object&lt;br /&gt;
	local page = (args.page and mw.title.new(args.page)) or mw.title.getCurrentTitle()&lt;br /&gt;
	if require(&amp;#039;Module:TableTools&amp;#039;).inArray(page.categories, string.gsub( args[1], &amp;#039;^[Cc]ategory:&amp;#039;, &amp;#039;&amp;#039; )) then&lt;br /&gt;
		if not args[3] then&lt;br /&gt;
			-- if we are are not given anything to return, return &amp;#039;yes&amp;#039; if it evalulates to true&lt;br /&gt;
    		return args[2] or &amp;#039;yes&amp;#039;&lt;br /&gt;
    	else &lt;br /&gt;
    		return args[2]&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		return args[3]&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Cellan3</name></author>
	</entry>
</feed>