Template:Chess diagram svg/doc

Template usage
This template is an SVG replacement for template:chess diagram and template:chaturanga diagram. To use, cut and paste one of the examples given below and replace the piece codes with the desired game position. The diagram heading and caption can be changed as desired or removed.

The second line contains the justification parameter which may be "tleft", "tright" or blank (none). This controls the position of the diagram on the page and how the text will float around it. Leave everything else exactly as it is shown.

To get a chaturanga style board with no checkered markings, invoke the template with "check=no" in the parameters. Setting check to anything other than "no" or omitting it altogether will default to the standard chess board. Note that the range of icons available is not identical for the two boards, in particular, the coloured icons are only available for the chaturanga board.

Standard board
This has been invoked with;

There are parameters for table heading and caption text. Note also the use of the parameter "tleft" which causes the table to float left. This parameter must be "tleft" or "tright" or blank. The remaining parameters are the codes for the pieces which are taken from the table below or left blank.

Available icons

 * Pieces


 * Board markings

Chaturanga board
This has been invoked with;

Note the "check=no" parameter. Coloured icons are available for this board intended for the game of chaturaji.

Other templates
Note that all these templates are based on the png icons. The standard chess pieces are common to both sets, but other pieces may not be. • Template:Chess diagram

• Template:Chess diagram 10x10

• Template:Chess diagram 4x4

• Template:Chess diagram 4x5

• Template:Chess diagram 5x5

• Template:Chess diagram 6x6

• Template:Chess diagram 8x10

• Template:Chess diagram 9x9

• Template:Chess diagram small

• Template:Chaturanga diagram