<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AIfsubst%2Fdoc</id>
	<title>模板:Ifsubst/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AIfsubst%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Ifsubst/doc&amp;action=history"/>
	<updated>2026-05-15T02:17:34Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Ifsubst/doc&amp;diff=7819&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE, and INTERWIKIS IN WIKIDATA --&gt; {{high-risk}} == Usage == Meta template that returns the first parameter if evaluated during substitution, and the second parameter if evaluated during transclusion.&lt;br /&gt;Note that this template must be used in safesubst mode to work properly:  : &lt;code&gt;&lt;nowiki&gt;{{ safesubst:&lt;noinclude/&gt;ifsubst| yes | n…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Ifsubst/doc&amp;diff=7819&amp;oldid=prev"/>
		<updated>2024-01-21T12:10:12Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Documentation subpage}} &amp;lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE, and INTERWIKIS IN WIKIDATA --&amp;gt; {{high-risk}} == Usage == 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 &lt;a href=&quot;https://www.mediawiki.org/wiki/Manual:Substitution#Multilevel_substitution&quot; class=&quot;extiw&quot; title=&quot;mw:Manual:Substitution&quot;&gt;safesubst&lt;/a&gt; mode to work properly:  : &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ safesubst:&amp;lt;noinclude/&amp;gt;ifsubst| yes | n…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&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;
{{high-risk}}&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>Zeroclanzhang</name></author>
	</entry>
</feed>