Module:Equipment/Recommended: Difference between revisions

m
option to remove header
m (big test)
m (option to remove header)
Line 76: Line 76:
parent:tag('caption'):wikitext(string.format('Recommended equipment for %s', args.style))
parent:tag('caption'):wikitext(string.format('Recommended equipment for %s', args.style))
end
end
 
parent:tag('tr')
if not args.noheader then
:tag('th'):wikitext('Slot'):done()
parent:tag('tr')
:tag('th'):attr('colspan', greatest_row_size):wikitext('Item (most effective → least effective)'):done()
:tag('th'):wikitext('Slot'):done()
:tag('th'):attr('colspan', greatest_row_size):wikitext('Item (most effective → least effective)'):done()
end
for _, v in next, slots, nil do
for _, v in next, slots, nil do
892

edits