Module:Collapsible list: Difference between revisions

Jump to navigation Jump to search
m
Copied from w:Module:Collapsible list/sandbox. (Adding interwiki link for Void.)
m (1 revision imported)
template>Dmehus
m (Copied from w:Module:Collapsible list/sandbox. (Adding interwiki link for Void.))
Line 1:
-- This module implements {{collapsible list}}.
 
local p = {}
Line 69:
-- Get class, style and title data.
local div1class = formatAttributes( 'class', 'NavFramemw-collapsible', not args.expand and 'mw-collapsed' )
local div1style = formatAttributes(
'style',
'text-align: center; font-size: 95%;',
args.frame_style,
args.framestyle,
not ( args.frame_style or args.framestyle ) and 'border: none; padding: 0;'
)
local div2class = formatAttributes( 'class' -- no classes, 'NavHead'just for the sake of )consistency
local div2style = formatAttributes(
'style',
'fontline-sizeheight: 105%1.6em; background: transparent; textfont-alignweight: leftbold;',
'font-size: 105%;',
'text-align: left;',
args.title_style,
args.titlestyle
)
local title = args.title or 'List'
local ulclass = formatAttributes( 'class', 'NavContentmw-collapsible-content', args.hlist and 'hlist' )
local ulstyle = formatAttributes(
'style',
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu