Template:Yesno/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(5 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;">{{<nowiki />#invoke: }}</code>d directly, a wrapper function in [[Module:Utils]] is used to access it.