Jump to content

Module:Yesno: Difference between revisions

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)
No edit summary
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:
-- Function allowing for consistent treatment of boolean-like wikitext input.
-- It works similarly to the template {{yesno}}.
 
return function (val, default)
-- If your wiki uses non-ascii characters for any of "yes", "no", etc., you
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.