٢٢٤
تعديل
لا ملخص تعديل |
لا ملخص تعديل |
||
سطر ٢٠: | سطر ٢٠: | ||
-- by parent navboxes. The result is that the category shows all pages | -- by parent navboxes. The result is that the category shows all pages | ||
-- where a child navbox is not contained in a parent navbox. | -- where a child navbox is not contained in a parent navbox. | ||
local orphanCat = ' | local orphanCat = '' | ||
if border == 'subgroup' and args.orphan ~= 'yes' then | if border == 'subgroup' and args.orphan ~= 'yes' then | ||
-- No change; striping occurs in outermost navbox. | -- No change; striping occurs in outermost 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$', '') == ' | 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, | ||
سطر ٣٢٢: | سطر ٣٢٢: | ||
for _, cat in ipairs(getTrackingCategories()) do | for _, cat in ipairs(getTrackingCategories()) do | ||
builder:wikitext(' | builder:wikitext('') | ||
end | end | ||
end | end | ||
سطر ٤٢٦: | سطر ٤٢٦: | ||
getArgs = require('Module:Arguments').getArgs | getArgs = require('Module:Arguments').getArgs | ||
end | end | ||
args = getArgs(frame, {wrappers = ' | 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. | ||
سطر ٤٤٢: | سطر ٤٤٢: | ||
return p | return p | ||
[[Category:جعبههای ناوبری یتیم]] | |||
[[Category:' .. cat .. ']] | |||
[[تصنيف:جعبههای ناوبری یتیم]] | |||
[[تصنيف:' .. cat .. ']] |