Lompat ke isi

Modul:Yesno: Riwayat revisi

Legenda: (cur) = beda éngkalinga versi nappa, (last) = beda éngkalinga versi ala, M=edit kecilan.

18 Mareq 2025

3 Méi 2024

  • skrgyolo 18.153 Méi 2024 18.15 Ultron90 nennaq Sumbangan 745 bita +745 Leppa baru: '-- 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 == 'tru...'