Module:Navbox: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
move border check to inner if to avoid bad navbar displaying |
looks like we really shouldn't have been checking border here at all |
||
வரிசை 51:
elseif args.navbar == 'plain' or (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == 'Template:Navbox') then
-- No navbar. Need a spacer on the left to balance out the width of the show/hide link.
if args.state ~= 'plain'
else
-- Will render navbar (or error message). If there's no show/hide link, need a spacer on the right
| |||