پودمان:String: تفاوت میان نسخه‌ها

پرش به ناوبری پرش به جستجو
۵۸ بایت اضافه‌شده ،  ‏۲۶ دسامبر ۲۰۱۸
بدون خلاصۀ ویرایش
جز (۱ نسخه واردشده)
بدون خلاصۀ ویرایش
خط ۱۵: خط ۱۵:
     error_category: If an error occurs, specifies the name of a category to  
     error_category: If an error occurs, specifies the name of a category to  
         include with the error message.  The default category is   
         include with the error message.  The default category is   
         [Category:Errors reported by Module String].
         [Category:خطاهای گزارش‌شده توسط پودمان String].
          
          
     no_category: If set to 'true' or 1, no category will be added if an error
     no_category: If set to 'true' or 1, no category will be added if an error
خط ۴۲۳: خط ۴۲۳:
function str._error( error_str )
function str._error( error_str )
     local frame = mw.getCurrentFrame();
     local frame = mw.getCurrentFrame();
     local error_category = frame.args.error_category or 'Errors reported by Module String';
     local error_category = frame.args.error_category or 'خطاهای گزارش‌شده توسط پودمان String';
     local ignore_errors = frame.args.ignore_errors or false;
     local ignore_errors = frame.args.ignore_errors or false;
     local no_category = frame.args.no_category or false;
     local no_category = frame.args.no_category or false;

منوی ناوبری