Anonymous

Module:SkillNav: Difference between revisions

From Elwiki
no edit summary
No edit summary
No edit summary
Line 133: Line 133:
     -- Header
     -- Header
     local header = skill_nav:tag('div'):addClass('skill-nav-header');
     local header = skill_nav:tag('div'):addClass('skill-nav-header');
    if (args.is_guild ~= nil) then
        header = header:css('justify-content', 'center');
    end
     local colors;
     local colors;
     if (args.color ~= nil) then
     if (args.color ~= nil) then
Line 151: Line 148:
     if (is_localized) then
     if (is_localized) then
         lang_suffix = '/' .. args.lang;
         lang_suffix = '/' .. args.lang;
    end
    if (args.is_guild ~= nil) then
        header:attr('style', 'justify-content: center');
     end
     end