Displaying Board Positions and Games

(updated Dec 2012, FEN Reader replaced by ChessOnline; Dec 2013, use of copgn)

‘Plugins’ (‘ChessOnline‘ and ‘Embed Chessboard‘) are installed to provide chess-graphics for your posts. Use them to show single game positions, or a whole game animated on one board.

If you wish to show a specific game position, either as part of an annotation for a game or to present a chess puzzle, insert the FEN text for this between square brackets as described here. The example below, uses the text string,
[ r2qk2r/ppp1bppp/3p4/4n2n/2B1P1b1/2NPBN2/PPP3PP/R2Q1RK1 !w !- !- !0 !1 ]
The string has to be exactly right for the board to show up in your post.
If you only see a text string instead of a diagram when you preview your post, double check that you have entered a valid string. Using the FEN editor may help avoid errors in your string.
(you must use the ‘visual’ tab in your post window for the FEN editor symbol to be selectable)

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

===============================

 

To place an animated graphic of a full game into your post you have a choice of tools.
1)  You can insert the pgn text string for the game between tags as described here and shown in the example below.
Your readers can then single-step through the moves, or click the ‘+’ button for auto-play.


(N.B. the above space seems to be an inherent feature of the Embed Chessboard plugin)
===============================
2) The ChessOnline tool has now been extended to also deal with pgn.
It is described as experimental, but seems workable, and is shown in the example below.
(though presently lacking a few features such as initialising the display to a specific move, autoplay). Similar to above but use copgn instead of pgn in your tags.(but no parameters within the first set of square brackets).

a
b
c
d
e
f
g
h
8
7
6
5
4
3
2
1
8
7
6
5
4
3
2
1
a
b
c
d
e
f
g
h
White to move
1. e4 c5 2. Nf3 e6 3. d4 cxd4 4. Nxd4 Nc6 5. Nb5 d6 6. c4 Nf6 7. N1c3 a6 8. Na3 d5 9. cxd5 exd5 10. exd5 Nb4 11. Be2 Bc5 12. O-O O-O 13. Bf3 Bf5 14. Bg5 Re8 15. Qd2 b5 16. Rad1 Nd3 17. Nab1 h6 18. Bh4 b4 19. Na4 Bd6 20. Bg3 Rc8 21. b3 g5 22. Bxd6 Qxd6 23. g3 Nd7 24. Bg2 Qf6 25. a3 a5 26. axb4 axb4 27. Qa2 Bg6 28. d6 g4 29. Qd2 Kg7 30. f3 Qxd6 31. fxg4 Qd4+ 32. Kh1 Nf6 33. Rf4 Ne4 34. Qxd3 Nf2+ 35. Rxf2 Bxd3 36. Rfd2 Qe3 37. Rxd3 Rc1 38. Nb2 Qf2 39. Nd2 Rxd1+ 40. Nxd1 Re1+ 0-1

 

Leave a Reply