پودمان:High-use: تفاوت میان نسخهها
صفحهای تازه حاوی «local p = {} -- _fetch looks at the "demo" argument. local _fetch = require('Module:Transclusion_count').fetch local yesno = require('Module:Yesno') local numConv = require('Module:Numeral converter').convert function p.num(frame, count) if count == nil then if yesno(frame.args['fetch'] or frame.args['واکشی']) == false then if (frame.args[1] or '') ~= '' then count = tonumber(frame.args[1]) end else count = _fetch(fra...» ایجاد کرد |
بدون خلاصۀ ویرایش |
||
خط ۱۰۳: | خط ۱۰۳: | ||
title.fullText, title.fullText, | title.fullText, title.fullText, | ||
(mw.title.getCurrentTitle().namespace == 828 and "پودمان" or "الگو"), | (mw.title.getCurrentTitle().namespace == 828 and "پودمان" or "الگو"), | ||
mw.title.getCurrentTitle().namespace == 828 and "پودمان:Sandbox|پودمان تمرینی" or " | mw.title.getCurrentTitle().namespace == 828 and "پودمان:Sandbox|پودمان تمرینی" or "ویکیهزاره:صفحههای کاربری#زیرصفحههای کاربری چه؟|زیرصفحهٔ کاربری" | ||
) | ) | ||
local infoArg = frame.args["info"] ~= "" and frame.args["info"] | local infoArg = frame.args["info"] ~= "" and frame.args["info"] | ||
if (systemMessages or (frame.args[1] == "risk" or frame.args[1] == "ریسک") or (count and count >= 100000) ) then | if (systemMessages or (frame.args[1] == "risk" or frame.args[1] == "ریسک") or (count and count >= 100000) ) then | ||
local info = systemMessages and '.<br/>تغییر دادن آن میتواند به تغییر بیدرنگ در رابط کاربری | local info = systemMessages and '.<br/>تغییر دادن آن میتواند به تغییر بیدرنگ در رابط کاربری ویکیهزاره منجر شود.' or '.' | ||
if infoArg then | if infoArg then | ||
info = info .. "<br />" .. infoArg | info = info .. "<br />" .. infoArg |