Module:Portal navigation: Difference between revisions

Jump to navigation Jump to search
Imported from Wikimedia Meta-Wiki
 
MeowyCats2 (talk | contribs)
m 2 revisions imported
 
(One intermediate revision by one other user not shown)
Line 190: Line 190:
if index == active and subtabs[index] ~= nil and hidesubnav ~= true then
if index == active and subtabs[index] ~= nil and hidesubnav ~= true then
body = body .. '<ul class="portal-navigation-subtabs" style="border-color:' .. themecolor .. ';">'
body = body .. '<ul class="portal-navigation-subtabs" style="border-color:' .. activecolor or themecolor .. ';">'
for _, subpagelink in ipairs(subtabs[index]) do
for _, subpagelink in ipairs(subtabs[index]) do