Transwiki:Chess diagram/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

These templates shows a chess diagram, a graphic representation of a position in a chess game, using standardised symbols resembling the pieces of the standard Staunton chess set. The default template for a standard chess board is {{Chess diagram}}. This documentation covers all related templates.

Templates

[edit source]

There are several standard chess diagram templates:

There are also templates for chess variants:

Syntax

[edit source]

The syntax is basically the same for all chess diagram templates.

{{Chess diagram
| <alignment> (param #1)
| <header>    (#2) 
| size =
| numbers =
| letters =
| <a8> | <b8> | ... | <h8>  (#3 to ...
| <a7> | <b7> | ... | <h7>
...
| <a1> | <b1> | ... | <h1>  ( ... #66)
| <footer> (#67)
| reverse = 
}}

Parameters:

  • <alignment> – defines horizontal alignment (floating) of the whole table, must be tright or tleft (or nothing)
  • <header> – the text which appears above the diagram, may be empty;
  • size - specifies the size of each square in pixels, the default is 26.
  • numbers - specifies whether the rows are numbered. Options are: left, right, both (default) or neither.
  • letters - specifies whether the columns are lettered. Options are: top, bottom, both (default) or neither.
  • <a8>, <b8>, ... <h1> – define corresponding squares of the chessboard, see below;
  • <footer> – the text which appears beneath the diagram, may be empty; optional – can be left out (currently not in the other templates)

A square is defined by the name of piece or empty parameter. The names of the pieces are those given in algebraic notation:

  • k = king
  • q = queen
  • r = rook
  • b = bishop
  • n = knight
  • p = pawn

These letters are combined with either "l" for Light=White, or "d" for Dark=Black. So "kl" is White's king, and "nd" is Black's knight.

An empty square is written either using underscores, spaces, or nothing at all. Two spaces are recommended.

  • <space> = empty square

Fairy Chess

[edit source]

There are also some fairy chess pieces available. In general, there is no convention for which inverted piece to use, but in general one should use something similar to how the fairy piece moves (e.g. a camel should use an inverted knight icon).

  • a = archbishop (princess)
  • c = chancellor (empress)
  • f = inverted king
  • g = inverted queen (grasshopper)
  • m = inverted rook
  • B = inverted bishop
  • N = inverted knight (nightrider)
  • h = inverted pawn
  • e = elephant
  • M = mann (alternate symbol)
  • C = centaur or amazon

Omega Chess pieces:

  • z = champion
  • w = wizard
  • t = fool (for Omega Chess Advanced)

Other suitable images include:

Other symbols

[edit source]

You can also use "xx" for a black cross, "ox" for a white cross, "xo" for a black circle on an empty square or "oo" for a white one.

  • xx = black cross/x
  • ox = white cross/x
  • xo = black circle
  • oo = white circle

When showing movement directions on the board, arrows are available

  • ul = up & left
  • ua = up
  • ur = up & right
  • la = left
  • lr = left & right
  • ud = up & down
  • ra = right
  • dl = down & left
  • db = diagonal as black
  • da = down
  • dr = down & right
  • dw = diagonal as white

Numbers can also be added to squares by using "x0" for 0, "x1" for 1, "x2" for 2, ..., "x9" for 9.

  • x0
  • x1
  • x2
  • x3
  • x4
  • x5
  • x6
  • x7
  • x8
  • x9

Examples

[edit source]

Standard diagram

[edit source]

This diagram is recommended for common use as a main diagram in the articles on chess openings, endings, games, positions etc. See the corresponding code below.


a b c d e f g h
8a8 black rookb8 black knightc8 black bishopd8 black queene8 black kingf8 black bishopg8 black knighth8 black rook8
7a7 black pawnb7 black pawnc7 black pawnd7 black pawne7 black kingf7 black pawng7 black pawnh7 black pawn7
6a6 black kingb6 black kingc6 black kingd6 black kinge6 black kingf6 black kingg6 black kingh6 black king6
5a5 black kingb5 black kingc5 black kingd5 black kinge5 black pawnf5 black kingg5 black kingh5 black king5
4a4 black kingb4 black kingc4 black kingd4 black kinge4 white pawnf4 white pawng4 black kingh4 black king4
3a3 black kingb3 black kingc3 black kingd3 black kinge3 black kingf3 black kingg3 black kingh3 black king3
2a2 white pawnb2 white pawnc2 white pawnd2 white pawne2 black kingf2 black kingg2 white pawnh2 white pawn2
1a1 white rookb1 white knightc1 white bishopd1 white queene1 white kingf1 white bishopg1 white knighth1 white rook1
a b c d e f g h
The King's Gambit
{{Chess diagram
| tright
| 

|rd|nd|bd|qd|kd|bd|nd|rd
|pd|pd|pd|pd|  |pd|pd|pd
|  |  |  |  |  |  |  |  
|  |  |  |  |pd|  |  |  
|  |  |  |  |pl|pl|  |  
|  |  |  |  |  |  |  |  
|pl|pl|pl|pl|  |  |pl|pl
|rl|nl|bl|ql|kl|bl|nl|rl

| The King's Gambit
}}



a b c d e f g h
8a8 black kingb8 black kingc8 black kingd8 black kinge8 black kingf8 black kingg8 black kingh8 black king8
7a7 black kingb7 black kingc7 black kingd7 black kinge7 black kingf7 black kingg7 black kingh7 black king7
6a6 black kingb6 black kingc6 black kingd6 black kinge6 black kingf6 black kingg6 black kingh6 black king6
5a5 black kingb5 black kingc5 black kingd5 black kinge5 black kingf5 black kingg5 black kingh5 black king5
4a4 black kingb4 black kingc4 black kingd4 black kinge4 black kingf4 black kingg4 black kingh4 black king4
3a3 black kingb3 black kingc3 black kingd3 black kinge3 black kingf3 black kingg3 black kingh3 black king3
2a2 black kingb2 black kingc2 black kingd2 black kinge2 black kingf2 black kingg2 black kingh2 black king2
1a1 black kingb1 black kingc1 black kingd1 black kinge1 black kingf1 black kingg1 black kingh1 black king1
a b c d e f g h
Empty board
{{Chess diagram
| tright
| 

|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  

| Empty board
}}


Diagram with both captions

[edit source]
W. Langstaff, Chess Amateur 1922


a b c d e f g h
8a8 black kingb8 black kingc8 black kingd8 black kinge8 black kingf8 black kingg8 black kingh8 black rook8
7a7 black kingb7 black kingc7 black kingd7 black kinge7 black kingf7 black kingg7 black kingh7 black king7
6a6 black kingb6 black kingc6 black kingd6 black kinge6 black kingf6 white bishopg6 black kingh6 white pawn6
5a5 black kingb5 black kingc5 black kingd5 white rooke5 black kingf5 white kingg5 black pawnh5 white pawn5
4a4 black kingb4 black kingc4 black kingd4 black kinge4 black kingf4 black kingg4 black kingh4 black king4
3a3 black kingb3 black kingc3 black kingd3 black kinge3 black kingf3 black kingg3 black kingh3 black king3
2a2 black kingb2 black kingc2 black kingd2 black kinge2 black kingf2 black kingg2 black kingh2 black king2
1a1 black kingb1 black kingc1 black kingd1 black kinge1 black kingf1 black kingg1 black kingh1 black king1
a b c d e f g h
Mate in 2
This problem uses partial retrograde analysis method.

It may be convenient to use this in the articles on chess problems. Please note that in the header and footer you can use bolds or italics. You can also use <br> to break the lines.

{{Chess diagram
| tright
| '''W. Langstaff''', ''Chess Amateur'' 1922

|  |  |  |  |kd|  |  |rd
|  |  |  |  |  |  |  |  
|  |  |  |  |  |bl|  |pl
|  |  |  |rl|  |kl|pd|pl
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  

| '''Mate in 2''' {{pb}}This problem uses ''partial retrograde analysis'' method.
}}


Diagram without captions

[edit source]


a b c d e f g h
8a8 black kingb8 black kingc8 black kingd8 black kinge8 black kingf8 black kingg8 black kingh8 black king8
7a7 black kingb7 black kingc7 black kingd7 black kinge7 black kingf7 black kingg7 black kingh7 black king7
6a6 black kingb6 crossc6 black circled6 crosse6 black kingf6 black kingg6 black kingh6 black king6
5a5 black kingb5 black kingc5 white pawnd5 black kinge5 black kingf5 black kingg5 black kingh5 black king5
4a4 black kingb4 black kingc4 black kingd4 black kinge4 black kingf4 black circleg4 black kingh4 black king4
3a3 black kingb3 black kingc3 black kingd3 black kinge3 crossf3 black circleg3 crossh3 black king3
2a2 black kingb2 black kingc2 black kingd2 black kinge2 black kingf2 white pawng2 black kingh2 black king2
1a1 black kingb1 black kingc1 black kingd1 black kinge1 black kingf1 black kingg1 black kingh1 black king1
a b c d e f g h

See the corresponding code below. If you don't want the captions, just remove them, but don't delete the second "|" pipe character for the caption above; it is possible to delete the last pipe for the longer caption below.

The diagram floats to the left to illustrate the use of the first parameter.

{{Chess diagram
| tleft
| 

|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |xx|xo|xx|  |  |  |  
|  |  |pl|  |  |  |  |  
|  |  |  |  |  |xo|  |  
|  |  |  |  |xx|xo|xx|  
|  |  |  |  |  |pl|  |  
|  |  |  |  |  |  |  |  

}}


Movement example

[edit source]

This can be used to show how pieces move.


a b c d e f g h
8a8 black kingb8 black kingc8 uad8 black kinge8 black kingf8 black kingg8 black kingh8 black king8
7a7 black kingb7 black kingc7 uad7 black kinge7 black kingf7 black kingg7 black kingh7 black king7
6a6 lab6 lac6 black rookd6 rae6 raf6 rag6 rah6 ra6
5a5 black kingb5 black kingc5 dad5 black kinge5 black kingf5 black kingg5 black kingh5 black king5
4a4 black kingb4 black kingc4 dad4 black kinge4 ulf4 uag4 urh4 black king4
3a3 black kingb3 black kingc3 dad3 black kinge3 laf3 white kingg3 rah3 black king3
2a2 black kingb2 black kingc2 dad2 black kinge2 dlf2 dag2 drh2 black king2
1a1 black kingb1 black kingc1 dad1 black kinge1 black kingf1 black kingg1 black kingh1 black king1
a b c d e f g h
Example showing how white king can move any direction, but only one square, while black rook can move any number of squares but only up and down, and right and left.
{{Chess diagram 
| tleft
| 

|  |  |ua|  |  |  |  |  
|  |  |ua|  |  |  |  |  
|la|la|rd|ra|ra|ra|ra|ra
|  |  |da|  |  |  |  |  
|  |  |da|  |ul|ua|ur|  
|  |  |da|  |la|kl|ra|  
|  |  |da|  |dl|da|dr|  
|  |  |da|  |  |  |  |  

|Example showing how white king can move any direction, but only one square, while black rook can move any number of squares but only up and down, and right and left.
}}


a b c d e f g h
8a8 black kingb8 ulc8 black kingd8 uae8 black kingf8 urg8 black kingh8 black king8
7a7 black kingb7 black kingc7 uld7 uae7 urf7 black kingg7 black kingh7 black king7
6a6 lab6 lac6 lad6 white queene6 raf6 rag6 rah6 ra6
5a5 black kingb5 black kingc5 dld5 dae5 drf5 black kingg5 black kingh5 black king5
4a4 black kingb4 dlc4 black kingd4 dae4 black kingf4 drg4 black kingh4 black king4
3a3 dlb3 black kingc3 black kingd3 dae3 black kingf3 black kingg3 drh3 black king3
2a2 black kingb2 black kingc2 black kingd2 dae2 black kingf2 black kingg2 black kingh2 dr2
1a1 black kingb1 black kingc1 black kingd1 dae1 black kingf1 black kingg1 black kingh1 black king1
a b c d e f g h
{{Chess diagram
| tright
| 

|  |ul|  |ua|  |ur|  |  
|  |  |ul|ua|ur|  |  |  
|la|la|la|ql|ra|ra|ra|ra
|  |  |dl|da|dr|  |  |  
|  |dl|  |da|  |dr|  |  
|dl|  |  |da|  |  |dr|  
|  |  |  |da|  |  |  |dr
|  |  |  |da|  |  |  |  

}}

In the board on the right, it is shown that the white queen can go any distance in any of these directions.

Another method for the rook example:


a b c d e f g h
8a8 black kingb8 black kingc8 black kingd8 black kinge8 black kingf8 black kingg8 black kingh8 black king8
7a7 black kingb7 black kingc7 udd7 black kinge7 black kingf7 black kingg7 black kingh7 black king7
6a6 black kingb6 lrc6 black rookd6 lre6 black kingf6 black kingg6 black kingh6 black king6
5a5 black kingb5 black kingc5 udd5 black kinge5 black kingf5 black kingg5 black kingh5 black king5
4a4 black kingb4 black kingc4 black kingd4 black kinge4 ulf4 uag4 urh4 black king4
3a3 black kingb3 black kingc3 black kingd3 black kinge3 laf3 white kingg3 rah3 black king3
2a2 black kingb2 black kingc2 black kingd2 black kinge2 dlf2 dag2 drh2 black king2
1a1 black kingb1 black kingc1 black kingd1 black kinge1 black kingf1 black kingg1 black kingh1 black king1
a b c d e f g h
{{Chess diagram
| tleft
| 

|  |  |  |  |  |  |  |  
|  |  |ud|  |  |  |  |  
|  |lr|rd|lr|  |  |  |  
|  |  |ud|  |  |  |  |  
|  |  |  |  |ul|ua|ur|  
|  |  |  |  |la|kl|ra|  
|  |  |  |  |dl|da|dr|  
|  |  |  |  |  |  |  |  

}}

Small diagram

[edit source]

This one may be useful in articles with many diagrams. It uses another template named {{Chess diagram small}}.

The small diagrams can have header, too.

The Game of the Century


a b c d e f g h
8 a8 black rook b8 black king c8 black king d8 black queen e8 black king f8 black rook g8 black king [[File:chess

t45.svg|22px|alt=h8 black king|link=]]

8
7 a7 black pawn b7 black pawn c7 black king d7 black king e7 black pawn f7 black pawn g7 black bishop [[File:chess pd

t45.svg|22px|alt=h7 black pawn]]

7
6 a6 black king b6 black knight c6 black pawn d6 black king e6 black king f6 black knight g6 black pawn [[File:chess

t45.svg|22px|alt=h6 black king|link=]]

6
5 a5 black king b5 black king c5 white queen d5 black king e5 black king f5 black king g5 white bishop [[File:chess

t45.svg|22px|alt=h5 black king|link=]]

5
4 a4 black king b4 black king c4 black king d4 white pawn e4 white pawn f4 black king g4 black bishop [[File:chess

t45.svg|22px|alt=h4 black king|link=]]

4
3 a3 black king b3 black king c3 white knight d3 black king e3 black king f3 white knight g3 black king [[File:chess

t45.svg|22px|alt=h3 black king|link=]]

3
2 a2 white pawn b2 white pawn c2 black king d2 black king e2 black king f2 white pawn g2 white pawn [[File:chess pl

t45.svg|22px|alt=h2 white pawn]]

2
1 a1 black king b1 black king c1 black king d1 white rook e1 white king f1 white bishop g1 black king [[File:chess rl

t45.svg|22px|alt=h1 white rook]]

1
a b c d e f g h
Position after 11.Bg5
{{Chess diagram small
| tright
| [[The Game of the Century (chess)|The Game of the Century]]

|rd|  |  |qd|  |rd|kd|  
|pd|pd|  |  |pd|pd|bd|pd
|  |nd|pd|  |  |nd|pd|  
|  |  |ql|  |  |  |bl|  
|  |  |  |pl|pl|  |bd|  
|  |  |nl|  |  |nl|  |  
|pl|pl|  |  |  |pl|pl|pl
|  |  |  |rl|kl|bl|  |rl

| Position after 11.Bg5
}}


Different board size

[edit source]

Chess boards of non-standard dimensions need special templates. There are templates for the following boards:

Minichess (5×5) – Template:Chess diagram 5x5
{{Chess diagram 5x5
| tright
| 

|kd|qd|bd|nd|rd
|pd|pd|pd|pd|pd
|  |  |  |  |  
|pl|pl|pl|pl|pl
|kl|ql|bl|nl|rl

| Gardner minichess
}}

Script error: No such module "Chessboard_mxn".

Los Alamos chess (6×6) – Template:Chess diagram 6x6
{{Chess diagram 6x6
| tright
| 

|rd|nd|qd|kd|nd|rd
|pd|pd|pd|pd|pd|pd
|  |  |  |  |  |  
|  |  |  |  |  |  
|pl|pl|pl|pl|pl|pl
|rl|nl|ql|kl|nl|rl

| Los Alamos chess
}}

Script error: No such module "Chessboard_mxn".

Capablanca Chess (8×10)
{{Chess diagram 8x10
| tright
| 

|rd|nd|ad|bd|qd|kd|bd|cd|nd|rd
|pd|pd|pd|pd|pd|pd|pd|pd|pd|pd
|  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  
|pl|pl|pl|pl|pl|pl|pl|pl|pl|pl
|rl|nl|al|bl|ql|kl|bl|cl|nl|rl

| Capablanca Chess
}}

Script error: No such module "Chessboard_mxn".

Grand Chess
{{Chess diagram 10x10
| tright
| 

|rd|  |  |  |  |  |  |  |  |rd
|  |nd|bd|qd|kd|cd|ad|bd|nd|  
|pd|pd|pd|pd|pd|pd|pd|pd|pd|pd
|  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  |  |  
|pl|pl|pl|pl|pl|pl|pl|pl|pl|pl
|  |nl|bl|ql|kl|cl|al|bl|nl|  
|rl|  |  |  |  |  |  |  |  |rl

| Grand Chess
}}
Script error: No such module "Chessboard_mxn".

Double boards

[edit source]
Bughouse chess (four players)
{{bughouse chess diagram
| A1=Team 1, Board A 
| A2=Team 2, Board A 
| B1=Team 1, Board B 
| B2=Team 2, Board B
| tright
|

|rd|nd|bd|qd|kd|bd|nd|rd
|pd|pd|pd|pd|pd|pd|pd|pd
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|pl|pl|pl|pl|pl|pl|pl|pl
|rl|nl|bl|ql|kl|bl|nl|rl

|rl|nl|bl|kl|ql|bl|nl|rl
|pl|pl|pl|pl|pl|pl|pl|pl
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|pd|pd|pd|pd|pd|pd|pd|pd
|rd|nd|bd|kd|qd|bd|nd|rd

| Bughouse setup and starting position
}}


Team 2, Board A

a8 b8 c8 d8 e8 f8 g8 h8
a7 b7 c7 d7 e7 f7 g7 h7
a6 b6 c6 d6 e6 f6 g6 h6
a5 b5 c5 d5 e5 f5 g5 h5
a4 b4 c4 d4 e4 f4 g4 h4
a3 b3 c3 d3 e3 f3 g3 h3
a2 b2 c2 d2 e2 f2 g2 h2
a1 b1 c1 d1 e1 f1 g1 h1

Team 1, Board A

Team 2, Board B

a8 b8 c8 d8 e8 f8 g8 h8
a7 b7 c7 d7 e7 f7 g7 h7
a6 b6 c6 d6 e6 f6 g6 h6
a5 b5 c5 d5 e5 f5 g5 h5
a4 b4 c4 d4 e4 f4 g4 h4
a3 b3 c3 d3 e3 f3 g3 h3
a2 b2 c2 d2 e2 f2 g2 h2
a1 b1 c1 d1 e1 f1 g1 h1

Team 1, Board B

Bughouse setup and starting position
Alice Chess (two players)
{{alice chess diagram
| tright
|

|rd|nd|bd|qd|kd|  |nd|rd
|pd|pd|pd|pd|  |pd|pd|pd
|  |  |  |  |  |  |  |  
|  |  |  |  |nl|  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|pl|pl|pl|pl|pl|pl|pl|pl
|rl|nl|bl|ql|kl|bl|  |rl

|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |pd|  |  |  
|  |  |bd|  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  
|  |  |  |  |  |  |  |  

| Position after 1.Nf3 e6 2.Ne5 Bc5
}}


a8 b8 c8 d8 e8 f8 g8 h8
a7 b7 c7 d7 e7 f7 g7 h7
a6 b6 c6 d6 e6 f6 g6 h6
a5 b5 c5 d5 e5 f5 g5 h5
a4 b4 c4 d4 e4 f4 g4 h4
a3 b3 c3 d3 e3 f3 g3 h3
a2 b2 c2 d2 e2 f2 g2 h2
a1 b1 c1 d1 e1 f1 g1 h1
A
a8 b8 c8 d8 e8 f8 g8 h8
a7 b7 c7 d7 e7 f7 g7 h7
a6 b6 c6 d6 e6 f6 g6 h6
a5 b5 c5 d5 e5 f5 g5 h5
a4 b4 c4 d4 e4 f4 g4 h4
a3 b3 c3 d3 e3 f3 g3 h3
a2 b2 c2 d2 e2 f2 g2 h2
a1 b1 c1 d1 e1 f1 g1 h1
B
Position after 1.Nf3 e6 2.Ne5 Bc5

Different shaped board

[edit source]
Three-dimensional chess (Raumschach) – Template:Raumschach diagram
{{Raumschach diagram
| tright
|

|rd|nd|kd|nd|rd
|pd|pd|pd|pd|pd
|  |  |  |  |  
|  |  |  |  |  
|  |  |  |  |  

|Nd|bd|qd|Nd|bd
|pd|pd|pd|pd|pd
|  |  |  |  |  
|  |  |  |  |  
|  |  |  |  |  

|  |  |  |  |  
|  |  |  |  |  
|  |  |  |  |  
|  |  |  |  |  
|  |  |  |  |  

|  |  |  |  |  
|  |  |  |  |  
|  |  |  |  |  
|pl|pl|pl|pl|pl
|bl|Nl|ql|bl|Nl

|  |  |  |  |  
|  |  |  |  |  
|  |  |  |  |  
|pl|pl|pl|pl|pl
|rl|nl|kl|nl|rl

| Raumschach starting position
}}

Script error: No such module "Chessboard_mxn".

Script error: No such module "Chessboard_mxn".

Script error: No such module "Chessboard_mxn".

Script error: No such module "Chessboard_mxn".

Script error: No such module "Chessboard_mxn".

Raumschach starting position
Omega ChessTemplate:Omega Chess diagram
{{Omega Chess diagram
|
| [[Omega Chess]] (10×10 + 4 corners)

|wd                              |wd
   |zd|rd|nd|bd|qd|kd|bd|nd|rd|zd
   |pd|pd|pd|pd|pd|pd|pd|pd|pd|pd
   |  |  |  |  |  |  |  |  |  |  
   |  |  |  |  |  |  |  |  |  |  
   |  |  |  |  |  |  |  |  |  |  
   |  |  |  |  |  |  |  |  |  |  
   |  |  |  |  |  |  |  |  |  |  
   |  |  |  |  |  |  |  |  |  |  
   |pl|pl|pl|pl|pl|pl|pl|pl|pl|pl
   |zl|rl|nl|bl|ql|kl|bl|nl|rl|zl
|wl                              |wl

| Omega Chess starting position
}}
Template:Omega Chess diagram
Tamerlane chessTemplate:Tamerlane chess diagram
{{Tamerlane chess diagram
|
| [[Tamerlane chess]] (10×11 + 2 citadels)

   |ed|  |sd|  |md|  |md|  |sd|  |ed
|  |rd|nd|bd|Gd|gd|kd|qd|Gd|bd|nd|rd
   |pd|pd|pd|pd|pd|pd|pd|pd|pd|pd|pd
   |  |  |  |  |  |  |  |  |  |  |  
   |  |  |  |  |  |  |  |  |  |  |  
   |  |  |  |  |  |  |  |  |  |  |  
   |  |  |  |  |  |  |  |  |  |  |  
   |pl|pl|pl|pl|pl|pl|pl|pl|pl|pl|pl
   |rl|nl|bl|Gl|ql|kl|gl|Gl|bl|nl|rl|  
   |el|  |sl|  |ml|  |ml|  |sl|  |el

| Tamerlane chess "masculine" array starting position – see [[Tamerlane chess]] for the other two arrays

}}
Tamerlane chess (10×11 + 2 citadels)
a b c d e f g h i j k
10 a9 ed b9 c9 sd d9 e9 md f9 g9 md h9 i9 sd j9 k9 ed 10
9 x2 a8 rd b8 nd c8 bd d8 Gd e8 gd f8 kd g8 qd h8 Gd i8 bd j8 nd k8 rd 9
8 a7 pd b7 pd c7 pd d7 pd e7 pd f7 pd g7 pd h7 pd i7 pd j7 pd k7 pd 8
7 a6 b6 c6 d6 e6 f6 g6 h6 i6 j6 k6 7
6 a5 b5 c5 d5 e5 f5 g5 h5 i5 j5 k5 6
5 a4 b4 c4 d4 e4 f4 g4 h4 i4 j4 k4 5
4 a3 b3 c3 d3 e3 f3 g3 h3 i3 j3 k3 4
3 a2 pl b2 pl c2 pl d2 pl e2 pl f2 pl g2 pl h2 pl i2 pl j2 pl k2 pl 3
2 a1 rl b1 nl c1 bl d1 Gl e1 ql f1 kl g1 gl h1 Gl i1 bl j1 nl k1 rl x1 2
1 a0 el b0 c0 sl d0 e0 ml f0 g0 ml h0 i0 sl j0 k0 el 1
a b c d e f g h i j k
Tamerlane chess "masculine" array starting position – see Tamerlane chess for the other two arrays

Alternative way to place the pieces: FEN

[edit source]
{{Chess diagram|fen=rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR|align=tleft}}
{{{2}}}
a b c d e f g h
8a8 black kingb8 black kingc8 black kingd8 black kinge8 black kingf8 black kingg8 black kingh8 black king8
7a7 black kingb7 black kingc7 black kingd7 black kinge7 black kingf7 black kingg7 black kingh7 black king7
6a6 black kingb6 black kingc6 black kingd6 black kinge6 black kingf6 black kingg6 black kingh6 black king6
5a5 black kingb5 black kingc5 black kingd5 black kinge5 black kingf5 black kingg5 black kingh5 black king5
4a4 black kingb4 black kingc4 black kingd4 black kinge4 black kingf4 black kingg4 black kingh4 black king4
3a3 black kingb3 black kingc3 black kingd3 black kinge3 black kingf3 black kingg3 black kingh3 black king3
2a2 black kingb2 black kingc2 black kingd2 black kinge2 black kingf2 black kingg2 black kingh2 black king2
1a1 black kingb1 black kingc1 black kingd1 black kinge1 black kingf1 black kingg1 black kingh1 black king1
a b c d e f g h

It is possible to populate the board using Forsyth–Edwards Notation, instead of positional parameters.

To do this, the "fen" parameter is used. For instance, this is the opening board of a chess game, defined using the "fen" parameter "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR":

{{Chess diagram|fen=rnbqkbnr/acfghzwt/8/8/8/8/ACFGHZWT/RNBQKBNR|align=tleft}}
{{{2}}}
a b c d e f g h
8a8 black kingb8 black kingc8 black kingd8 black kinge8 black kingf8 black kingg8 black kingh8 black king8
7a7 black kingb7 black kingc7 black kingd7 black kinge7 black kingf7 black kingg7 black kingh7 black king7
6a6 black kingb6 black kingc6 black kingd6 black kinge6 black kingf6 black kingg6 black kingh6 black king6
5a5 black kingb5 black kingc5 black kingd5 black kinge5 black kingf5 black kingg5 black kingh5 black king5
4a4 black kingb4 black kingc4 black kingd4 black kinge4 black kingf4 black kingg4 black kingh4 black king4
3a3 black kingb3 black kingc3 black kingd3 black kinge3 black kingf3 black kingg3 black kingh3 black king3
2a2 black kingb2 black kingc2 black kingd2 black kinge2 black kingf2 black kingg2 black kingh2 black king2
1a1 black kingb1 black kingc1 black kingd1 black kinge1 black kingf1 black kingg1 black kingh1 black king1
a b c d e f g h

It is also possible to show "fairy" pieces using the FEN notation. However, because the FEN notation uses uppercase and lowercase to denote the color of the piece, it is not possible to display the inverted knight fairy piece (denoted by "N") using the fen parameter. Here is a board where the pawns are replaced by fairy pieces:
While the "fen" parameter was first developed and tested with 8x8 boards, support for other sized boards is available. For example, here is the Grand Chess starting positiong represented with an FEN board:

{{Chess diagram 10x10
 |align=tleft
 |fen=r8r/1nbqkcabn1/pppppppppp/10/10/10/10/PPPPPPPPPP/1NBQKCABN1/R8R
 |footer=[[Grand Chess]] starting position
}}

Script error: No such module "Chessboard_mxn".

Displaying the board from the Black's point of view

[edit source]
{{Chess diagram|fen=rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR|align=tleft|reverse=true}}
{{{2}}}
a b c d e f g h
8a8 black kingb8 black kingc8 black kingd8 black kinge8 black kingf8 black kingg8 black kingh8 black king8
7a7 black kingb7 black kingc7 black kingd7 black kinge7 black kingf7 black kingg7 black kingh7 black king7
6a6 black kingb6 black kingc6 black kingd6 black kinge6 black kingf6 black kingg6 black kingh6 black king6
5a5 black kingb5 black kingc5 black kingd5 black kinge5 black kingf5 black kingg5 black kingh5 black king5
4a4 black kingb4 black kingc4 black kingd4 black kinge4 black kingf4 black kingg4 black kingh4 black king4
3a3 black kingb3 black kingc3 black kingd3 black kinge3 black kingf3 black kingg3 black kingh3 black king3
2a2 black kingb2 black kingc2 black kingd2 black kinge2 black kingf2 black kingg2 black kingh2 black king2
1a1 black kingb1 black kingc1 black kingd1 black kinge1 black kingf1 black kingg1 black kingh1 black king1
a b c d e f g h

The "reverse=true" parameter causes the board to be shown from Black's point of view, that is, with the h8 square at lower-left corner, and a1 at the upper-right. This works for all sizes of the normal chessboard template, but not for the Alice, Bughouse, Omega, or Raumschach templates. Here, the same FEN notation as in the previous example produces a board with Black's starting position at the bottom.