This page is "edit" protected. The "sysop" right is required to "edit" this page.<ul class='mw-logevent-loglines'>
<li data-mw-logid="1137" data-mw-logaction="protect/protect" class="mw-logline-protect"> <a href="/wiki/Special:Log?logid=1137" title="Special:Log">18:33, 16 January 2021</a> <a href="/wiki/User:Celeste" class="mw-userlink" title="User:Celeste"><bdi>Celeste</bdi></a> <span class="mw-usertoollinks mw-changeslist-links"><span><a href="/wiki/User_talk:Celeste" class="mw-usertoollinks-talk" title="User talk:Celeste">talk</a></span> <span><a href="/wiki/Special:Contributions/Celeste" class="mw-usertoollinks-contribs" title="Special:Contributions/Celeste">contribs</a></span></span> protected <a href="/wiki/Module:Yesno" title="Module:Yesno">Module:Yesno</a> [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite) [Protect=Allow only administrators] (indefinite) <span class="mw-logevent-actionlink">(<a href="/wiki/Module:Yesno?action=history&offset=20210116183349" title="Module:Yesno">hist</a>)</span> </li>
</ul></ul>
This page is "move" protected. The "sysop" right is required to "move" this page.<ul class='mw-logevent-loglines'>
<li data-mw-logid="1137" data-mw-logaction="protect/protect" class="mw-logline-protect"> <a href="/wiki/Special:Log?logid=1137" title="Special:Log">18:33, 16 January 2021</a> <a href="/wiki/User:Celeste" class="mw-userlink" title="User:Celeste"><bdi>Celeste</bdi></a> <span class="mw-usertoollinks mw-changeslist-links"><span><a href="/wiki/User_talk:Celeste" class="mw-usertoollinks-talk" title="User talk:Celeste">talk</a></span> <span><a href="/wiki/Special:Contributions/Celeste" class="mw-usertoollinks-contribs" title="Special:Contributions/Celeste">contribs</a></span></span> protected <a href="/wiki/Module:Yesno" title="Module:Yesno">Module:Yesno</a> [Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite) [Protect=Allow only administrators] (indefinite) <span class="mw-logevent-actionlink">(<a href="/wiki/Module:Yesno?action=history&offset=20210116183349" title="Module:Yesno">hist</a>)</span> </li>
</ul></ul>
Module:Yesno
From Celeste Wiki
Revision as of 18:33, 16 January 2021 by Celeste(talk | contribs)(Protected "Module:Yesno" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite) [Protect=Allow only administrators] (indefinite)))
Documentation for this module may be created at Module:Yesno/doc
-- Function allowing for consistent treatment of boolean-like wikitext input.-- It works similarly to the template {{yesno}}.returnfunction(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'andval:lower()orvalifval==nilthenreturnnilelseifval==trueorval=='yes'orval=='y'orval=='true'orval=='t'ortonumber(val)==1thenreturntrueelseifval==falseorval=='no'orval=='n'orval=='false'orval=='f'ortonumber(val)==0thenreturnfalseelsereturndefaultendend
Cookies help us deliver our services. By using our services, you agree to our use of cookies.