Module:Chessboard mxn: Difference between revisions

Content deleted Content added
per talk
extend (will test)
Line 3:
function chessboard(args, size, rows, cols, rev, trans, lightdark, altprefix, letters, numbers, header, footer, align, clear)
function colchar( col )
return (col <= 26) and ( "abcdefghijklmnopqrstuvwxyz" ):sub( col, col ) or
'a' .. or ( "abcdefghijklmnopqrstuvwxyz" ):sub( math.floor(col-25/26), math.floor(col-25/26) )
.. ( "abcdefghijklmnopqrstuvwxyz" ):sub( col-math.floor(col/26)*26 + 1, col-math.floor(col/26)*26 + 1)
end
function image_square( pc, row, col, size, t, flip, altprefix )