Module:SkillNav: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 130: Line 130:


     header:css('background-color', colors);
     header:css('background-color', colors);
     header:css({
      
        ['justify-content'] = 'center',
    if (args.is_guild ~= nil) then
        ['background-color'] = colors:gsub('#', '')
        header:css({
    });
            ['justify-content'] = 'center',
            ['background-color'] = colors:gsub('#', '#')
        });
    end
   
     if (not isForceNav and not args.is_guild) then
     if (not isForceNav and not args.is_guild) then
         header:wikitext(frame:expandTemplate{
         header:wikitext(frame:expandTemplate{