۲۱٬۰۱۰
ویرایش
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
(۴ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
خط ۵: | خط ۵: | ||
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>' | ||
local s4 | local s4 = '</span></small></span>]]</div>' | ||
return s1 .. s2 .. s3 .. s4 | |||
return s1 .. s2 .. s3 .. s4 | |||
end | end | ||
local data = { | local data = { | ||
createItem('-color- | 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 |