Content deleted Content added
new version that generates the frame along with the board per discussion at template talk:chess diagram |
Plastikspork (talk | contribs) See if this fixes an odd Chrome bug |
||
Line 53:
if ( letters_tp ) then b = b .. letters_row(rev, numbers_lt, numbers_rt) .. '\n' end
b = b .. '<tr style="vertical-align:middle">'
if ( numbers_lt ) then b = b .. '<td style="height:18px;width:18px">' .. (rev and 1 or 8) .. '</td>' end
b = b .. '<td colspan=8 rowspan=8><div class="chess-board" style="position:relative;">'
b = b .. string.format('[[File:Chessboard480.png|%dx%dpx|link=]]', 8*size, 8*size)
Line 69:
end
b = b .. '</div></td>'
if ( numbers_rt ) then b = b .. '<td style="height:18px;width:18px">' .. (rev and 1 or 8) .. '</td>' end
if ( numbers_lt or numbers_rt ) then
for trow = 2,8 do
|