Nothing Special »
Address
:
[go:
up one dir
,
main page
]
Include Form
Remove Scripts
Accept Cookies
Show Images
Show Referer
Rotate13
Base64
Strip Meta
Strip Title
Session Cookies
Home
Random
Nearby
Log in
Settings
Toyrtyssyn
Mychione Wikipedia
Jiooldeyderyn
Ronsee
Reaghey
Module:Yesno
Raaue:
Cha nel oo loggit stiagh. Bee dt'enmys IP recortyssit ayns shennaghys reaghee yn duillag shoh.
Anti-spam check. Do
not
fill this in!
-- 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' or tonumber(val) == 1 then return true elseif val == false or val == 'no' or val == 'n' or val == 'false' or tonumber(val) == 0 then return false else return default end end
Giare-choontey:
By saving changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Doll magh
Cooney reaghee
(t'eh foshley ayns uinnag elley)
Preview page with this template
Wikidata entities used in this page
Module:Yesno
: Sitelink, Description: en
Clowan ymmydit er y duillag shoh:
Module:Yesno/doc
(
reagh
)