Fandom

Wikia Developers Wiki

Global Lua Modules/Yesno

< Global Lua Modules

859pages on
this wiki
Add New Page
Talk0 Share
This module "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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.