Content deleted Content added
not needed |
add image to collapsed |
||
Line 500:
add_category(note_args.category2, sort)
if note_args.text then
local note_image = image(note_args.image_name, note_args.size or note_default_size, cfg.note.icon_alt, 'center')
local new_note = mw.html.create('tr')
:tag('td'):css('background', note_args.background):wikitext(note_image):done()
:tag('td'):addClass('mbox-text'):attr('colspan', '2'):wikitext(note_args.text):allDone()
table.insert(note_output, new_note)
if note_image then
table.insert(nested_ratings, '[[File:' .. note_args.image_name .. '|20px]]')
end
end
end
|