Module:Chessboard mxn: Difference between revisions

Content deleted Content added
new optional parameters for (1) using transparent pieces, (2) adding a prefix to the alt string for Raumschach diagram, (3) swap the light dark squares
rm leading space
Line 156:
local letters = ( args.letters or pargs.letters or 'both' ):lower()
local numbers = ( args.numbers or pargs.numbers or 'both' ):lower()
local header = mw.ustring.gsub( args[2] or pargs[2] or '', '^%s*(.-)%s*$', '%1' )
local footer = args[3 + rows*cols] or pargs[3 + rows*cols] or ''
local align = ( args[1] or pargs[1] or 'tright' ):lower()