Difference between revisions of "PgnJS"

From Wikitest
Jump to: navigation, search
Line 1: Line 1:
'''[http://www.mediawiki.org/wiki/Extension:PgnJS PgnJS]''' is an extension that displays chess games (boards and moves) given PGN format in <code><nowiki><pgn></nowiki></code> tags.
+
'''[http://www.mediawiki.org/wiki/Extension:PgnJS PgnJS]''' is an extension that displays chess games (boards and moves) given in PGN format in <code><nowiki><pgn></nowiki></code> tags.
  
 
* [https://github.com/xeyownt/mwpgnjs PgnJS on GitHub].
 
* [https://github.com/xeyownt/mwpgnjs PgnJS on GitHub].

Revision as of 01:42, 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