Anonymous user
Module:Gallery: Difference between revisions
Jump to navigation
Jump to search
move to correct location :)
(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
|