יחידה:Navbox: הבדלים בין גרסאות בדף

אין תקציר עריכה
אין תקציר עריכה
שורה 49: שורה 49:
         -- also no show/hide link, then we need a spacer on the left to achieve the right shift.
         -- also no show/hide link, then we need a spacer on the left to achieve the right shift.
         if args['מצב'] == 'plain' then spacerSide = 'left' end
         if args['מצב'] == 'plain' then spacerSide = 'left' end
     elseif args.navbar == 'plain' or (not args.name and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == 'Template:Navbox') then
     elseif args.navbar == 'plain' or (not args['שם'] and mw.getCurrentFrame():getParent():getTitle():gsub('/sandbox$', '') == 'Template:Navbox') then
         -- No navbar. Need a spacer on the right to balance out the width of the show/hide link.
         -- No navbar. Need a spacer on the right to balance out the width of the show/hide link.
         if args['מצב'] ~= 'plain' then spacerSide = 'right' end
         if args['מצב'] ~= 'plain' then spacerSide = 'right' end
שורה 58: שורה 58:


         titleCell:wikitext(navbar{
         titleCell:wikitext(navbar{
             args.name,
             args['שם'],
             mini = 1,
             mini = 1,
             fontstyle = (args.basestyle or '') .. ';' .. (args['כותרת עיצוב'] or '') ..  ';background:none transparent;border:none;'
             fontstyle = (args.basestyle or '') .. ';' .. (args['כותרת עיצוב'] or '') ..  ';background:none transparent;border:none;'