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

جز
۱ نسخه واردشده
بدون خلاصۀ ویرایش
جز (۱ نسخه واردشده)
خط ۳۸: خط ۳۸:
checkType('_otheruses', 2, options, 'table')
checkType('_otheruses', 2, options, 'table')
if not (options.defaultPage or options.title) then
if not (options.defaultPage or options.title) then
error('هیچ داده عنوان پیش‌فرضی در "_otheruses" جدول گزینه‌ها ارائه نشده است', 2)
error('No default title data provided in "_otheruses" options table', 2)
end
end
local emptyArgs = true
local emptyArgs = true
خط ۵۲: خط ۵۲:
--Generate and return hatnote
--Generate and return hatnote
local text = mHatlist.forSeeTableToString({{
local text = mHatlist.forSeeTableToString({{
use = options.otherText and "دیگر " .. options.otherText or nil,
use = options.otherText and "other " .. options.otherText or nil,
pages = args
pages = args
}})
}})
۴۱۵٬۰۷۸

ویرایش