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

۱۵ بایت اضافه‌شده ،  ‏۲۲ سپتامبر ۲۰۲۲
جز
بدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
خط ۳۰: خط ۳۰:


-- Helper function to get localized messages
-- Helper function to get localized messages
function getMessage(key)
-- function getMessage(key)
local ok, TNT = pcall(require, 'Module:TNT')
-- local ok, TNT = pcall(require, 'Module:TNT')
if not ok then return key end
-- if not ok then return key end
return TNT.format('I18n/Module:Excerpt.tab', key)
-- return TNT.format('I18n/Module:Excerpt.tab', key)
end  
-- end  


function p.main(frame)
function p.main(frame)