<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIfsubst%2Fdoc</id>
	<title>Template:Ifsubst/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AIfsubst%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Ifsubst/doc&amp;action=history"/>
	<updated>2026-04-12T22:03:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Template:Ifsubst/doc&amp;diff=19193&amp;oldid=prev</id>
		<title>Wikipedia&gt;Dinoguy1000: fix &quot;|=foo&quot; bug</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Template:Ifsubst/doc&amp;diff=19193&amp;oldid=prev"/>
		<updated>2022-01-02T08:48:55Z</updated>

		<summary type="html">&lt;p&gt;fix &amp;quot;|=foo&amp;quot; bug&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE, and INTERWIKIS IN WIKIDATA --&amp;gt;&lt;br /&gt;
{{used in system|in [[MediaWiki:Abusefilter-disallowed-semicolon]]}}&lt;br /&gt;
== Usage ==&lt;br /&gt;
Meta template that returns the first parameter if evaluated during substitution, and the second parameter if evaluated during transclusion.&amp;lt;br /&amp;gt;Note that this template must be used in [[mw:Manual:Substitution#Multilevel_substitution|safesubst]] mode to work properly: &lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ safesubst:&amp;lt;noinclude/&amp;gt;ifsubst| yes | no }}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The {{para|demo}} parameter can be used for testing the template. Set {{para|demo|yes}} to always display the &amp;#039;&amp;#039;yes&amp;#039;&amp;#039; text, {{para|demo|no}} to always display the &amp;#039;&amp;#039;no&amp;#039;&amp;#039; text, or {{para|demo|&amp;lt;nowiki&amp;gt;{{{demo|}}}&amp;lt;/nowiki&amp;gt;}} to pass through the value from the parent template.&lt;br /&gt;
&lt;br /&gt;
{{List of subst helper templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other|&lt;br /&gt;
| &amp;lt;!-- ADD CATEGORIES HERE, and INTERWIKIS IN WIKIDATA --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia metatemplates]]&lt;br /&gt;
[[Category:If-then-else templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Dinoguy1000</name></author>
	</entry>
</feed>