Module:Listbox: Difference between revisions

Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m
no edit summary
(refactor to inherit from Box in a more O-O way)
mNo edit summary
Line 11: Line 11:
   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 = 'show' -- TODO count number of navboxes, hide after the second or third (could relegate to the calling template)
   local obj = Box.new( 'dark', args )
   local obj = Box.new( 'light', args )
   obj.subject = subject
   obj.subject = subject
   obj.categories = { args[1], subject, args[2] }
   obj.categories = { args[1], subject, args[2] }

Navigation menu