Module:WikiProject banner/sandbox: Difference between revisions

Content deleted Content added
add image to collapsed
add some styling
Line 506:
table.insert(note_output, new_note)
if note_image then
local icon = mw.html.create('span')
table.insert(nested_ratings, '[[File:' .. note_args.image_name .. '|20px]]')
:addClass('wpb-header-icon')
table.insert :wikitext(nested_ratings, '[[File:' .. note_args.image_name .. '|20px]]')
:done()
table.insert(nested_ratings, tostring(icon))
end
end