Module:Sprite: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Tags: Manual revert Reverted
No edit summary
Tag: Reverted
Line 39: Line 39:
left = tostring((offsetX - cellWidth * col) * ratio) .. 'px'
left = tostring((offsetX - cellWidth * col) * ratio) .. 'px'
})
})
:wikitext(string.format('[[%s|%dpx|class=%s]]', image, sheetWidth * ratio, imageClass))
:wikitext(string.format('[[%s|%dpx|class=%s]]this is a test caption', image, sheetWidth * ratio, imageClass))
:done()
:done()
return tostring(span)
return tostring(span)

Navigation menu