Difference between revisions of "PgnJS"

From Wikitest
Jump to: navigation, search
(Examples)
Line 54: Line 54:
 
|
 
|
 
A print mode board:
 
A print mode board:
<pgn mode="print">1. f4 $220 e6 2. g4 Qh4 $221</pgn>
+
<pgn mode="print">1. f4 $220 e6 2. g4 Qh4 $220</pgn>
 
|
 
|
 
An edit mode board:
 
An edit mode board:

Revision as of 02:19, 28 December 2017

PgnJS is an extension that displays chess games (boards and moves) given in PGN format in <pgn> tags.

Examples

A board with piece style alpha

A board with timer time 2000ms

A board with locale 'de'

A board with board size 160px

A board with position:

A board with position and moves:

A board with showNotation off

A board with black orientation

A board with theme chesscom

First a simple empty pgn tag:

A tag with a few moves:

Another tag with some styling:

A print mode board:

An edit mode board:

Experimental features

A board with moves width, height and scrollable