الفرق بين المراجعتين لصفحة: «وحدة:Navbox»

لا ملخص تعديل
ط مراجعة واحدة
 
(٢ مراجعات متوسطة بواسطة نفس المستخدم غير معروضة)
سطر ٨١: سطر ٨١:
local function renderNavBar(titleCell)
local function renderNavBar(titleCell)


if args.navbar ~= 'off' and args.navbar ~= 'plain' and not (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == 'الگو:Navbox') then
if args.navbar ~= 'off' and args.navbar ~= 'plain' and not (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == 'template:Navbox') then
titleCell:wikitext(navbar{
titleCell:wikitext(navbar{
args.name,
args.name,
سطر ٤٢٦: سطر ٤٢٦:
getArgs = require('Module:Arguments').getArgs
getArgs = require('Module:Arguments').getArgs
end
end
args = getArgs(frame, {wrappers = 'الگو:Navbox'})
args = getArgs(frame, {wrappers = 'template:Navbox'})


-- Read the arguments in the order they'll be output in, to make references number in the right order.
-- Read the arguments in the order they'll be output in, to make references number in the right order.