۲۲٬۷۴۱
ویرایش
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
(۲ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
خط ۵: | خط ۵: | ||
local s1 = '<div class="content-improvement-item ' .. colorModifier .. ' ' .. iconModifier .. '">' | local s1 = '<div class="content-improvement-item ' .. colorModifier .. ' ' .. iconModifier .. '">' | ||
local s2 = '[[:رده:' .. catName .. '|<span class="content-improvement-item__subtext-big">' | local s2 = '[[:رده:' .. catName .. '|<span class="content-improvement-item__subtext-big">' | ||
local s3 = subText .. '</span>' | local s3 = subText .. '</span> <small><span class="content-improvement-item__number-smal">' | ||
local s4 = '</span></small></span>]]</div>' | local s4 = converter.convert("fa", mw.site.stats.pagesInCategory(catName, pages)) | ||
return s1 .. s2 .. s3 .. s4 | local s5 = ' مورد</span></small></span>]]</div>' | ||
return s1 .. s2 .. s3 .. s4 .. s5 | |||
end | end | ||
خط ۱۴: | خط ۱۵: | ||
local data = { | local data = { | ||
createItem('-color-golden', '-icon-searchCaseSensitive', 'مقالات', 'مقالات منتشره در نشریات'), | createItem('-color-golden', '-icon-searchCaseSensitive', 'مقالات منتشر شده در نشریات', 'مقالات حقوقی منتشره در نشریات'), | ||
createItem('-color-golden', '-icon-editUndo', 'کتاب های حقوقی', 'کتابهای حقوقی'), | createItem('-color-golden', '-icon-editUndo', 'کتاب های حقوقی', 'کتابهای حقوقی'), | ||
createItem('-color-golden', '-icon-searchCaseSensitive', 'پایان نامه های حقوقی', 'پایاننامههای حقوقی'), | |||
createItem('-color-golden', '-icon-editUndo', 'رساله های حقوقی', 'رسالههای حقوقی'), | |||
createItem('-color-golden', '-icon-tableMergeCells', 'رشته های حقوقی', 'رشتههای حقوقی'), | createItem('-color-golden', '-icon-tableMergeCells', 'رشته های حقوقی', 'رشتههای حقوقی'), | ||