Module:Sidebar: Difference between revisions

add support for {{sidebar with collapsible groups}}
add styles
Line 194: Line 194:
function _collapsibleSidebar(args)
function _collapsibleSidebar(args)
     args.abovestyle = 'border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;' .. (args.abovestyle or '')
     args.abovestyle = 'border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;' .. (args.abovestyle or '')
    args.belowstyle = 'border-top: 1px solid #aaa; border-bottom: 1px solid #aaa;' .. (args.belowstyle or '')
    args.navbarstyle = 'padding-top: 0.6em;' .. (args.navbarstyle or args.tnavbarstyle or '')
      
      
     for k, v in pairs(args) do
     for k, v in pairs(args) do