Module:Yesno/doc

From NOISZ Wiki
< Module:Yesno
Revision as of 16:25, 4 December 2025 by RiceEmpress (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Yesno

Yesno is a function that converts various "affirmative" and "negative" inputs in modules into booleans; "yes", "Y", 1 "true", "t" and "on" are all converted into a true boolean, and "no", "N", 0, "false", "f" and "off" are converted to a false boolean. This is for consistent treatment of boolean-like wikitext input.