<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.avlis.org/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="http://wiki.avlis.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIf"/>
	<link rel="alternate" type="text/html" href="http://wiki.avlis.org/w/index.php?title=Template:If&amp;action=history"/>
	<updated>2026-04-23T11:46:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>http://wiki.avlis.org/w/index.php?title=Template:If&amp;diff=31939&amp;oldid=prev</id>
		<title>Buddha: Added If Template to make other templates work</title>
		<link rel="alternate" type="text/html" href="http://wiki.avlis.org/w/index.php?title=Template:If&amp;diff=31939&amp;oldid=prev"/>
		<updated>2009-09-22T17:56:11Z</updated>

		<summary type="html">&lt;p&gt;Added If Template to make other templates work&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{{else{{{test|}}}|{{{test{{{test|}}}|{{{then|}}}}}}}}}&amp;lt;noinclude&amp;gt;== Usage ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{if&lt;br /&gt;
  |test=VARIABLE_OR_PARAMETER_TO_TEST&lt;br /&gt;
  |then=code if 'test' is not empty&lt;br /&gt;
  |else=code if 'test' is empty&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Parameter '''else''' is optional. So you may also do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{if&lt;br /&gt;
  |test=VARIABLE_OR_PARAMETER_TO_TEST&lt;br /&gt;
  |then=code if 'test' is not empty&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Buddha</name></author>
	</entry>
</feed>