틀:체스판/설명문서

큰숲백과, 나무를 보지 말고 큰 숲을 보라.
Information.svg 이 문서는 틀:체스판에 대한 설명입니다.
여기에는 틀 사용법, 분류 등 원래의 틀 문서에는 포함되지 않는 내용을 담고 있습니다.
이 틀 문서는 위키백과틀:체스판/설명문서 문서를 원출처로 합니다. Wikipedia-ico-48px.png


기능[원본 편집]

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


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

8 퀸 문제 문서에서 사용된 예시
입력 출력
{{체스판|=
| tright
| 해 중 하나.
|= 
|  |  |  |ql|  |  |  |  |=
|  |  |  |  |  |  |ql|  |=
|  |  |ql|  |  |  |  |  |=
|  |  |  |  |  |  |  |ql|=
|  |ql|  |  |  |  |  |  |=
|  |  |  |  |ql|  |  |  |=
|ql|  |  |  |  |  |  |  |=
|  |  |  |  |  |ql|  |  |=
|
}}
 ㆍㆍㆍ▶
해 중 하나.
abcdefgh
8a8b8c8d8 white queene8f8g8h88
7a7b7c7d7e7f7g7 white queenh77
6a6b6c6 white queend6e6f6g6h66
5a5b5c5d5e5f5g5h5 white queen5
4a4b4 white queenc4d4e4f4g4h44
3a3b3c3d3e3 white queenf3g3h33
2a2 white queenb2c2d2e2f2g2h22
1a1b1c1d1e1f1 white queeng1h11
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:

  • Chess kll45.svg Chess kld45.svg Chess kdl45.svg Chess kdd45.svg k = king
  • Chess qld45.svg Chess qll45.svg Chess qdd45.svg Chess qdl45.svg q = queen
  • Chess rll45.svg Chess rld45.svg Chess rdl45.svg Chess rdd45.svg r = rook
  • Chess bld45.svg Chess bll45.svg Chess bdd45.svg Chess bdl45.svg b = bishop
  • Chess nll45.svg Chess nld45.svg Chess ndl45.svg Chess ndd45.svg n = knight
  • Chess pld45.svg Chess pll45.svg Chess pdd45.svg Chess pdl45.svg p = pawn

There are also some fairy chess pieces available:

  • Chess all45.svg Chess ald45.svg Chess adl45.svg Chess add45.svg a = archbishop (knight + bishop compound)
  • Chess cld45.svg Chess cll45.svg Chess cdd45.svg Chess cdl45.svg c = chancelor (knight + rook compound)
  • Chess fll45.svg Chess fld45.svg Chess fdl45.svg Chess fdd45.svg f = upside-down king
  • Chess gld45.svg Chess gll45.svg Chess gdd45.svg Chess gdl45.svg g = upside-down queen
  • Chess mll45.svg Chess mld45.svg Chess mdl45.svg Chess mdd45.svg m = upside-down rook
  • Chess eld45.svg Chess ell45.svg Chess edd45.svg Chess edl45.svg e = upside-down bishop
  • Chess sll45.svg Chess sld45.svg Chess sdl45.svg Chess sdd45.svg s = upside-down knight
  • Chess hld45.svg Chess hll45.svg Chess hdd45.svg Chess hdl45.svg h = upside-down pawn
  • Chess zll45.svg Chess zld45.svg Chess zdl45.svg Chess zdd45.svg z = champion (for Omega Chess)
  • Chess wld45.svg Chess wll45.svg Chess wdd45.svg Chess wdl45.svg w = wizard (for Omega Chess)
  • Chess tld45.svg Chess tll45.svg Chess tdd45.svg Chess tdl45.svg 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.

  • Chess d45.svgChess l45.svg <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.

  • Chess xxd45.svgChess xxl45.svg xx = black cross/x
  • Chess oxd45.svgChess oxl45.svg ox = white cross/x
  • Chess xod45.svgChess xol45.svg xo = black circle
  • Chess ood45.svgChess ool45.svg oo = white circle

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

  • Chess x0d45.svgChess x0l45.svg x0
  • Chess x1d45.svgChess x1l45.svg x1
  • Chess x2d45.svgChess x2l45.svg x2
  • Chess x3d45.svgChess x3l45.svg x3
  • Chess x4d45.svgChess x4l45.svg x4
  • Chess x5d45.svgChess x5l45.svg x5
  • Chess x6d45.svgChess x6l45.svg x6
  • Chess x7d45.svgChess x7l45.svg x7
  • Chess x8d45.svgChess x8l45.svg x8
  • Chess x9d45.svgChess x9l45.svg x9