<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.redfactionwiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIf</id>
	<title>Template:If - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.redfactionwiki.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIf"/>
	<link rel="alternate" type="text/html" href="https://www.redfactionwiki.com/w/index.php?title=Template:If&amp;action=history"/>
	<updated>2026-06-14T03:43:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://www.redfactionwiki.com/w/index.php?title=Template:If&amp;diff=3970&amp;oldid=prev</id>
		<title>DavidJCobb: Created.</title>
		<link rel="alternate" type="text/html" href="https://www.redfactionwiki.com/w/index.php?title=Template:If&amp;diff=3970&amp;oldid=prev"/>
		<updated>2009-08-19T20:47:24Z</updated>

		<summary type="html">&lt;p&gt;Created.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{{3{{{1|}}}|{{{1{{{1|}}}|{{{2|}}}}}}}}}&amp;lt;noinclude&amp;gt;Allows for if-defined statements in templates -- that is, you can test if a particular variable is empty or not. It is the functional equivalent of the [http://meta.wikimedia.org/wiki/Help:ParserFunctions ParserFunction] #if.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{if|CONDITION|NOT EMPTY|EMPTY}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; outputs NOT EMPTY&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{if||NOT EMPTY|EMPTY}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; outputs EMPTY&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>DavidJCobb</name></author>
	</entry>
</feed>