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.


a b c d e f g h
8
8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
a b c d e f g h
h g f e d c b a
1
1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
h g f e d c b a