Jump to content

Template:Chess-fen

Unchecked
From Wikipedia

testing lua. this template should display a chess board, given a FEN.

parameters:

  • fen: the string representing the location of the pieces. supposedly, it will ignore the "tail end" of the FEN string that does not represent the actual pieces.
  • size: integer, represent the size of one square in pixels. optional - defaults to 30
  • "reverse": use "true" to show the board from the black's point of view.


abcdefgh
8
8
77
66
55
44
33
22
11
abcdefgh
hgfedcba
1
1
22
33
44
55
66
77
88
hgfedcba