<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ceo.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AIf_preview</id>
	<title>Module:If preview - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ceo.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AIf_preview"/>
	<link rel="alternate" type="text/html" href="https://ceo.wiki/index.php?title=Module:If_preview&amp;action=history"/>
	<updated>2026-04-19T08:16:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://ceo.wiki/index.php?title=Module:If_preview&amp;diff=2249&amp;oldid=prev</id>
		<title>SuperAdmin1: Create simplified Module:If preview</title>
		<link rel="alternate" type="text/html" href="https://ceo.wiki/index.php?title=Module:If_preview&amp;diff=2249&amp;oldid=prev"/>
		<updated>2025-10-27T12:59:03Z</updated>

		<summary type="html">&lt;p&gt;Create simplified Module:If preview&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Simplified Module:If preview for CEO.wiki&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p._warning(args)&lt;br /&gt;
	local warning = args[1] or &amp;#039;&amp;#039;&lt;br /&gt;
	if warning == &amp;#039;&amp;#039; then&lt;br /&gt;
		return &amp;#039;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Simple preview warning without dependencies&lt;br /&gt;
	return &amp;#039;&amp;lt;div class=&amp;quot;mw-message-box mw-message-box-warning&amp;quot;&amp;gt;&amp;#039; .. warning .. &amp;#039;&amp;lt;/div&amp;gt;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = frame.args&lt;br /&gt;
	-- In preview mode, return first arg, otherwise second&lt;br /&gt;
	-- For simplicity, we&amp;#039;ll just return empty string&lt;br /&gt;
	return args[2] or &amp;#039;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.pmain(frame)&lt;br /&gt;
	return p.main(frame:getParent())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>SuperAdmin1</name></author>
	</entry>
</feed>