Saltar por contenete

Historico de revision de "Module:Yesno"

Selection de diferentie: Marcar li radio butones del revisiones por comparar e batte enter o li buton in funde.
Legende: (hod) = diferentie che ultim revision, (ant) = diferentie che revision anteriori, m = redaction minori.

3 januar 2022

  • hodant 04:0304:03, 3 januar 2022 Renamed user 8acf31ebc6096374fac7208a57c76440 discussion contributiones 853 bytes +853 Creat págine contenente «-- 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'...» Marcationes: Redaction per invention mobil Redaction per version mobil del site