Module:Gallery: Difference between revisions

Content deleted Content added
add captionstyle as requested on the talk page
move to correct location :)
Line 77:
.css('padding', '0px')
.css('text-align', 'center')
.cssText(captionstyle)
.wikitext(mw.ustring.format('[[%s|center|border|%dx%dpx|alt=%s|%s]]', img, imgWidth, imgHeight, alt, caption))
.done()
Line 98 ⟶ 97:
.css('border', 'none')
.css('border-width', '0px')
.cssText(captionstyle)
.wikitext(caption .. ' ')
end