<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://structorica.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AYesNo</id>
	<title>Template:YesNo - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://structorica.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AYesNo"/>
	<link rel="alternate" type="text/html" href="https://structorica.wiki/index.php?title=Template:YesNo&amp;action=history"/>
	<updated>2026-06-18T03:37:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://structorica.wiki/index.php?title=Template:YesNo&amp;diff=493&amp;oldid=prev</id>
		<title>Ivan: Created page with &quot;&lt;includeonly&gt;{{#switch: {{lc: {{{1|}}}}}  | y | yes | t | true  | on  | 1 = {{{yes|yes}}}  | n | no  | f | false | off | 0 | = {{{no|}}}  |&lt;!--blank--&gt; = {{{blank|{{{no|}}} }}}  | #default = {{{yes|yes}}} }}&lt;/includeonly&gt;&lt;noinclude&gt; === Documentation === == Usage == This template is used to make other templates by turning an input into either &quot;Yes&quot; or no text, so as to be able to accept multiple &quot;true&quot; or &quot;false&quot; inputs for certain functions. It transforms the input valu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://structorica.wiki/index.php?title=Template:YesNo&amp;diff=493&amp;oldid=prev"/>
		<updated>2026-01-16T07:55:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;{{#switch: {{lc: {{{1|}}}}}  | y | yes | t | true  | on  | 1 = {{{yes|yes}}}  | n | no  | f | false | off | 0 | = {{{no|}}}  |&amp;lt;!--blank--&amp;gt; = {{{blank|{{{no|}}} }}}  | #default = {{{yes|yes}}} }}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt; === Documentation === == Usage == This template is used to make other templates by turning an input into either &amp;quot;Yes&amp;quot; or no text, so as to be able to accept multiple &amp;quot;true&amp;quot; or &amp;quot;false&amp;quot; inputs for certain functions. It transforms the input valu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#switch: {{lc: {{{1|}}}}}&lt;br /&gt;
 | y | yes | t | true  | on  | 1 = {{{yes|yes}}}&lt;br /&gt;
 | n | no  | f | false | off | 0 | = {{{no|}}}&lt;br /&gt;
 |&amp;lt;!--blank--&amp;gt; = {{{blank|{{{no|}}} }}}&lt;br /&gt;
 | #default = {{{yes|yes}}}&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
=== Documentation ===&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template is used to make other templates by turning an input into either &amp;quot;Yes&amp;quot; or no text, so as to be able to accept multiple &amp;quot;true&amp;quot; or &amp;quot;false&amp;quot; inputs for certain functions. It transforms the input value into either &amp;quot;yes&amp;quot; or no text, as stated above. The following makes it return &amp;quot;yes&amp;quot;:&lt;br /&gt;
* &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;t&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;y&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;on&amp;lt;/code&amp;gt;&lt;br /&gt;
The following makes the template return no text:&lt;br /&gt;
* &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;f&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;no&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;off&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The template, as such, makes the following return one output if a true input is provided and another output if a false input is given in a template transclusion:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#if:{{YesNo|{{{1}}}}}|first output|second output}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The same can also be done with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{YesNo|{{{1|}}}|yes=first output|no=second output}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. This is because the true and false values can also be customized in the template to return outputs other than &amp;quot;yes&amp;quot; or no text.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Template categories/interwikis here --&amp;gt;&lt;br /&gt;
[[Category:Technical templates]]&lt;br /&gt;
[[Category:Meta templates]]&lt;br /&gt;
&lt;br /&gt;
[[ru:Template:ДаНет]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ivan</name></author>
	</entry>
</feed>