What parameters are available?
The parameters the viewer understands are:
- The content of the shortcode is the PGN itself. The viewer reads a lot from tags included there.
- Additional attributes for the shortcode are:
- fen: , default undefined.
- boardstyle: , default 'green', available 'blue', 'wood'.
- orientation: , no default, then taken from tag Orientation. Possible values 'white' or 'black'.
- showclocks: , default true.
- showmoves: , default 'auto', others 'right', 'bottom', false. bottom is the same as false, and does not show the moves.
- showcontrols: , default true.
- scrolltomove: , default true.
- keyboardToMove: , default true.
- theme: , default dark, others are 'light', 'solarizeddark' and 'solarizedlight'.
- initialply: , default 0, shows the position after the
initialPly move. Only main lines allowed.
The following code shows how to use some of the parameters in a page:
[lpgnv orientation=black theme=light]1. e4 e5 2. Nf3 Nc6[/lpgnv]