Creating Module:Yesno

From Dive Atlas

Warning: You are recreating a page that was previously deleted.

You should consider whether it is appropriate to continue editing this page. The deletion and move log for this page are provided here for convenience:

  • 17:43, 23 January 2025 Poseidon talk contribs deleted page Module:Yesno (content was: "-- 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 -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes' or val == 'y' or val == 'true...")
  • 20:09, 25 August 2023 Poseidon talk contribs deleted page Module:Yesno (content was: "-- 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 -- should replace "val:lower()" with "mw.ustring.lower(val)" in the -- following line. val = type(val) == 'string' and val:lower() or val if val == nil then return nil elseif val == true or val == 'yes' or val == 'y' or val == 'true...")
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
Please note that all contributions to Dive Atlas may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Meta:Copyrights for details). Do not submit copyrighted work without permission!

To create the page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)