틀:체스판/설명문서
< 틀:체스판
| 이 문서는 틀:체스판에 대한 설명입니다. 여기에는 틀 사용법, 분류 등 원래의 틀 문서에는 포함되지 않는 내용을 담고 있습니다. |
| 루아 사용: |
기능[원본 편집]
- 틀:체스판 (스퀘어 사이즈 size 26x26 px)
- 틀:작은 체스판 (스퀘어 사이즈 size 22x22 px)
- 틀:체스판 4x4 (스퀘어 사이즈 size 26x26 px)
- 틀:체스판 4x5 (스퀘어 사이즈 size 26x26 px)
- 틀:체스판 5x5 (스퀘어 사이즈 size 26x26 px)
- 틀:체스판 5x6 (스퀘어 사이즈 size 26x26 px)
- 틀:체스판 6x6 (스퀘어 사이즈 size 26x26 px)
- 틀:체스판 8x10 (카파블랑카 체스 스퀘어 사이즈 size 26x26 px)
- 틀:체스판 8x12 (스퀘어 사이즈 size 26x26 px)
- 틀:체스판 9x9 (스퀘어 사이즈 size 26x26 px)
- 틀:체스판 10x10 (스퀘어 사이즈 size 26x26 px)
변형 체스를 위한 다른 판도 있습니다.
- 틀:버그하우스 체스판 (two standard boards side-by-side for four players in Bughouse chess)
이 틀의 사용법은 다음과 같습니다.
- 8 퀸 문제 문서에서 사용된 예시
| 입력 | 출력 | |
|---|---|---|
{{체스판|=
| tright
| 해 중 하나.
|=
| | | |ql| | | | |=
| | | | | | |ql| |=
| | |ql| | | | | |=
| | | | | | | |ql|=
| |ql| | | | | | |=
| | | | |ql| | | |=
|ql| | | | | | | |=
| | | | | |ql| | |=
|
}}
|
ㆍㆍㆍ▶ |
|
Parameters:
<alignment>– defines horizontal alignment (floating) of the whole table, must betrightortleft(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:
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.
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.
숫자를 넣으려면 x뒤에 숫자 (0~9만 가능)을 넣습니다.