Module:Sprite: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 12: Line 12:
local col = tonumber(frame.args['col']) - 1
local col = tonumber(frame.args['col']) - 1
local image = frame.args['image']
local image = frame.args['image']
local cellWidth = sheetWidth / noOfRows
local cellWidth = sheetWidth / noOfColumns
local cellHeight = sheetHeight / noOfColumns
local cellHeight = sheetHeight / noOfRows
local span = mw.html.create('span')
local span = mw.html.create('span')