جز
۱ نسخه واردشده
بدون خلاصۀ ویرایش |
جز (۱ نسخه واردشده) |
||
| (یک نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
| خط ۳۸: | خط ۳۸: | ||
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(' | 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 " | use = options.otherText and "other " .. options.otherText or nil, | ||
pages = args | pages = args | ||
}}) | }}) | ||