:체스판/설명문서


기능 편집

변형 체스를 위한 다른 판도 있습니다.


이 틀의 사용법은 다음과 같습니다.

8 퀸 문제 문서에서 사용된 예시
입력 출력
{{체스판|=
| tright
| 해 중 하나.
|= 
| | | |ql| | | | |=
| | | | | | |ql| |=
| | |ql| | | | | |=
| | | | | | | |ql|=
| |ql| | | | | | |=
| | | | |ql| | | |=
|ql| | | | | | | |=
| | | | | |ql| | |=
|
}}
 ㆍㆍㆍ▶
해 중 하나.
abcdefgh
8
d8 white queen
g7 white queen
c6 white queen
h5 white queen
b4 white queen
e3 white queen
a2 white queen
f1 white queen
8
77
66
55
44
33
22
11
abcdefgh

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;
  • <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

There are also some fairy chess pieces available:

  • a = archbishop (knight + bishop compound)
  • c = chancelor (knight + rook compound)
  • f = upside-down king
  • g = upside-down queen
  • m = upside-down rook
  • e = upside-down bishop
  • s = upside-down knight
  • h = upside-down pawn
  • z = champion (for Omega Chess)
  • w = wizard (for Omega Chess)
  • t = fool (for Omega Chess)

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

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

숫자를 넣으려면 x뒤에 숫자 (0~9만 가능)을 넣습니다.

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