۲۲٬۷۴۲
ویرایش
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
(۵ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
خط ۷: | خط ۷: | ||
local s3 = subText .. '</span> <small><span class="content-improvement-item__number-smal">' | local s3 = subText .. '</span> <small><span class="content-improvement-item__number-smal">' | ||
local s4 = converter.convert("fa", mw.site.stats.pagesInCategory(catName, pages)) | local s4 = converter.convert("fa", mw.site.stats.pagesInCategory(catName, pages)) | ||
local s5 = '</span></small></span>]]</div>' | local s5 = ' مورد</span></small></span>]]</div>' | ||
return s1 .. s2 .. s3 .. s4 .. s5 | return s1 .. s2 .. s3 .. s4 .. s5 | ||
end | end | ||
خط ۱۵: | خط ۱۵: | ||
local data = { | local data = { | ||
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', 'رشته های حقوقی', 'رشتههای حقوقی'), | ||
} | } | ||
function p.main(frame) | function p.main(frame) | ||
local result = "" | local result = "" | ||
for i = 1, #data, 1 do | |||
for i = 1, | result = result .. data[i] | ||
result = result .. | |||
end | end | ||
return result | return result | ||
end | end | ||
return p | return p |