Module:Collapsible list: Difference between revisions

Convert to mw-collapsible
m (Changed protection level of Module:Collapsible list: High-risk Lua module: allow template editors ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite)))
(Convert to mw-collapsible)
Line 54:
-- Get class, style and title data.
local div1class = formatAttributes( 'class', 'NavFramemw-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;',
args.title_style,
args.titlestyle,
Line 70 ⟶ 71:
)
local title = args.title or 'List'
local ulclass = formatAttributes( 'class', 'NavContentmw-collapsible-content', args.hlist and 'hlist' )
local ulstyle = formatAttributes(
'style',
Anonymous user