<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.undertensai.cn/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.undertensai.cn/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.undertensai.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Ifsubst/doc&amp;action=history"/>
	<updated>2026-11-17T03:32:11Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.undertensai.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Ifsubst/doc&amp;diff=26931&amp;oldid=prev</id>
		<title>wiki&gt;ExE Boss：​/* TemplateData */ Add {{#invoke:TNT|doc|ifsubst}}</title>
		<link rel="alternate" type="text/html" href="https://wiki.undertensai.cn/index.php?title=%E6%A8%A1%E6%9D%BF:Ifsubst/doc&amp;diff=26931&amp;oldid=prev"/>
		<updated>2021-08-11T13:26:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;TemplateData：​&lt;/span&gt; Add {{&lt;a href=&quot;https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:Scribunto#.23invoke&quot; class=&quot;extiw&quot; title=&quot;mw:Special:MyLanguage/Extension:Scribunto&quot;&gt;#invoke&lt;/a&gt;:&lt;a href=&quot;/%E6%A8%A1%E5%9D%97:TNT&quot; title=&quot;模块:TNT&quot;&gt;TNT&lt;/a&gt;|doc|&lt;a href=&quot;/index.php?title=C:Data:Templatedata/ifsubst.tab&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;C:Data:Templatedata/ifsubst.tab（页面不存在）&quot;&gt;ifsubst&lt;/a&gt;}}&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;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&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 [[Manual:Substitution#Multilevel_substitution|safesubst]] mode to work properly: &lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ {{{|safesubst:}}}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;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
{{#invoke:TNT|doc|ifsubst}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Meta templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wiki&gt;ExE Boss</name></author>
	</entry>
</feed>