模块:Yesno:修订间差异

添加938字节 、​ 2025年7月16日 (星期三)
创建页面,内容为“-- 摘自Arcaea中文维基:https://arcwiki.mcd.blue/index.php?title=Module:Yesno -- 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…”
(创建页面,内容为“-- 摘自Arcaea中文维基:https://arcwiki.mcd.blue/index.php?title=Module:Yesno -- 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…”)
 
(没有差异)
150

个编辑