تاريخ مراجعات: «وحدة:Yesno»

اذهب إلى التنقل اذهب إلى البحث

اختيار الفرق: ضع علامة على أزرار النسخ للمقارنة واضغط قارن بين النسخ المختارة أو الزر بالأسفل.
مفتاح: (الحالي) = الفرق مع النسخة الحالية، (السابق) = الفرق مع النسخة السابقة، ط = تغيير طفيف.

٢١ مارس ٢٠٢٤

  • الحاليالسابق ١٥:٠٤١٥:٠٤، ٢١ مارس ٢٠٢٤Aleppo Comparative Wiki نقاش مساهمات ٧٨٥ بايت +٧٨٥ أنشأ الصفحة ب'-- 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 == 'نعم'...'