Module:Yesno: Difference between revisions
No edit summary |
Created page with "-- Function allowing for consistent treatment of boolean-like wikitext input. -- It works similarly to the template {{yesno}}. return function (val, default) -- If your wiki..." |
||
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 |