FANDOM


Yesno "provides a consistent interface for processing boolean or boolean-style string input".[1]

Description

This provides an easy way to pass template parameters to lua and validate whether they are a boolean true or false.

"While Lua allows the true and false boolean values, wikicode templates can only express boolean values through strings such as "yes", "no", etc. This module processes these kinds of strings and turns them into boolean input for Lua to process"[1].

References

  1. 1.0 1.1 Module:Yesno | Wikipedia
Community content is available under CC-BY-SA unless otherwise noted.

Fandom may earn an affiliate commission on sales made from links on this page.

Stream the best stories.

Fandom may earn an affiliate commission on sales made from links on this page.

Get Disney+