Module:Collapsible list: Difference between revisions

preserve the old classes in order to preserve styling for now.
m (preserve the color for now)
(preserve the old classes in order to preserve styling for now.)
Line 54:
-- Get class, style and title data.
local div1class = formatAttributes( 'class', 'NavFrame mw-collapsible', not args.expand and 'mw-collapsed' )
local div1style = formatAttributes(
'style',
Line 61:
not ( args.frame_style or args.framestyle ) and 'border: none; padding: 0;'
)
local div2class = formatAttributes( 'class', 'NavHead' )
local div2style = formatAttributes(
'style',
'font-size: 105%;',
'font-weight: bold;',
'background-color: #ccf;',
args.title_style,
args.titlestyle,
Line 72 ⟶ 70:
)
local title = args.title or 'List'
local ulclass = formatAttributes( 'class', 'NavContent mw-collapsible-content', args.hlist and 'hlist' )
local ulstyle = formatAttributes(
'style',
Anonymous user