17,230
edits
(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( ' | 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] } |