틀:체스판/설명문서: 두 판 사이의 차이

편집 요약 없음
(맙소사 한국어판에서 가져왔는데 번역이 안 되어 있다니)
1번째 줄: 1번째 줄:
{{퍼온문서|틀:체스판|10740784}}
{{퍼온문서|틀:체스판|10740784}}
이 틀의 사용법은 다음과 같습니다.
<pre>
{{체스판
| <alignment> (param #1)
| <header>    (#2)
| <a8> | <b8> | ... | <h8>  (#3 to ...
| <a7> | <b7> | ... | <h7>
...
| <a1> | <b1> | ... | <h1>  ( ... #66)
| <footer> (#67)
}}
</pre>
Parameters:
* <code><alignment></code> – defines horizontal alignment (floating) of the whole table, must be <code>tright</code> or <code>tleft</code> (or nothing)
* <code><header></code> – the text which appears above the diagram, may be empty;
* <code><a8>, <b8>, ... <nowiki><h1></nowiki></code> – define corresponding squares of the chessboard, see below;
* <code><footer></code> – 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:
* [[Image:Chess kll45.svg|26px]] [[Image:Chess kld45.svg|26px]] [[Image:Chess kdl45.svg|26px]] [[Image:Chess kdd45.svg|26px]] k = 킹
* [[Image:Chess qld45.svg|26px]] [[Image:Chess qll45.svg|26px]] [[Image:Chess qdd45.svg|26px]] [[Image:Chess qdl45.svg|26px]] q = 퀸
* [[Image:Chess rll45.svg|26px]] [[Image:Chess rld45.svg|26px]] [[Image:Chess rdl45.svg|26px]] [[Image:Chess rdd45.svg|26px]] r = 룩
* [[Image:Chess bld45.svg|26px]] [[Image:Chess bll45.svg|26px]] [[Image:Chess bdd45.svg|26px]] [[Image:Chess bdl45.svg|26px]] b = 비숍
* [[Image:Chess nll45.svg|26px]] [[Image:Chess nld45.svg|26px]] [[Image:Chess ndl45.svg|26px]] [[Image:Chess ndd45.svg|26px]] n = 나이트
* [[Image:Chess pld45.svg|26px]] [[Image:Chess pll45.svg|26px]] [[Image:Chess pdd45.svg|26px]] [[Image:Chess pdl45.svg|26px]] p = 폰
There are also some [[w:fairy chess piece|fairy chess piece]]s available:
* [[Image:Chess all45.svg|26px]] [[Image:Chess ald45.svg|26px]] [[Image:Chess adl45.svg|26px]] [[Image:Chess add45.svg|26px]] a = archbishop (knight + bishop compound)
* [[Image:Chess cld45.svg|26px]] [[Image:Chess cll45.svg|26px]] [[Image:Chess cdd45.svg|26px]] [[Image:Chess cdl45.svg|26px]] c = chancelor (knight + rook compound)
* [[Image:Chess fll45.svg|26px]] [[Image:Chess fld45.svg|26px]] [[Image:Chess fdl45.svg|26px]] [[Image:Chess fdd45.svg|26px]] f = upside-down king
* [[Image:Chess gld45.svg|26px]] [[Image:Chess gll45.svg|26px]] [[Image:Chess gdd45.svg|26px]] [[Image:Chess gdl45.svg|26px]] g = upside-down queen
* [[Image:Chess mll45.svg|26px]] [[Image:Chess mld45.svg|26px]] [[Image:Chess mdl45.svg|26px]] [[Image:Chess mdd45.svg|26px]] m = upside-down rook
* [[Image:Chess eld45.svg|26px]] [[Image:Chess ell45.svg|26px]] [[Image:Chess edd45.svg|26px]] [[Image:Chess edl45.svg|26px]] e = upside-down bishop
* [[Image:Chess sll45.svg|26px]] [[Image:Chess sld45.svg|26px]] [[Image:Chess sdl45.svg|26px]] [[Image:Chess sdd45.svg|26px]] s = upside-down knight
* [[Image:Chess hld45.svg|26px]] [[Image:Chess hll45.svg|26px]] [[Image:Chess hdd45.svg|26px]] [[Image:Chess hdl45.svg|26px]] h = upside-down pawn
* [[Image:Chess zll45.svg|26px]] [[Image:Chess zld45.svg|26px]] [[Image:Chess zdl45.svg|26px]] [[Image:Chess zdd45.svg|26px]] z = champion (for Omega Chess)
* [[Image:Chess wld45.svg|26px]] [[Image:Chess wll45.svg|26px]] [[Image:Chess wdd45.svg|26px]] [[Image:Chess wdl45.svg|26px]] w = wizard (for Omega Chess)
* [[Image:Chess tld45.svg|26px]] [[Image:Chess tll45.svg|26px]] [[Image:Chess tdd45.svg|26px]] [[Image:Chess tdl45.svg|26px]] 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.
* [[Image:Chess d45.svg|26px]][[Image:Chess l45.svg|26px]] <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.
* [[Image:Chess xxd45.svg|26px]][[Image:Chess xxl45.svg|26px]] xx = black cross/x
* [[Image:Chess oxd45.svg|26px]][[Image:Chess oxl45.svg|26px]] ox = white cross/x
* [[Image:Chess xod45.svg|26px]][[Image:Chess xol45.svg|26px]] xo = black circle
* [[Image:Chess ood45.svg|26px]][[Image:Chess ool45.svg|26px]] oo = white circle
숫자를 넣으려면 x뒤에 숫자 (0~9만 가능)을 넣습니다.
* [[Image:Chess x0d45.svg|26px]][[Image:Chess x0l45.svg|26px]] x0
* [[Image:Chess x1d45.svg|26px]][[Image:Chess x1l45.svg|26px]] x1
* [[Image:Chess x2d45.svg|26px]][[Image:Chess x2l45.svg|26px]] x2
* [[Image:Chess x3d45.svg|26px]][[Image:Chess x3l45.svg|26px]] x3
* [[Image:Chess x4d45.svg|26px]][[Image:Chess x4l45.svg|26px]] x4
* [[Image:Chess x5d45.svg|26px]][[Image:Chess x5l45.svg|26px]] x5
* [[Image:Chess x6d45.svg|26px]][[Image:Chess x6l45.svg|26px]] x6
* [[Image:Chess x7d45.svg|26px]][[Image:Chess x7l45.svg|26px]] x7
* [[Image:Chess x8d45.svg|26px]][[Image:Chess x8l45.svg|26px]] x8
* [[Image:Chess x9d45.svg|26px]][[Image:Chess x9l45.svg|26px]] x9
<includeonly>
<!-- 여기에 분류를 넣어주세요. -->
[[분류:체스판]]
</includeonly>

2015년 5월 9일 (토) 21:43 판

Wikipedia-ico-48px.png
이 틀 문서는 한국어 위키백과틀:체스판 문서 10740784판에서 분기하였습니다.

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

{{체스판
| <alignment> (param #1)
| <header>    (#2) 
| <a8> | <b8> | ... | <h8>  (#3 to ...
| <a7> | <b7> | ... | <h7>
...
| <a1> | <b1> | ... | <h1>  ( ... #66)
| <footer> (#67)
}}

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 = 킹
  • Chess qld45.svg Chess qll45.svg Chess qdd45.svg Chess qdl45.svg q = 퀸
  • Chess rll45.svg Chess rld45.svg Chess rdl45.svg Chess rdd45.svg r = 룩
  • Chess bld45.svg Chess bll45.svg Chess bdd45.svg Chess bdl45.svg b = 비숍
  • Chess nll45.svg Chess nld45.svg Chess ndl45.svg Chess ndd45.svg n = 나이트
  • Chess pld45.svg Chess pll45.svg Chess pdd45.svg Chess pdl45.svg p = 폰

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