Module:Gallery: Difference between revisions

Jump to navigation Jump to search
simplify with one parameter, state, which when set will make the gallery collapsible with collapsed state = state
(change this to a th to allow for collapsible galleries)
(simplify with one parameter, state, which when set will make the gallery collapsible with collapsed state = state)
Line 12:
local tbl = HtmlBuilder.create('table')
if args.classstate then
tbl.css('width', '100%')
tbl.addClass(args.class'collapsible')
tbl.addClass(args.state)
end
if args.style then
tbl.cssText(args.style)
Line 24 ⟶ 30:
tbl.attr('align', args.align)
end
if args.class then
tbl.addClass(args.class)
end
if args.title then
tbl
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu