"मोड्युल:Navbox" का संशोधनहरू बिचको अन्तर

Content deleted Content added
minor whitespace: trim trailing spaces; tabs --> spaces
move border check to inner if to avoid bad navbar displaying
पङ्क्ति ४९:
-- also no show/hide link, then we need a spacer on the right to achieve the left shift.
if args.state == 'plain' then spacerSide = 'right' end
elseif args.navbar == 'plain' or (not args.name and mw.getCurrentFrame():getParent():getTitle() == 'Template:Navbox' and gsub(border == 'subgroup/sandbox$' or border ==, 'child' or border) == 'noneTemplate:Navbox')) then
-- No navbar. Need a spacer on the left to balance out the width of the show/hide link.
if args.state ~= 'plain' and (border == 'subgroup' or border == 'child' or border == 'none') then spacerSide = 'left' end
else
-- Will render navbar (or error message). If there's no show/hide link, need a spacer on the right
"https://ne.wikipedia.org/wiki/मोड्युल:Navbox" बाट अनुप्रेषित