Module:Listbox: Difference between revisions

Want an adless experience? Log in or Create an account.
accept 'hide' arg
(use Args.fromFrame which also pulls from the parent frame)
(accept 'hide' arg)
Line 152: Line 152:
   args.title = subject
   args.title = subject
   args.edit = subject
   args.edit = subject
   args.hide = 'show' -- TODO count number of navboxes, hide after the second or third (could relegate to the calling template)
   args.hide = args.hide or 'show'
   local obj = Box.new( 'light', args )
   local obj = Box.new( 'light', args )
   obj.format = format
   obj.format = format