Template:Yesno/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{dochead}}{{substitute}}{{lua|utils|yesno}}
{{dochead}}{{substitute}}{{lua|utils|yesno}}
{{tlx|Yesno}} evaluates any input and produces <code>true</code> or <code>false</code>, based on the content of the input and several configurable options. It is not used in article prose, but in coding complex templates.
[[Module:Yesno]] evaluates any input and produces <code>true</code> or <code>false</code>, based on the content of the input and several configurable options. [[Template:Yesno]] uses a wrapper function in [[Module:Utils]] to make the Yesno module accessible externally. It is not designed to be used in article prose, but is intended as a metatemplate for more complex templates.
 
Since [[Module:Yesno]] cannot be invoked directly, a wrapper function in [[Module:Utils]] is used to access it.

Revision as of 16:06, 9 June 2025

This template may be substituted.

Module:Yesno evaluates any input and produces true or false, based on the content of the input and several configurable options. Template:Yesno uses a wrapper function in Module:Utils to make the Yesno module accessible externally. It is not designed to be used in article prose, but is intended as a metatemplate for more complex templates.