Module:Yesno: Difference between revisions

Jump to navigation Jump to search
No edit summary
m>Peteforsyth
m 23 revisions imported from w:Module:Yesno: Attempting, per request from User:Titodutta. I'm not sure if "w" is the right source wiki (only a few options in drop-down menu)
Line 1: Line 1:
-- Function allowing for consistent treatment of boolean-like wikitext input.
-- Function allowing for consistent treatment of boolean-like wikitext input.
-- It works similarly to the template {{yesno}}.
-- It works similarly to the template {{yesno}}.
 
return function (val, default)
return function (val, default)
-- If your wiki uses non-ascii characters for any of "yes", "no", etc., you
-- If your wiki uses non-ascii characters for any of "yes", "no", etc., you