4,683
edits
(Support enhancement slots) |
m (Allow for a custom header title) |
||
Line 138: | Line 138: | ||
local compact = true | local compact = true | ||
if args.noheader == nil then | if args.noheader == nil then | ||
local itemHeader = (greatest_row_size > 1 and 'Item (most effective → least effective)') or 'Item' | local itemHeader = nil | ||
if args.header ~= nil then | |||
itemHeader = args.header | |||
else | |||
itemHeader = (greatest_row_size > 1 and 'Item (most effective → least effective)') or 'Item' | |||
end | |||
compact = false | compact = false | ||
parent:addClass('wikitable stickyHeader') | parent:addClass('wikitable stickyHeader') |