Template:Yesno/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Documentation subpage
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{dochead}}{{lua|utils|yesno}}
{{dochead}}{{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. This template uses a wrapper function in [[Module:Utils]] to make the Yesno module accessible externally. It is mainly intended as a metatemplate for more complex templates.{{clear}}
 
Since [[Module:Yesno]] cannot be <code style="white-space: nowrap;">{{#invoke: }}</code>'d directly, a wrapper function in [[Module:Utils]] is used to access it.

Latest revision as of 13:10, 11 June 2025

Module:Yesno evaluates any input and produces true or false, based on the content of the input and several configurable options. This template uses a wrapper function in Module:Utils to make the Yesno module accessible externally. It is mainly intended as a metatemplate for more complex templates.