Jump to content

Module:Portal navigation and Module:Portal navigation/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
rename fcn
 
sync
 
Line 59: Line 59:
end
end


local function generate_tab(body, index, args)
local function generate_tag(body, index, args)
local container = body:tag('li')
local container = body:tag('li')
container:css('display','inline-block')
container:css('display','inline-block')
Line 176: Line 176:
for _, index in ipairs(tabindex) do
for _, index in ipairs(tabindex) do
generate_tab(body, index, args)
generate_tag(body, index, args)
end
end
end
end