跳转到内容

模板:Chess diagram/testcases

维基百科,自由的百科全书

测试 1

沙盒
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
当前
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

测试 2 (with caption)

沙盒
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
当前
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

测试 3 (with title and caption)

沙盒
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
当前
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

测试 4 (Title, Caption, Reverse)

沙盒
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
当前
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

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

沙盒
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
当前
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

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

沙盒
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
当前
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

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

沙盒
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
当前
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

测试 5d (Title, Caption, numbers = none, letters = none)

沙盒
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
当前
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

测试 6a (Title, Caption, size = 22px)

沙盒
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
当前
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

测试 6b (Title, Caption, size = 50px)

沙盒
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
当前
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

测试 7 (FEN input)

沙盒
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}}

Template:Chess diagram-fen

测试 8(标志)

沙盒
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
当前
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

测试 9(箭头)

沙盒
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
当前
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

测试 10(全部)

沙盒
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
当前
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