Jump to content

Template:Chess diagram/testcases

From Wikipedia, the free encyclopedia

Test 1

[edit]
Sandbox
abcdefgh
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
77
66
55
44
33
22
11
abcdefgh
Main
abcdefgh
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
77
66
55
44
33
22
11
abcdefgh

Test 2 (with caption)

[edit]
Sandbox
abcdefgh
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
77
66
55
44
33
22
11
abcdefgh
Caption
Main
abcdefgh
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
77
66
55
44
33
22
11
abcdefgh
Caption

Test 3 (with title and caption)

[edit]
Sandbox
Title
abcdefgh
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
77
66
55
44
33
22
11
abcdefgh
Caption
Main
Title
abcdefgh
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
77
66
55
44
33
22
11
abcdefgh
Caption

Test 4 (Title, Caption, Reverse)

[edit]
Sandbox
Title
hgfedcba
1
g1 white king
d1 white rook
c1 white rook
h2 white pawn
g2 white pawn
f2 white pawn
e2 white bishop
c2 white queen
e3 white bishop
b3 white pawn
e4 white knight
d4 white pawn
a5 black pawn
h6 black pawn
g6 black king
e6 black pawn
c6 black pawn
b6 black knight
g7 black bishop
e7 black queen
d7 black knight
b7 black pawn
f8 black rook
c8 black bishop
a8 black rook
1
22
33
44
55
66
77
88
hgfedcba
Caption
Main
Title
hgfedcba
1
g1 white king
d1 white rook
c1 white rook
h2 white pawn
g2 white pawn
f2 white pawn
e2 white bishop
c2 white queen
e3 white bishop
b3 white pawn
e4 white knight
d4 white pawn
a5 black pawn
h6 black pawn
g6 black king
e6 black pawn
c6 black pawn
b6 black knight
g7 black bishop
e7 black queen
d7 black knight
b7 black pawn
f8 black rook
c8 black bishop
a8 black rook
1
22
33
44
55
66
77
88
hgfedcba
Caption

Test 5a (Title, Caption, numbers = left, letters = bottom)

[edit]
Sandbox
Title
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
7
6
5
4
3
2
1
abcdefgh
Caption
Main
Title
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
7
6
5
4
3
2
1
abcdefgh
Caption

Test 5b (Title, Caption, numbers = right, letters = top)

[edit]
Sandbox
Title
abcdefgh
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
7
6
5
4
3
2
1
Caption
Main
Title
abcdefgh
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
7
6
5
4
3
2
1
Caption

Test 5c (Title, Caption, numbers = left, letters = none)

[edit]
Sandbox
Title
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
7
6
5
4
3
2
1
Caption
Main
Title
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
7
6
5
4
3
2
1
Caption

Test 5d (Title, Caption, numbers = none, letters = none)

[edit]
Sandbox
Title
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
Caption
Main
Title
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
Caption

Test 6a (Title, Caption, size = 22px)

[edit]
Sandbox
Title
abcdefgh
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
77
66
55
44
33
22
11
abcdefgh
Caption
Main
Title
abcdefgh
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
77
66
55
44
33
22
11
abcdefgh
Caption

Test 6b (Title, Caption, size = 50px)

[edit]
Sandbox
Title
abcdefgh
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
77
66
55
44
33
22
11
abcdefgh
Caption
Main
Title
abcdefgh
8
a8 black rook
c8 black bishop
f8 black rook
b7 black pawn
d7 black knight
e7 black queen
g7 black bishop
b6 black knight
c6 black pawn
e6 black pawn
g6 black king
h6 black pawn
a5 black pawn
d4 white pawn
e4 white knight
b3 white pawn
e3 white bishop
c2 white queen
e2 white bishop
f2 white pawn
g2 white pawn
h2 white pawn
c1 white rook
d1 white rook
g1 white king
8
77
66
55
44
33
22
11
abcdefgh
Caption

Test 7 (FEN input)

[edit]
Sandbox
standard opening position of a chess game
abcdefgh
8
a8 black rook
b8 black knight
c8 black bishop
d8 black queen
e8 black king
f8 black bishop
g8 black knight
h8 black rook
a7 black pawn
b7 black pawn
c7 black pawn
d7 black pawn
e7 black pawn
f7 black pawn
g7 black pawn
h7 black pawn
a2 white pawn
b2 white pawn
c2 white pawn
d2 white pawn
e2 white pawn
f2 white pawn
g2 white pawn
h2 white pawn
a1 white rook
b1 white knight
c1 white bishop
d1 white queen
e1 white king
f1 white bishop
g1 white knight
h1 white rook
8
77
66
55
44
33
22
11
abcdefgh
White moves first
{{Chess diagram-fen}}
standard opening position of a chess game
abcdefgh
8
a8 black rook
b8 black knight
c8 black bishop
d8 black queen
e8 black king
f8 black bishop
g8 black knight
h8 black rook
a7 black pawn
b7 black pawn
c7 black pawn
d7 black pawn
e7 black pawn
f7 black pawn
g7 black pawn
h7 black pawn
a2 white pawn
b2 white pawn
c2 white pawn
d2 white pawn
e2 white pawn
f2 white pawn
g2 white pawn
h2 white pawn
a1 white rook
b1 white knight
c1 white bishop
d1 white queen
e1 white king
f1 white bishop
g1 white knight
h1 white rook
8
77
66
55
44
33
22
11
abcdefgh
White moves first

Test 8 (Symbols)

[edit]
Sandbox
abcdefgh
8
b6 black cross
c6 black circle
d6 black cross
c5 white pawn
f4 black circle
e3 black cross
f3 black circle
g3 black cross
f2 white pawn
8
77
66
55
44
33
22
11
abcdefgh
Main
abcdefgh
8
b6 black cross
c6 black circle
d6 black cross
c5 white pawn
f4 black circle
e3 black cross
f3 black circle
g3 black cross
f2 white pawn
8
77
66
55
44
33
22
11
abcdefgh

Test 9 (Arrows)

[edit]
Sandbox
abcdefgh
8
c7 up-down arrow
b6 left-right arrow
c6 black rook
d6 left-right arrow
c5 up-down arrow
e4 up-left arrow
f4 up arrow
g4 up-right arrow
e3 left arrow
f3 white king
g3 right arrow
e2 down-left arrow
f2 down arrow
g2 down-right arrow
8
77
66
55
44
33
22
11
abcdefgh
Main
abcdefgh
8
c7 up-down arrow
b6 left-right arrow
c6 black rook
d6 left-right arrow
c5 up-down arrow
e4 up-left arrow
f4 up arrow
g4 up-right arrow
e3 left arrow
f3 white king
g3 right arrow
e2 down-left arrow
f2 down arrow
g2 down-right arrow
8
77
66
55
44
33
22
11
abcdefgh

Test 10 (all pieces)

[edit]
Sandbox
abcdefgh
8
a8 black king
b8 white king
c8 black queen
d8 white queen
e8 black rook
f8 white rook
g8 black bishop
h8 white bishop
a7 white knight
b7 black knight
c7 white pawn
d7 black pawn
e7 white cross
f7 black cross
g7 white circle
h7 black circle
a6 black archbishop
b6 white archbishop
c6 black chancellor
d6 white chancellor
e6 black upside-down king
f6 white upside-down king
g6 black upside-down queen
h6 white upside-down queen
a5 white upside-down rook
b5 black upside-down rook
c5 white elephant
d5 black elephant
e5 white upside-down knight
f5 black boat
g5 white upside-down pawn
h5 black upside-down pawn
a4 black champion
b4 white champion
c4 black wizard
d4 white wizard
e4 black fool
f4 white fool
g4 zero
h4 nine
a3 one
b3 two
c3 three
d3 four
e3 five
f3 six
g3 seven
h3 eight
a2 up-down arrow
b2 up arrow
c2 up-right arrow
d2 left arrow
e2 left-right arrow
f2 up-left arrow
g2 right arrow
h2 down-left arrow
a1 down arrow
b1 down-right arrow
8
77
66
55
44
33
22
11
abcdefgh
Main
abcdefgh
8
a8 black king
b8 white king
c8 black queen
d8 white queen
e8 black rook
f8 white rook
g8 black bishop
h8 white bishop
a7 white knight
b7 black knight
c7 white pawn
d7 black pawn
e7 white cross
f7 black cross
g7 white circle
h7 black circle
a6 black archbishop
b6 white archbishop
c6 black chancellor
d6 white chancellor
e6 black upside-down king
f6 white upside-down king
g6 black upside-down queen
h6 white upside-down queen
a5 white upside-down rook
b5 black upside-down rook
c5 white elephant
d5 black elephant
e5 white upside-down knight
f5 black boat
g5 white upside-down pawn
h5 black upside-down pawn
a4 black champion
b4 white champion
c4 black wizard
d4 white wizard
e4 black fool
f4 white fool
g4 zero
h4 nine
a3 one
b3 two
c3 three
d3 four
e3 five
f3 six
g3 seven
h3 eight
a2 up-down arrow
b2 up arrow
c2 up-right arrow
d2 left arrow
e2 left-right arrow
f2 up-left arrow
g2 right arrow
h2 down-left arrow
a1 down arrow
b1 down-right arrow
8
77
66
55
44
33
22
11
abcdefgh