Jump to content

Template:Yesno/doc: Difference between revisions

no edit summary
(Created page with "{{t|Yesno}} evaluates any input and produces a normalized <samp>yes</samp> or nil output, based on the content of the input and several configurable options. It is not used in article prose, but in coding complex templates. == Usage == The template distinguishes five different types of input, supplied on the first unnamed parameter: # '''Yes''': Case-insensitive forms of <code>Yes</code>, <code>y</code>, <code>true</code>, <code>on</code>, and <code>1</code>; e.g. {{tlx...")
 
No edit summary
 
Line 10: Line 10:


By default, the template returns "yes" in the first and last case but returns nil (blank, empty string) in the other cases.
By default, the template returns "yes" in the first and last case but returns nil (blank, empty string) in the other cases.
<includeonly>[[Category:Templates]]</includeonly>
<includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>